SessionGuard
classe SessionGuard étends GuardContract (Voir la source)
Traits
Propriétés
| protected string | $guard | The define guard  | 
                depuis GuardContract | 
Méthodes
                    mixed
                
                
                    id()
        
                                            
                
            Get the user id
                    bool
                
                
                    check()
        
                                            
                
            Check if user is authenticate
                    bool
                
                
                    guest()
        
                                            
                
            Check if user is guest
                    bool
                
                
                    logout()
        
                                            
                
            Make direct logout
                    bool
                
                
                
            
                    Authentication|null
                
                
                    user()
        
                                            
                
            Check if user is authenticate
                    bool
                
                
                    attempts(array $credentials)
        
                                            
                
            Check if user is authenticate
                    __construct(array $provider, string $guard)
        
                                            
                
            SessionGuard constructor.
Détails
        
                            mixed
    id()
        
    
    Get the user id
        
                            bool
    check()
        
    
    Check if user is authenticate
        
                            bool
    guest()
        
    
    Check if user is guest
        
                            bool
    logout()
        
    
    Make direct logout
        
                            bool
    login(Authentication $user)
        
    
    Make direct login
        
                            Authentication|null
    user()
        
    
    Check if user is authenticate
        
                            bool
    attempts(array $credentials)
        
    
    Check if user is authenticate
        
                            string
    getName()
        
    
    Get the guard name
        
                            GuardContract
    guard(string $guard = null)
        
    
    Load the a guard
        
                            
    __construct(array $provider, string $guard)
        
    
    SessionGuard constructor.