SendsPasswordResetEmails

trait SendsPasswordResetEmails (View source)

Methods

Response showLinkRequestForm()

Display the form to request a password reset link.

RedirectResponse|JsonResponse sendResetLinkEmail(Request $request)

Send a reset link to the given user.

void validateEmail(Request $request)

Validate the email for the given request.

RedirectResponse|JsonResponse sendResetLinkResponse(Request $request, string $response)

Get the response for a successful password reset link.

RedirectResponse|JsonResponse sendResetLinkFailedResponse(Request $request, string $response)

Get the response for a failed password reset link.

PasswordBroker broker()

Get the broker to be used during password reset.

Details

Response showLinkRequestForm()

Display the form to request a password reset link.

Return Value

Response

RedirectResponse|JsonResponse sendResetLinkEmail(Request $request)

Send a reset link to the given user.

Parameters

Request $request

Return Value

RedirectResponse|JsonResponse

protected void validateEmail(Request $request)

Validate the email for the given request.

Parameters

Request $request

Return Value

void

protected RedirectResponse|JsonResponse sendResetLinkResponse(Request $request, string $response)

Get the response for a successful password reset link.

Parameters

Request $request
string $response

Return Value

RedirectResponse|JsonResponse

protected RedirectResponse|JsonResponse sendResetLinkFailedResponse(Request $request, string $response)

Get the response for a failed password reset link.

Parameters

Request $request
string $response

Return Value

RedirectResponse|JsonResponse

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.7/Illuminate/Foundation/Auth/SendsPasswordResetEmails.html