Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F2753795
MockOAuthBaseStringRequest.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
453 B
Referenced Files
None
Subscribers
None
MockOAuthBaseStringRequest.php
View Options
<?php
namespace
MediaWiki\Extension\OAuth\Tests\Lib
;
/**
* A very simple class that you can pass a base-string, and then have it returned again.
* Used for testing the signature-methods
*/
class
MockOAuthBaseStringRequest
{
private
$provided_base_string
;
public
$base_string
;
// legacy
public
function
__construct
(
$bs
)
{
$this
->
provided_base_string
=
$bs
;
}
public
function
get_signature_base_string
()
{
return
$this
->
provided_base_string
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Fri, Jul 3, 21:44 (15 h, 14 m)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
b6/c7/c37f48ebd9db93c2c8224ed73fd8
Default Alt Text
MockOAuthBaseStringRequest.php (453 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment