AuthenticatesUsers (Foundation\Auth)

AuthenticatesUsers

trait AuthenticatesUsers (View source)

Traits

RedirectsUsers
ThrottlesLogins

Methods

string redirectPath()

Get the post register / login redirect path.

from RedirectsUsers
Response showLoginForm()

Show the application's login form.

Response login(Request $request)

Handle a login request to the application.

string username()

Get the login username to be used by the controller.

Response logout(Request $request)

Log the user out of the application.

Details

string redirectPath()

Get the post register / login redirect path.

Return Value

string

Response showLoginForm()

Show the application's login form.

Return Value

Response

Response login(Request $request)

Handle a login request to the application.

Parameters

Request $request

Return Value

Response

string username()

Get the login username to be used by the controller.

Return Value

string

Response logout(Request $request)

Log the user out of 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.3/Illuminate/Foundation/Auth/AuthenticatesUsers.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部