Documentation

ResetsPasswords

Table of Contents

broker()  : PasswordBroker
Get the broker to be used during password reset.
reset()  : RedirectResponse|JsonResponse
Reset the given user's password.
showResetForm()  : Factory|View
Display the password reset view for the given token.
credentials()  : array<string|int, mixed>
Get the password reset credentials from the request.
guard()  : StatefulGuard
Get the guard to be used during password reset.
resetPassword()  : void
Reset the given user's password.
rules()  : array<string|int, mixed>
Get the password reset validation rules.
sendResetFailedResponse()  : RedirectResponse|JsonResponse
Get the response for a failed password reset.
sendResetResponse()  : RedirectResponse|JsonResponse
Get the response for a successful password reset.
validationErrorMessages()  : array<string|int, mixed>
Get the password reset validation error messages.

Methods

showResetForm()

Display the password reset view for the given token.

public showResetForm(Request $request[, string|null $token = null ]) : Factory|View

If no token is present, display the link request form.

Parameters
$request : Request
$token : string|null = null
Return values
Factory|View

credentials()

Get the password reset credentials from the request.

protected credentials(Request $request) : array<string|int, mixed>
Parameters
$request : Request
Return values
array<string|int, mixed>

rules()

Get the password reset validation rules.

protected rules() : array<string|int, mixed>
Return values
array<string|int, mixed>

validationErrorMessages()

Get the password reset validation error messages.

protected validationErrorMessages() : array<string|int, mixed>
Return values
array<string|int, mixed>

Search results