TokenRepositoryInterface
interface TokenRepositoryInterface (View source)
Methods
string create(CanResetPassword $user) Create a new token. bool exists(CanResetPassword $user, string $token) Determine if a token record exists and is valid. void delete(string $token) Delete a token record. void deleteExpired() Delete expired tokens.