MediaWiki REL1_34
|
A base class that implements some of the boilerplate for an AuthenticationProvider. More...
Public Member Functions | |
getUniqueId () | |
Return a unique identifier for this instance.This must be the same across requests. If multiple instances return the same ID, exceptions will be thrown from AuthManager.
| |
setConfig (Config $config) | |
Set configuration. | |
setLogger (LoggerInterface $logger) | |
setManager (AuthManager $manager) | |
Set AuthManager. | |
Public Member Functions inherited from MediaWiki\Auth\AuthenticationProvider | |
getAuthenticationRequests ( $action, array $options) | |
Return the applicable list of AuthenticationRequests. | |
Protected Attributes | |
Config | $config |
LoggerInterface | $logger |
AuthManager | $manager |
A base class that implements some of the boilerplate for an AuthenticationProvider.
Definition at line 32 of file AbstractAuthenticationProvider.php.
MediaWiki\Auth\AbstractAuthenticationProvider::getUniqueId | ( | ) |
Return a unique identifier for this instance.This must be the same across requests. If multiple instances return the same ID, exceptions will be thrown from AuthManager.
Implements MediaWiki\Auth\AuthenticationProvider.
Definition at line 56 of file AbstractAuthenticationProvider.php.
MediaWiki\Auth\AbstractAuthenticationProvider::setConfig | ( | Config | $config | ) |
Set configuration.
Config | $config |
Implements MediaWiki\Auth\AuthenticationProvider.
Reimplemented in MediaWiki\Auth\CheckBlocksSecondaryAuthenticationProvider, MediaWiki\Auth\EmailNotificationSecondaryAuthenticationProvider, and MediaWiki\Auth\ThrottlePreAuthenticationProvider.
Definition at line 48 of file AbstractAuthenticationProvider.php.
References MediaWiki\Auth\AbstractAuthenticationProvider\$config.
MediaWiki\Auth\AbstractAuthenticationProvider::setLogger | ( | LoggerInterface | $logger | ) |
Definition at line 40 of file AbstractAuthenticationProvider.php.
References MediaWiki\Auth\AbstractAuthenticationProvider\$logger.
MediaWiki\Auth\AbstractAuthenticationProvider::setManager | ( | AuthManager | $manager | ) |
Set AuthManager.
AuthManager | $manager |
Implements MediaWiki\Auth\AuthenticationProvider.
Definition at line 44 of file AbstractAuthenticationProvider.php.
References MediaWiki\Auth\AbstractAuthenticationProvider\$manager.
|
protected |
Definition at line 38 of file AbstractAuthenticationProvider.php.
Referenced by MediaWiki\Auth\TemporaryPasswordPrimaryAuthenticationProvider\setConfig(), MediaWiki\Auth\AbstractAuthenticationProvider\setConfig(), MediaWiki\Auth\CheckBlocksSecondaryAuthenticationProvider\setConfig(), MediaWiki\Auth\EmailNotificationSecondaryAuthenticationProvider\setConfig(), and MediaWiki\Auth\ThrottlePreAuthenticationProvider\setConfig().
|
protected |
Definition at line 34 of file AbstractAuthenticationProvider.php.
Referenced by MediaWiki\Auth\AbstractAuthenticationProvider\setLogger().
|
protected |
Definition at line 36 of file AbstractAuthenticationProvider.php.
Referenced by MediaWiki\Auth\AbstractAuthenticationProvider\setManager().