SessionValidator
class SessionValidator implements SessionValidatorInterface, LoggerAwareInterface (View source)
Class SessionValidator Base concrete5 session validator, validates the IP and the agent across requests.
\@package Concrete\Core\Session
Properties
| private Application | $app | ||
| private Repository | $config | ||
| private Request | $request | ||
| private IPService | $ipService | ||
| private LoggerInterface | $logger | 
Methods
                    __construct(Application $app, Repository $config, Request $request, IPService $ipService, LoggerInterface $logger = null)
        
                                            
                
            No description
                    handleSessionValidation(Session $session)
        
                                            
                
            Handle invalidating a session This method MUST manage invalidating the session.
                    hasActiveSession()
        
                                            
                
            No description
                    bool
                
                
                    shouldCompareIP()
        
                                            
                
            No description
                    bool
                
                
                    shouldCompareAgent()
        
                                            
                
            No description
                    setLogger(LoggerInterface $logger)
        
                                            
                
            Sets a logger instance on the object.
Details
        
                            
    __construct(Application $app, Repository $config, Request $request, IPService $ipService, LoggerInterface $logger = null)
        
    
    No description
        
                            
    handleSessionValidation(Session $session)
        
    
    Handle invalidating a session This method MUST manage invalidating the session.
        
                            
    hasActiveSession()
        
    
    No description
        
                        private    bool
    shouldCompareIP()
        
    
    No description
        
                        private    bool
    shouldCompareAgent()
        
    
    No description
        
                            
    setLogger(LoggerInterface $logger)
        
    
    Sets a logger instance on the object.