Password

Password class Password extends Facade (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.

Password::clearResolvedInstance()

static void clearResolvedInstance(string $name) Clear a resolved facade instance. Parameters string $name Return Value void

Password::clearResolvedInstances()

static void clearResolvedInstances() Clear all of the resolved instances. Return Value void

Password::getFacadeApplication()

static Application getFacadeApplication() Get the application instance behind the facade. Return Value Application

Password::getFacadeRoot()

static mixed getFacadeRoot() Get the root object behind the facade. Return Value mixed

Password::setFacadeApplication()

static void setFacadeApplication(Application $app) Set the application instance. Parameters Application $app Return Value void

Password::shouldReceive()

static Expectation shouldReceive() Initiate a mock expectation on the facade. Return Value Expectation

Password::swap()

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

Password::__callStatic()

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

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