PasswordBroker
class PasswordBroker implements PasswordBroker (View source)
Methods
| void | __construct(TokenRepositoryInterface $tokens, UserProvider $users) Create a new password broker instance. | |
| string | sendResetLink(array $credentials) 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. | |
| CanResetPassword | getUser(array $credentials) Get the user for the given credentials. | |
| string | createToken(CanResetPassword $user) Create a new password reset token for the given user. | |
| void | deleteToken(string $token) Delete the given password reset token. | |
| bool | tokenExists(CanResetPassword $user, string $token) Validate the given password reset token. | |
| TokenRepositoryInterface | getRepository() Get the password reset token repository implementation. |
Please login to continue.