class AuthenticationException extends Exception

Class AuthenticationException

Constants

AUTHENTICATION_METHOD_AD

Methods

__construct(string $message = '', int $code = 0, Throwable $previous = null, string $type = null)

AuthenticationException constructor.

static void
bindToActiveDirectoryFailed(string $message, int $code = 0, Throwable $previous = null)

Bind to Active Directory failed

static void
connectionToActiveDirectoryFailed(string $message, int $code = 0, Throwable $previous = null)

Connection to Active Directory failed

string
isAuthenticationMethodActiveDirectory()

True, if authentication method is Active Directory

Details

at line 29
__construct(string $message = '', int $code = 0, Throwable $previous = null, string $type = null)

AuthenticationException constructor.

Parameters

string $message
int $code
Throwable $previous
string $type

Use authentication constants like AuthenticationException::AUTHENTICATION_METHOD_AD

at line 57
static void bindToActiveDirectoryFailed(string $message, int $code = 0, Throwable $previous = null)

Bind to Active Directory failed

Parameters

string $message
int $code
Throwable $previous

Return Value

void

Exceptions

AuthenticationException

at line 44
static void connectionToActiveDirectoryFailed(string $message, int $code = 0, Throwable $previous = null)

Connection to Active Directory failed

Parameters

string $message
int $code
Throwable $previous

Return Value

void

Exceptions

AuthenticationException

at line 66
string isAuthenticationMethodActiveDirectory()

True, if authentication method is Active Directory

Return Value

string