W3cubDocs

/Laravel 5.2

ResetsPasswords

trait ResetsPasswords (View source)

Traits

RedirectsUsers

Methods

string redirectPath()

Get the post register / login redirect path.

from RedirectsUsers
Response getEmail()

Display the form to request a password reset link.

Response showLinkRequestForm()

Display the form to request a password reset link.

Response postEmail( Request $request)

Send a reset link to the given user.

Response sendResetLinkEmail( Request $request)

Send a reset link to the given user.

Response getReset( Request $request, string|null $token = null)

Display the password reset view for the given token.

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

Display the password reset view for the given token.

Response postReset( Request $request)

Reset the given user's password.

Response reset( Request $request)

Reset the given user's password.

string|null getBroker()

Get the broker to be used during password reset.

Details

string redirectPath()

Get the post register / login redirect path.

Return Value

string

Response getEmail()

Display the form to request a password reset link.

Return Value

Response

Response showLinkRequestForm()

Display the form to request a password reset link.

Return Value

Response

Response postEmail( Request $request)

Send a reset link to the given user.

Parameters

Request $request

Return Value

Response

Response sendResetLinkEmail( Request $request)

Send a reset link to the given user.

Parameters

Request $request

Return Value

Response

Response getReset( 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

Response

Response 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

Response

Response postReset( Request $request)

Reset the given user's password.

Parameters

Request $request

Return Value

Response

Response reset( Request $request)

Reset the given user's password.

Parameters

Request $request

Return Value

Response

string|null getBroker()

Get the broker to be used during password reset.

Return Value

string|null

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