AuthTokenSession.php
101 // NOTE: we compare to the cookie value sent by the client and the original value stored in the session
102 $this->isTokenValid = $token != null && $token == $_COOKIE[$this->tokenName] && $token == $this->get($this->tokenName);
AuthTokenSession is a DefaultSession, but additionally requires clients to send a token in the X-Auth...
Definition: AuthTokenSession.php:28
A session that requires clients to send a token for authentication.
Definition: TokenBasedSession.php:18
setAuthUser($login)
Definition: AuthTokenSession.php:62
Implementations of Configuration give access to the application configuration.
Definition: Configuration.php:32
static getInstance($name, $dynamicConfiguration=[])
Definition: ObjectFactory.php:47
const USER_GROUP_NAME
Definition: AnonymousUser.php:22
const TOKEN_HEADER
Definition: AuthTokenSession.php:30
DefaultSession uses the default PHP session implementation:
Definition: DefaultSession.php:26
ObjectFactory implements the service locator pattern by wrapping a Factory instance and providing sta...
Definition: ObjectFactory.php:24