MediaWiki
1.34.0
|
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. More... | |
setLogger (LoggerInterface $logger) | |
setManager (AuthManager $manager) | |
Set AuthManager. More... | |
Public Member Functions inherited from MediaWiki\Auth\AuthenticationProvider | |
getAuthenticationRequests ( $action, array $options) | |
Return the applicable list of AuthenticationRequests. More... | |
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\ThrottlePreAuthenticationProvider, MediaWiki\Auth\CheckBlocksSecondaryAuthenticationProvider, and MediaWiki\Auth\EmailNotificationSecondaryAuthenticationProvider.
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\EmailNotificationSecondaryAuthenticationProvider\setConfig(), MediaWiki\Auth\AbstractAuthenticationProvider\setConfig(), MediaWiki\Auth\CheckBlocksSecondaryAuthenticationProvider\setConfig(), MediaWiki\Auth\ThrottlePreAuthenticationProvider\setConfig(), and MediaWiki\Auth\TemporaryPasswordPrimaryAuthenticationProvider\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().