W3cubDocs

/Laravel 5.4

AuthenticatesAndRegistersUsers

trait AuthenticatesAndRegistersUsers (View source)

Traits

AuthenticatesUsers
RegistersUsers
RedirectsUsers
RedirectsUsers

Methods

string redirectPath()

Get the post register / login redirect path.

from RedirectsUsers
Response getLogin()

Show the application login form.

from AuthenticatesUsers
Response showLoginForm()

Show the application login form.

from AuthenticatesUsers
Response postLogin(Request $request)

Handle a login request to the application.

from AuthenticatesUsers
Response login(Request $request)

Handle a login request to the application.

from AuthenticatesUsers
Response getLogout()

Log the user out of the application.

from AuthenticatesUsers
Response logout()

Log the user out of the application.

from AuthenticatesUsers
guestMiddleware()

Get the guest middleware for the application.

from AuthenticatesUsers
string loginUsername()

Get the login username to be used by the controller.

from AuthenticatesUsers
Response getRegister()

Show the application registration form.

from RegistersUsers
Response showRegistrationForm()

Show the application registration form.

from RegistersUsers
Response postRegister(Request $request)

Handle a registration request for the application.

from RegistersUsers
Response register(Request $request)

Handle a registration request for the application.

from RegistersUsers

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

© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.4/Illuminate/Foundation/Auth/AuthenticatesAndRegistersUsers.html