DefaultAuthenticationManager Class Reference

Detailed Description

DefaultAuthenticationManager uses PrincipalFactory to get a User instance that matches the given login/password combination.

Author
ingo herwig ingo@.nosp@m.wemo.nosp@m.ve.co.nosp@m.m

Definition at line 24 of file DefaultAuthenticationManager.php.

+ Inheritance diagram for DefaultAuthenticationManager:

Public Member Functions

 __construct (PrincipalFactory $principalFactory)
 
 login ($credentials)
 

Constructor & Destructor Documentation

◆ __construct()

__construct ( PrincipalFactory  $principalFactory)

Constructor.

Parameters
$principalFactoryPrincipalFactory instance

Definition at line 32 of file DefaultAuthenticationManager.php.

Member Function Documentation

◆ login()

login (   $credentials)
See also
AuthenticationManager::login()
Parameters
$credentialsAssociative array with the keys 'login' and 'password'

Implements AuthenticationManager.

Definition at line 41 of file DefaultAuthenticationManager.php.