trait ResetsPasswords (View source)
RedirectsUsers |
string | redirectPath() Get the post register / login redirect path. | from RedirectsUsers |
Factory|View | showResetForm(Request $request, string|null $token = null) Display the password reset view for the given token. | |
RedirectResponse|JsonResponse | reset(Request $request) Reset the given user's password. | |
array | rules() Get the password reset validation rules. | |
array | validationErrorMessages() Get the password reset validation error messages. | |
array | credentials(Request $request) Get the password reset credentials from the request. | |
void | resetPassword(CanResetPassword $user, string $password) Reset the given user's password. | |
RedirectResponse|JsonResponse | sendResetResponse(Request $request, string $response) Get the response for a successful password reset. | |
RedirectResponse|JsonResponse | sendResetFailedResponse(Request $request, string $response) Get the response for a failed password reset. | |
PasswordBroker | broker() Get the broker to be used during password reset. | |
StatefulGuard | guard() Get the guard to be used during password reset. |
Get the post register / login redirect path.
Display the password reset view for the given token.
If no token is present, display the link request form.
Reset the given user's password.
Get the password reset validation rules.
Get the password reset validation error messages.
Get the password reset credentials from the request.
Reset the given user's password.
Get the response for a successful password reset.
Get the response for a failed password reset.
Get the broker to be used during password reset.
Get the guard to be used during password reset.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.8/Illuminate/Foundation/Auth/ResetsPasswords.html