MediaWiki  master
AuthenticationProvider.php
Go to the documentation of this file.
1 <?php
24 namespace MediaWiki\Auth;
25 
26 use Config;
28 
40 
52  public function setManager( AuthManager $manager );
53 
65  public function setConfig( Config $config );
66 
77  public function setHookContainer( HookContainer $hookContainer );
78 
87  public function getUniqueId();
88 
122  public function getAuthenticationRequests( $action, array $options );
123 
124 }
This serves as the entry point to the authentication system.
Interface for configuration instances.
Definition: Config.php:30
An AuthenticationProvider is used by AuthManager when authenticating users.
getUniqueId()
Return a unique identifier for this instance.
setConfig(Config $config)
Set configuration.
setHookContainer(HookContainer $hookContainer)
getAuthenticationRequests( $action, array $options)
Return the applicable list of AuthenticationRequests.
setManager(AuthManager $manager)
Set AuthManager.