Adldap\Auth\GuardInterface::attempt PHP Méthode

attempt() public méthode

Authenticates a user using the specified credentials.
public attempt ( string $username, string $password, boolean $bindAsUser = false ) : boolean
$username string The users AD username.
$password string The users AD password.
$bindAsUser boolean Whether or not to bind as the user.
Résultat boolean
    public function attempt($username, $password, $bindAsUser = false);