interface PasswordBroker

Constants

RESET_LINK_SENT

Constant representing a successfully sent reminder.

PASSWORD_RESET

Constant representing a successfully reset password.

INVALID_USER

Constant representing the user not found response.

INVALID_TOKEN

Constant representing an invalid token.

RESET_THROTTLED

Constant representing a throttled reset attempt.

Methods

string
sendResetLink(array $credentials, Closure|null $callback = null)

Send a password reset link to a user.

mixed
reset(array $credentials, Closure $callback)

Reset the password for the given token.

void
deleteToken(CanResetPassword $user)

Delete password reset tokens of the given user.

Details

Send a password reset link to a user.

Parameters

array $credentials
Closure|null $callback

Return Value

string

at line 44
mixed reset(array $credentials, Closure $callback)

Reset the password for the given token.

Parameters

array $credentials
Closure $callback

Return Value

mixed

at line 49
void deleteToken(CanResetPassword $user)

Delete password reset tokens of the given user.

Parameters

CanResetPassword $user

Return Value

void