PHP Class Nette\Security\SimpleAuthenticator

Inheritance: implements Nette\Security\IAuthenticator, use trait Nette\SmartObject
Afficher le fichier Open project: nette/security

Méthodes publiques

Méthode Description
__construct ( array $userlist, array $usersRoles = [] )
authenticate ( array $credentials ) : Nette\Security\IIdentity Performs an authentication against e.g. database.

Method Details

__construct() public méthode

public __construct ( array $userlist, array $usersRoles = [] )
$userlist array
$usersRoles array

authenticate() public méthode

and returns IIdentity on success or throws AuthenticationException
public authenticate ( array $credentials ) : Nette\Security\IIdentity
$credentials array
Résultat Nette\Security\IIdentity