MediaWiki REL1_35
|
A base class that implements some of the boilerplate for an AuthenticationProvider Stable to extend. 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) | |
Stable to override. | |
setHookContainer (HookContainer $hookContainer) | |
Set the HookContainer. | |
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 Member Functions | |
getHookContainer () | |
getHookRunner () | |
Protected Attributes | |
Config | $config |
LoggerInterface | $logger |
AuthManager | $manager |
Private Attributes | |
HookContainer | $hookContainer |
HookRunner | $hookRunner |
A base class that implements some of the boilerplate for an AuthenticationProvider Stable to extend.
Definition at line 35 of file AbstractAuthenticationProvider.php.
|
protected |
|
protected |
Definition at line 90 of file AbstractAuthenticationProvider.php.
Referenced by MediaWiki\Auth\AbstractPasswordPrimaryAuthenticationProvider\getNewPasswordExpiry(), MediaWiki\Auth\TemporaryPasswordPrimaryAuthenticationProvider\sendNewAccountEmail(), and MediaWiki\Auth\ThrottlePreAuthenticationProvider\testForAccountCreation().
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 72 of file AbstractAuthenticationProvider.php.
MediaWiki\Auth\AbstractAuthenticationProvider::setConfig | ( | Config | $config | ) |
Stable to override.
Config | $config |
Implements MediaWiki\Auth\AuthenticationProvider.
Reimplemented in MediaWiki\Auth\CheckBlocksSecondaryAuthenticationProvider, MediaWiki\Auth\EmailNotificationSecondaryAuthenticationProvider, and MediaWiki\Auth\ThrottlePreAuthenticationProvider.
Definition at line 59 of file AbstractAuthenticationProvider.php.
References MediaWiki\Auth\AbstractAuthenticationProvider\$config.
MediaWiki\Auth\AbstractAuthenticationProvider::setHookContainer | ( | HookContainer | $hookContainer | ) |
Set the HookContainer.
HookContainer | $hookContainer |
Implements MediaWiki\Auth\AuthenticationProvider.
Definition at line 63 of file AbstractAuthenticationProvider.php.
References MediaWiki\Auth\AbstractAuthenticationProvider\$hookContainer.
MediaWiki\Auth\AbstractAuthenticationProvider::setLogger | ( | LoggerInterface | $logger | ) |
Definition at line 47 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 51 of file AbstractAuthenticationProvider.php.
References MediaWiki\Auth\AbstractAuthenticationProvider\$manager.
|
protected |
Definition at line 41 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().
|
private |
Definition at line 43 of file AbstractAuthenticationProvider.php.
Referenced by MediaWiki\Auth\AbstractAuthenticationProvider\setHookContainer().
|
private |
Definition at line 45 of file AbstractAuthenticationProvider.php.
|
protected |
Definition at line 37 of file AbstractAuthenticationProvider.php.
Referenced by MediaWiki\Auth\AbstractAuthenticationProvider\setLogger().
|
protected |
Definition at line 39 of file AbstractAuthenticationProvider.php.
Referenced by MediaWiki\Auth\AbstractAuthenticationProvider\setManager().