trait ThrottlesLogins (View source)
bool | hasTooManyLoginAttempts(Request $request) Determine if the user has too many failed login attempts. | |
void | incrementLoginAttempts(Request $request) Increment the login attempts for the user. | |
void | sendLockoutResponse(Request $request) Redirect the user after determining they are locked out. | |
void | clearLoginAttempts(Request $request) Clear the login locks for the given user credentials. | |
void | fireLockoutEvent(Request $request) Fire an event when a lockout occurs. | |
string | throttleKey(Request $request) Get the throttle key for the given request. | |
RateLimiter | limiter() Get the rate limiter instance. | |
int | maxAttempts() Get the maximum number of attempts to allow. | |
int | decayMinutes() Get the number of minutes to throttle for. |
Determine if the user has too many failed login attempts.
Increment the login attempts for the user.
Redirect the user after determining they are locked out.
Clear the login locks for the given user credentials.
Fire an event when a lockout occurs.
Get the throttle key for the given request.
Get the rate limiter instance.
Get the maximum number of attempts to allow.
Get the number of minutes to throttle for.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.8/Illuminate/Foundation/Auth/ThrottlesLogins.html