Toggle navigation
Hot Examples
RU
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Найти
Главная
Adldap
Auth
GuardInterface
attempt
Adldap\Auth\GuardInterface::attempt PHP Метод
Документация по интерфейсу GuardInterface
Показать файл
Открыть проект
attempt()
публичный
Метод
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.
Результат
boolean
public function attempt($username, $password, $bindAsUser = false);
GuardInterface
__construct
attempt
bind
bindAsAdministrator