AuthenticatesUsers (Foundation\Auth)
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 | showLoginForm() Show the application login form. | |
Response | postLogin( Request $request) Handle a login request to the application. | |
Response | login( Request $request) Handle a login request to the application. | |
Response | getLogout() Log the user out of the application. | |
Response | logout() Log the user out of the application. | |
guestMiddleware() Get the guest middleware for the application. | ||
string | loginUsername() Get the login username to be used by the controller. |
Details
string redirectPath()
Get the post register / login redirect path.
Response getLogin()
Show the application login form.
Response showLoginForm()
Show the application login form.
Response getLogout()
Log the user out of the application.
Response logout()
Log the user out of the application.
guestMiddleware()
Get the guest middleware for the application.
string loginUsername()
Get the login username to be used by the controller.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.2/Illuminate/Foundation/Auth/AuthenticatesUsers.html