MediaWiki  1.34.0
AuthenticationProvider.php
Go to the documentation of this file.
1 <?php
24 namespace MediaWiki\Auth;
25 
26 use Config;
27 use Psr\Log\LoggerAwareInterface;
28 
39 interface AuthenticationProvider extends LoggerAwareInterface {
40 
45  public function setManager( AuthManager $manager );
46 
51  public function setConfig( Config $config );
52 
61  public function getUniqueId();
62 
96  public function getAuthenticationRequests( $action, array $options );
97 
98 }
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:28
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:85
MediaWiki\$action
string $action
Cache what action this request is.
Definition: MediaWiki.php:48
MediaWiki\$config
Config $config
Definition: MediaWiki.php:43
MediaWiki\Auth
Definition: AbstractAuthenticationProvider.php:22
MediaWiki\Auth\AuthenticationProvider
An AuthenticationProvider is used by AuthManager when authenticating users.
Definition: AuthenticationProvider.php:39