LoginAttemptFailedEvent extends AbstractAuthenticationFailedEvent
FinalYes
Event fired after a login attempt failed.
Table of Contents
Methods
- __construct() : mixed
- getLoginData() : array<string|int, mixed>
- getRequest() : ServerRequestInterface
- getUser() : AbstractUserAuthentication
- Returns the user, who failed to authenticate successfully
- isBackendAttempt() : bool
- isFrontendAttempt() : bool
Methods
__construct()
public
__construct(AbstractUserAuthentication $user, ServerRequestInterface $request, array<string|int, mixed> $loginData) : mixed
Parameters
- $user : AbstractUserAuthentication
- $request : ServerRequestInterface
- $loginData : array<string|int, mixed>
getLoginData()
public
getLoginData() : array<string|int, mixed>
Return values
array<string|int, mixed>getRequest()
public
getRequest() : ServerRequestInterface
Return values
ServerRequestInterfacegetUser()
Returns the user, who failed to authenticate successfully
public
getUser() : AbstractUserAuthentication
Return values
AbstractUserAuthenticationisBackendAttempt()
public
isBackendAttempt() : bool
Return values
boolisFrontendAttempt()
public
isFrontendAttempt() : bool