ResetsPasswords (Foundation\Auth)

ResetsPasswords

trait ResetsPasswords (View source)

Traits

RedirectsUsers

Methods

string redirectPath()

Get the post register / login redirect path.

from RedirectsUsers
Factory|View showResetForm(Request $request, string|null $token = null)

Display the password reset view for the given token.

RedirectResponse reset(Request $request)

Reset the given user's password.

PasswordBroker broker()

Get the broker to be used during password reset.

Details

string redirectPath()

Get the post register / login redirect path.

Return Value

string

Factory|View showResetForm(Request $request, string|null $token = null)

Display the password reset view for the given token.

If no token is present, display the link request form.

Parameters

Request $request
string|null $token

Return Value

Factory|View

RedirectResponse reset(Request $request)

Reset the given user's password.

Parameters

Request $request

Return Value

RedirectResponse

PasswordBroker broker()

Get the broker to be used during password reset.

Return Value

PasswordBroker

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

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部