MediaWiki REL1_34
AuthenticationProvider.php
Go to the documentation of this file.
1<?php
24namespace MediaWiki\Auth;
25
26use Config;
27use Psr\Log\LoggerAwareInterface;
28
39interface 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}
This serves as the entry point to the authentication system.
Interface for configuration instances.
Definition Config.php:28
An AuthenticationProvider is used by AuthManager when authenticating users.
getUniqueId()
Return a unique identifier for this instance.
setConfig(Config $config)
Set configuration.
getAuthenticationRequests( $action, array $options)
Return the applicable list of AuthenticationRequests.
setManager(AuthManager $manager)
Set AuthManager.