MediaWiki REL1_35
AuthenticationProvider.php
Go to the documentation of this file.
1<?php
24namespace MediaWiki\Auth;
25
26use Config;
28use Psr\Log\LoggerAwareInterface;
29
40interface 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}
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)
Set the HookContainer.
getAuthenticationRequests( $action, array $options)
Return the applicable list of AuthenticationRequests.
setManager(AuthManager $manager)
Set AuthManager.