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. | |
array | credentials(Request $request) Get the needed authentication credentials from the 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.
RedirectResponse|JsonResponse sendResetLinkEmail(Request $request)
Send a reset link to the given user.
protected void validateEmail(Request $request)
Validate the email for the given request.
protected array credentials(Request $request)
Get the needed authentication credentials from the request.
protected RedirectResponse|JsonResponse sendResetLinkResponse(Request $request, string $response)
Get the response for a successful password reset link.
protected 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.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/6.x/Illuminate/Foundation/Auth/SendsPasswordResetEmails.html