MediaWiki REL1_33
MediaWiki\Auth\LegacyHookPreAuthenticationProvider Class Reference

A pre-authentication provider to call some legacy hooks. More...

Inheritance diagram for MediaWiki\Auth\LegacyHookPreAuthenticationProvider:
Collaboration diagram for MediaWiki\Auth\LegacyHookPreAuthenticationProvider:

Public Member Functions

 __construct ()
 
- Public Member Functions inherited from MediaWiki\Auth\AbstractPreAuthenticationProvider
 getAuthenticationRequests ( $action, array $options)
 Return the applicable list of AuthenticationRequests.
 
 postAccountCreation ( $user, $creator, AuthenticationResponse $response)
 Post-creation callback.
 
 postAccountLink ( $user, AuthenticationResponse $response)
 Post-link callback.
 
 postAuthentication ( $user, AuthenticationResponse $response)
 Post-login callback.
 
 testForAccountCreation ( $user, $creator, array $reqs)
 Determine whether an account creation may begin.
 
 testForAccountLink ( $user)
 Determine whether an account may linked to another authentication method.
 
 testForAuthentication (array $reqs)
 Determine whether an authentication may begin.
 
 testUserForCreation ( $user, $autocreate, array $options=[])
 Determine whether an account may be created.
 
- Public Member Functions inherited from MediaWiki\Auth\AbstractAuthenticationProvider
 getUniqueId ()
 @inheritDoc
 
 setConfig (Config $config)
 Set configuration.
 
 setLogger (LoggerInterface $logger)
 
 setManager (AuthManager $manager)
 Set AuthManager.
 

Additional Inherited Members

- Protected Attributes inherited from MediaWiki\Auth\AbstractAuthenticationProvider
Config $config
 
LoggerInterface $logger
 
AuthManager $manager
 

Detailed Description

A pre-authentication provider to call some legacy hooks.

Since
1.27
Deprecated
since 1.27

Definition at line 30 of file LegacyHookPreAuthenticationProvider.php.

Constructor & Destructor Documentation

◆ __construct()

MediaWiki\Auth\LegacyHookPreAuthenticationProvider::__construct ( )

Definition at line 31 of file LegacyHookPreAuthenticationProvider.php.

References wfDeprecated().


The documentation for this class was generated from the following file: