Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Adldap
Auth
GuardInterface
attempt
Adldap\Auth\GuardInterface::attempt PHP Method
GuardInterface Interface Documentation
Show file
Open project: adldap2/adldap2
attempt()
public
method
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.
return
boolean
public function attempt($username, $password, $bindAsUser = false);
GuardInterface
__construct
attempt
bind
bindAsAdministrator