TokenRepositoryInterface
interface TokenRepositoryInterface
Methods
string
bool
bool
recentlyCreatedToken(CanResetPassword $user)
Determine if the given user recently created a password reset token.
void
void
deleteExpired()
Delete expired tokens.
Details
at line 15
string
create(CanResetPassword $user)
Create a new token.
at line 20
bool
exists(CanResetPassword $user, string $token)
Determine if a token record exists and is valid.
at line 25
bool
recentlyCreatedToken(CanResetPassword $user)
Determine if the given user recently created a password reset token.
at line 30
void
delete(CanResetPassword $user)
Delete a token record.
at line 35
void
deleteExpired()
Delete expired tokens.