AuthenticatesUsers
trait AuthenticatesUsers (View source)
Traits
RedirectsUsers |
Methods
string | redirectPath() Get the post register / login redirect path. | from RedirectsUsers |
Response | getLogin() Show the application login form. | |
Response | postLogin(Request $request) Handle a login request to the application. | |
Response | handleUserWasAuthenticated(Request $request, bool $throttles) Send the response after the user was authenticated. | |
array | getCredentials(Request $request) Get the needed authorization credentials from the request. | |
string | getFailedLoginMessage() Get the failed login message. | |
Response | getLogout() Log the user out of the application. | |
string | loginPath() Get the path to the login route. | |
string | loginUsername() Get the login username to be used by the controller. | |
bool | isUsingThrottlesLoginsTrait() Determine if the class is using the ThrottlesLogins trait. |
Details
string redirectPath()
Get the post register / login redirect path.
Response getLogin()
Show the application login form.
protected Response handleUserWasAuthenticated(Request $request, bool $throttles)
Send the response after the user was authenticated.
protected array getCredentials(Request $request)
Get the needed authorization credentials from the request.
protected string getFailedLoginMessage()
Get the failed login message.
Response getLogout()
Log the user out of the application.
string loginPath()
Get the path to the login route.
string loginUsername()
Get the login username to be used by the controller.
protected bool isUsingThrottlesLoginsTrait()
Determine if the class is using the ThrottlesLogins trait.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.1/Illuminate/Foundation/Auth/AuthenticatesUsers.html