RedirectIfTwoFactorAuthenticatable
class RedirectIfTwoFactorAuthenticatable implements RedirectsIfTwoFactorAuthenticatable
Traits
Methods
void
dispatchIfListening(string $eventClass, Closure $event)
Dispatch the given event if listeners are registered.
from
DispatchesEvents
provider()
Get the current guard's user provider.
never
throwFailedAuthenticationException(Request $request)
Throw a failed authentication validation exception.
void
fireFailedEvent(Request $request, Authenticatable|null $user = null)
Fire the failed authentication attempt event with the given arguments.
Response
twoFactorChallengeResponse(Request $request, Authenticatable&Model $user)
Get the two factor authentication enabled response.
Details
in
DispatchesEvents at line 16
protected void
dispatchIfListening(string $eventClass, Closure $event)
Dispatch the given event if listeners are registered.
at line 28
__construct(LoginRateLimiter $limiter, Repository $config)
No description
at line 66
protected Authenticatable&Model
validateCredentials(Request $request)
Attempt to validate the incoming credentials.
at line 102
protected UserProvider
provider()
Get the current guard's user provider.
at line 124
protected never
throwFailedAuthenticationException(Request $request)
Throw a failed authentication validation exception.
at line 136
protected void
fireFailedEvent(Request $request, Authenticatable|null $user = null)
Fire the failed authentication attempt event with the given arguments.
at line 150
protected Response
twoFactorChallengeResponse(Request $request, Authenticatable&Model $user)
Get the two factor authentication enabled response.