LoginRateLimiter
class LoginRateLimiter
Methods
bool
int
Details
at line 16
__construct(RateLimiter $limiter)
Create a new login rate limiter instance.
at line 24
int
attempts(Request $request)
Get the number of attempts for the given key.
at line 32
bool
tooManyAttempts(Request $request)
Determine if the user has too many failed login attempts.
at line 40
void
increment(Request $request)
Increment the login attempts for the user.
at line 48
int
availableIn(Request $request)
Determine the number of seconds until logging in is available again.
at line 56
void
clear(Request $request)
Clear the login locks for the given user credentials.