Tokenize
classe Tokenize (Voir la source)
Méthodes
                    static bool
                
                
                    makeCsrfToken(int|null $time = null)
        
                                            
                
            Csrf token creator
                    static string
                
                
                    make()
        
                                            
                
            GGenerate an encrypted key
                    static array|null
                
                
                    csrf(int $time = null)
        
                                            
                
            Get a csrf token generate
                    static bool
                
                
                    csrfExpired(int $time = null)
        
                                            
                
            Check if the token expires
                    static bool
                
                
                    verify(string $token, bool $strict = false)
        
                                            
                
            Check if csrf token is valid
                    static void
                
                
                    clear()
        
                                            
                
            Destroy the token
Détails
        
                static            bool
    makeCsrfToken(int|null $time = null)
        
    
    Csrf token creator
        
                static            string
    make()
        
    
    GGenerate an encrypted key
        
                static            array|null
    csrf(int $time = null)
        
    
    Get a csrf token generate
        
                static            bool
    csrfExpired(int $time = null)
        
    
    Check if the token expires
        
                static            bool
    verify(string $token, bool $strict = false)
        
    
    Check if csrf token is valid
        
                static            void
    clear()
        
    
    Destroy the token