SendsPasswordResetEmails
Table of Contents
- broker() : PasswordBroker
- Get the broker to be used during password reset.
- sendResetLinkEmail() : RedirectResponse|JsonResponse
- Send a reset link to the given user.
- showLinkRequestForm() : Response
- Display the form to request a password reset link.
- sendResetLinkFailedResponse() : RedirectResponse|JsonResponse
- Get the response for a failed password reset link.
- sendResetLinkResponse() : RedirectResponse|JsonResponse
- Get the response for a successful password reset link.
- validateEmail() : void
- Validate the email for the given request.
Methods
broker()
Get the broker to be used during password reset.
public
broker() : PasswordBroker
Return values
PasswordBroker —sendResetLinkEmail()
Send a reset link to the given user.
public
sendResetLinkEmail(Request $request) : RedirectResponse|JsonResponse
Parameters
- $request : Request
Return values
RedirectResponse|JsonResponse —showLinkRequestForm()
Display the form to request a password reset link.
public
showLinkRequestForm() : Response
Return values
Response —sendResetLinkFailedResponse()
Get the response for a failed password reset link.
protected
sendResetLinkFailedResponse(Request $request, string $response) : RedirectResponse|JsonResponse
Parameters
- $request : Request
- $response : string
Return values
RedirectResponse|JsonResponse —sendResetLinkResponse()
Get the response for a successful password reset link.
protected
sendResetLinkResponse(string $response) : RedirectResponse|JsonResponse
Parameters
- $response : string
Return values
RedirectResponse|JsonResponse —validateEmail()
Validate the email for the given request.
protected
validateEmail(Request $request) : void
Parameters
- $request : Request