trait AuthenticatesUsers (View source)
RedirectsUsers | |
ThrottlesLogins |
string | redirectPath() Get the post register / login redirect path. | from RedirectsUsers |
bool | hasTooManyLoginAttempts(Request $request) Determine if the user has too many failed login attempts. | from ThrottlesLogins |
void | incrementLoginAttempts(Request $request) Increment the login attempts for the user. | from ThrottlesLogins |
void | sendLockoutResponse(Request $request) Redirect the user after determining they are locked out. | from ThrottlesLogins |
void | clearLoginAttempts(Request $request) Clear the login locks for the given user credentials. | from ThrottlesLogins |
void | fireLockoutEvent(Request $request) Fire an event when a lockout occurs. | from ThrottlesLogins |
string | throttleKey(Request $request) Get the throttle key for the given request. | from ThrottlesLogins |
RateLimiter | limiter() Get the rate limiter instance. | from ThrottlesLogins |
int | maxAttempts() Get the maximum number of attempts to allow. | from ThrottlesLogins |
int | decayMinutes() Get the number of minutes to throttle for. | from ThrottlesLogins |
Response | showLoginForm() Show the application's login form. | |
RedirectResponse|Response|JsonResponse | login(Request $request) Handle a login request to the application. | |
void | validateLogin(Request $request) Validate the user login request. | |
bool | attemptLogin(Request $request) Attempt to log the user into the application. | |
array | credentials(Request $request) Get the needed authorization credentials from the request. | |
Response | sendLoginResponse(Request $request) Send the response after the user was authenticated. | |
mixed | authenticated(Request $request, mixed $user) The user has been authenticated. | |
Response | sendFailedLoginResponse(Request $request) Get the failed login response instance. | |
string | username() Get the login username to be used by the controller. | |
Response | logout(Request $request) Log the user out of the application. | |
mixed | loggedOut(Request $request) The user has logged out of the application. | |
StatefulGuard | guard() Get the guard to be used during authentication. |
Get the post register / login redirect path.
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.
Show the application's login form.
Handle a login request to the application.
Validate the user login request.
Attempt to log the user into the application.
Get the needed authorization credentials from the request.
Send the response after the user was authenticated.
The user has been authenticated.
Get the failed login response instance.
Get the login username to be used by the controller.
The user has logged out of the application.
Get the guard to be used during authentication.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.8/Illuminate/Foundation/Auth/AuthenticatesUsers.html