TokenRepositoryInterface
interface TokenRepositoryInterface (View source)
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
        
                            string
    create(CanResetPassword $user)
        
    
    Create a new token.
        
                            bool
    exists(CanResetPassword $user, string $token)
        
    
    Determine if a token record exists and is valid.
        
                            bool
    recentlyCreatedToken(CanResetPassword $user)
        
    
    Determine if the given user recently created a password reset token.
        
                            void
    delete(CanResetPassword $user)
        
    
    Delete a token record.
        
                            void
    deleteExpired()
        
    
    Delete expired tokens.