trait SendsPasswordResetEmails (View source)

Methods

showLinkRequestForm()

Display the form to request a password reset link.

sendResetLinkEmail(Request $request)

Send a reset link to the given user.

void
validateEmail(Request $request)

Validate the email for the given request.

array
credentials(Request $request)

Get the needed authentication credentials from the request.

sendResetLinkResponse(Request $request, string $response)

Get the response for a successful password reset link.

sendResetLinkFailedResponse(Request $request, string $response)

Get the response for a failed password reset link.

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 array credentials(Request $request)

Get the needed authentication credentials from the request.

Parameters

Request $request

Return Value

array

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

Laravel Cloud is the best place to deploy Laravel, Nuxt, Express, Hono, Node.js, Bun, Go, Flask, Python, and more, with dedicated infrastructure available on AWS through Laravel Private Cloud.