MediaWiki  master
AuthenticationProvider.php
Go to the documentation of this file.
1 <?php
24 namespace MediaWiki\Auth;
25 
26 use Config;
28 use Psr\Log\LoggerAwareInterface;
29 
40 interface AuthenticationProvider extends LoggerAwareInterface {
41 
46  public function setManager( AuthManager $manager );
47 
52  public function setConfig( Config $config );
53 
58  public function setHookContainer( HookContainer $hookContainer );
59 
68  public function getUniqueId();
69 
103  public function getAuthenticationRequests( $action, array $options );
104 
105 }
MediaWiki\Auth\AuthenticationProvider\getUniqueId
getUniqueId()
Return a unique identifier for this instance.
MediaWiki\Auth\AuthenticationProvider\setConfig
setConfig(Config $config)
Set configuration.
Config
Interface for configuration instances.
Definition: Config.php:30
MediaWiki\Auth\AuthenticationProvider\getAuthenticationRequests
getAuthenticationRequests( $action, array $options)
Return the applicable list of AuthenticationRequests.
MediaWiki\Auth\AuthenticationProvider\setManager
setManager(AuthManager $manager)
Set AuthManager.
MediaWiki\Auth\AuthManager
This serves as the entry point to the authentication system.
Definition: AuthManager.php:88
MediaWiki\$action
string $action
Cache what action this request is.
Definition: MediaWiki.php:45
MediaWiki\$config
Config $config
Definition: MediaWiki.php:42
MediaWiki\HookContainer\HookContainer
HookContainer class.
Definition: HookContainer.php:45
MediaWiki\Auth
Definition: AbstractAuthenticationProvider.php:22
MediaWiki\Auth\AuthenticationProvider\setHookContainer
setHookContainer(HookContainer $hookContainer)
Set the HookContainer.
MediaWiki\Auth\AuthenticationProvider
An AuthenticationProvider is used by AuthManager when authenticating users.
Definition: AuthenticationProvider.php:40