Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F7405202
FakeModuleAuthenticationRequest.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
500 B
Referenced Files
None
Subscribers
None
FakeModuleAuthenticationRequest.php
View Options
<?php
namespace
MediaWiki\Extension\OATHAuth\Tests\Integration\Auth
;
use
MediaWiki\Auth\AuthenticationRequest
;
class
FakeModuleAuthenticationRequest
extends
AuthenticationRequest
{
/**
* @param string $moduleName The module this request is for (as in IModule::getName).
* @param bool|null $pass Whether the user passed the check.
*/
public
function
__construct
(
public
string
$moduleName
,
public
?
bool
$pass
=
null
)
{
}
/** @inheritDoc */
public
function
getFieldInfo
()
{
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sat, Nov 21, 19:43 (1 d, 4 h)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
a6/44/f2a90d8dd3d9f34dbb79a303411e
Default Alt Text
FakeModuleAuthenticationRequest.php (500 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment