trait AuthenticatesAndRegistersUsers (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.

getRegister()

Show the application registration form.

showRegistrationForm()

Show the application registration form.

postRegister( Request $request)

Handle a registration request for the application.

register( Request $request)

Handle a registration request for the application.

Details

string redirectPath()

Get the post register / login redirect path.

Return Value

string

Response getLogin()

Show the application login form.

Return Value

Response

Response showLoginForm()

Show the application login form.

Return Value

Response

Response postLogin( Request $request)

Handle a login request to the application.

Parameters

Request $request

Return Value

Response

Response login( Request $request)

Handle a login request to the application.

Parameters

Request $request

Return Value

Response

Response getLogout()

Log the user out of the application.

Return Value

Response

Response logout()

Log the user out of the application.

Return Value

Response

guestMiddleware()

Get the guest middleware for the application.

string loginUsername()

Get the login username to be used by the controller.

Return Value

string

Response getRegister()

Show the application registration form.

Return Value

Response

Response showRegistrationForm()

Show the application registration form.

Return Value

Response

Response postRegister( Request $request)

Handle a registration request for the application.

Parameters

Request $request

Return Value

Response

Response register( Request $request)

Handle a registration request for the application.

Parameters

Request $request

Return Value

Response