MediaWiki master
|
Inherits MediaWiki\Rest\BasicAccess\BasicAuthorizerInterface.
Public Member Functions | |
__construct (array $authorizers=[]) | |
addAuthorizer (BasicAuthorizerInterface $authorizer) | |
Adds a BasicAuthorizerInterface to the chain of authorizers. | |
authorize (RequestInterface $request, Handler $handler) | |
Checks all registered authorizers and returns the first encountered error. | |
Definition at line 14 of file CompoundAuthorizer.php.
MediaWiki\Rest\BasicAccess\CompoundAuthorizer::__construct | ( | array | $authorizers = [] | ) |
array | $authorizers |
Definition at line 22 of file CompoundAuthorizer.php.
MediaWiki\Rest\BasicAccess\CompoundAuthorizer::addAuthorizer | ( | BasicAuthorizerInterface | $authorizer | ) |
Adds a BasicAuthorizerInterface to the chain of authorizers.
BasicAuthorizerInterface | $authorizer |
Definition at line 31 of file CompoundAuthorizer.php.
MediaWiki\Rest\BasicAccess\CompoundAuthorizer::authorize | ( | RequestInterface | $request, |
Handler | $handler ) |
Checks all registered authorizers and returns the first encountered error.
RequestInterface | $request | |
Handler | $handler |
Implements MediaWiki\Rest\BasicAccess\BasicAuthorizerInterface.
Definition at line 42 of file CompoundAuthorizer.php.