Page MenuHomeWickedGov Phorge

FakeModuleAuthenticationRequest.php
No OneTemporary

Size
500 B
Referenced Files
None
Subscribers
None

FakeModuleAuthenticationRequest.php

<?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

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)

Event Timeline