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 LoggerInterface | $logger |
Methods
__construct(Application $app, Repository $config, Request $request, LoggerInterface $logger = null)
No description
handleSessionValidation(Session $session)
Handle invalidating a session This method MUST manage invalidating the session.
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, LoggerInterface $logger = null)
No description
handleSessionValidation(Session $session)
Handle invalidating a session This method MUST manage invalidating the session.
private bool
shouldCompareIP()
No description
private bool
shouldCompareAgent()
No description
setLogger(LoggerInterface $logger)
Sets a logger instance on the object.