trait AuthenticatesUsers (View source)

Traits

Methods

string
redirectPath()

Get the post register / login redirect path.

getLogin()

Show the application login form.

showLoginForm()

Show the application login form.

postLogin( Request $request)

Handle a login request to the application.

login( Request $request)

Handle a login request to the application.

getLogout()

Log the user out of the application.

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.

Return Value

string

at line line 18
Response getLogin()

Show the application login form.

Return Value

Response

at line line 28
Response showLoginForm()

Show the application login form.

Return Value

Response

at line line 46
Response postLogin( Request $request)

Handle a login request to the application.

Parameters

Request $request

Return Value

Response

at line line 57
Response login( Request $request)

Handle a login request to the application.

Parameters

Request $request

Return Value

Response

at line line 164
Response getLogout()

Log the user out of the application.

Return Value

Response

at line line 174
Response logout()

Log the user out of the application.

Return Value

Response

at line line 184
guestMiddleware()

Get the guest middleware for the application.

at line line 196
string loginUsername()

Get the login username to be used by the controller.

Return Value

string