PasswordBroker::getUser()

RemindableInterface getUser(array $credentials) Get the user for the given credentials. Parameters array $credentials Return Value RemindableInterface Exceptions UnexpectedValueException

PasswordBroker::getUser()

CanResetPassword getUser(array $credentials) Get the user for the given credentials. Parameters array $credentials Return Value CanResetPassword Exceptions UnexpectedValueException

PasswordBroker::getRepository()

TokenRepositoryInterface getRepository() Get the password reset token repository implementation. Return Value TokenRepositoryInterface

PasswordBroker::deleteToken()

void deleteToken(string $token) Delete the given password reset token. Parameters string $token Return Value void

PasswordBroker::createToken()

string createToken(CanResetPassword $user) Create a new password reset token for the given user. Parameters CanResetPassword $user Return Value string

PasswordBroker

PasswordBroker class PasswordBroker (View source) Constants REMINDER_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.

PasswordBroker

PasswordBroker 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.

PasswordBroker

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 $credentia

Password::__callStatic()

static mixed __callStatic(string $method, array $args) Handle dynamic, static calls to the object. Parameters string $method array $args Return Value mixed

Password::swap()

static void swap(mixed $instance) Hotswap the underlying instance behind the facade. Parameters mixed $instance Return Value void