DefaultAuthenticationManager Class Reference
Detailed Description
DefaultAuthenticationManager uses PrincipalFactory to get a User instance that matches the given login/password combination.
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
-
$principalFactory PrincipalFactory instance
Definition at line 32 of file DefaultAuthenticationManager.php.
Member Function Documentation
◆ login()
login | ( | $credentials | ) |
- See also
- AuthenticationManager::login()
- Parameters
-
$credentials Associative array with the keys 'login' and 'password'
Implements AuthenticationManager.
Definition at line 41 of file DefaultAuthenticationManager.php.