interface UserCheckerInterface

Implement to throw AccountStatusException during the authentication process.

Can be used when you want to check the account status, e.g when the account is disabled or blocked. This should not be used to make authentication decisions.

Methods

void
checkPreAuth(UserInterface$user)

Checks the user account before authentication.

void
checkPostAuth(UserInterface$user)

Checks the user account after authentication.

Details

void checkPreAuth(UserInterface$user)

Checks the user account before authentication.

Parameters

UserInterface $user

Return Value

void

Exceptions

AccountStatusException

void checkPostAuth(UserInterface$user)

Checks the user account after authentication.

Parameters

UserInterface $user

Return Value

void

Exceptions

AccountStatusException