final class AuthenticationFailure extends RuntimeException (View source)

Constants

SERVER_DENIED

ALLOW_DENIED

ROOT_DENIED

EMPTY_DENIED

NO_ACTIVITY

Methods

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

No description

deniedByDatabaseServer()

Database server denied user login

deniedByAllowDenyRules()

User denied by allow/deny rules

rootDeniedByConfiguration()

User 'root' is denied in configuration

emptyPasswordDeniedByConfiguration()

Empty password is denied

loggedOutDueToInactivity()

Automatically logged out due to inactivity

Details

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

No description

Parameters

string $failureType
string $message
int $code
Throwable|null $previous

static AuthenticationFailure deniedByDatabaseServer()

Database server denied user login

Return Value

AuthenticationFailure

static AuthenticationFailure deniedByAllowDenyRules()

User denied by allow/deny rules

Return Value

AuthenticationFailure

static AuthenticationFailure rootDeniedByConfiguration()

User 'root' is denied in configuration

Return Value

AuthenticationFailure

static AuthenticationFailure emptyPasswordDeniedByConfiguration()

Empty password is denied

Return Value

AuthenticationFailure

static AuthenticationFailure loggedOutDueToInactivity()

Automatically logged out due to inactivity

Return Value

AuthenticationFailure