interface
Illuminate
/
Auth
/
Passwords
/
TokenRepositoryInterface
TokenRepositoryInterface
Methods
public
create ( CanResetPassword $user ) : string
Create a new token.
Parameters
- $user CanResetPassword
public
exists ( CanResetPassword $user , $token ) : bool
Determine if a token record exists and is valid.
Parameters
- $user CanResetPassword
- $token string
public
recentlyCreatedToken ( CanResetPassword $user ) : bool
Determine if the given user recently created a password reset token.
Parameters
- $user CanResetPassword
public
delete ( CanResetPassword $user ) : void
Delete a token record.
Parameters
- $user CanResetPassword
public
deleteExpired ( ) : void
Delete expired tokens.