Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F5985687
MWBasicAuthorizer.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
634 B
Referenced Files
None
Subscribers
None
MWBasicAuthorizer.php
View Options
<?php
namespace
MediaWiki\Rest\BasicAccess
;
use
MediaWiki\Permissions\Authority
;
use
MediaWiki\Rest\Handler
;
use
MediaWiki\Rest\RequestInterface
;
/**
* A factory for MWBasicRequestAuthorizer which passes through a UserIdentity.
*
* @internal
*/
class
MWBasicAuthorizer
extends
BasicAuthorizerBase
{
private
Authority
$authority
;
public
function
__construct
(
Authority
$authority
)
{
$this
->
authority
=
$authority
;
}
protected
function
createRequestAuthorizer
(
RequestInterface
$request
,
Handler
$handler
):
BasicRequestAuthorizer
{
return
new
MWBasicRequestAuthorizer
(
$request
,
$handler
,
$this
->
authority
);
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sat, Oct 3, 23:52 (2 w, 3 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
76/65/57fd58f7371c9c7ec3e3db647fc9
Default Alt Text
MWBasicAuthorizer.php (634 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment