MediaWiki master
|
A factory for MWBasicRequestAuthorizer which passes through a UserIdentity. More...
Inherits MediaWiki\Rest\BasicAccess\BasicAuthorizerBase.
Public Member Functions | |
__construct (Authority $authority) | |
Public Member Functions inherited from MediaWiki\Rest\BasicAccess\BasicAuthorizerBase | |
authorize (RequestInterface $request, Handler $handler) | |
Determine whether a request should be permitted, given the handler's needsReadAccess() and needsWriteAccess(). | |
Protected Member Functions | |
createRequestAuthorizer (RequestInterface $request, Handler $handler) | |
Create a BasicRequestAuthorizer to authorize the request. | |
A factory for MWBasicRequestAuthorizer which passes through a UserIdentity.
Definition at line 14 of file MWBasicAuthorizer.php.
MediaWiki\Rest\BasicAccess\MWBasicAuthorizer::__construct | ( | Authority | $authority | ) |
Definition at line 17 of file MWBasicAuthorizer.php.
|
protected |
Create a BasicRequestAuthorizer to authorize the request.
RequestInterface | $request | |
Handler | $handler |
Reimplemented from MediaWiki\Rest\BasicAccess\BasicAuthorizerBase.
Definition at line 21 of file MWBasicAuthorizer.php.