interface PasswordBroker (View source)

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_PASSWORD

Constant representing an invalid password.

INVALID_TOKEN

Constant representing an invalid token.

Methods

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

Send a password reset link to a user.

mixed
reset( array $credentials, Closure $callback)

Reset the password for the given token.

void
validator( Closure $callback)

Set a custom password validator.

bool
validateNewPassword( array $credentials)

Determine if the passwords match for the request.

Details

Send a password reset link to a user.

Parameters

array $credentials
Closure $callback

Return Value

string

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

Reset the password for the given token.

Parameters

array $credentials
Closure $callback

Return Value

mixed

at line line 68
void validator( Closure $callback)

Set a custom password validator.

Parameters

Closure $callback

Return Value

void

at line line 76
bool validateNewPassword( array $credentials)

Determine if the passwords match for the request.

Parameters

array $credentials

Return Value

bool