class SessionTokenStorage implements TokenStorageInterface
Token storage that uses a Symfony Session object.
Constants
SESSION_NAMESPACE The namespace used to store values in the session.
Methods
__construct(SessionInterface $session, string $namespace = self::SESSION_NAMESPACE) Initializes the storage with a Session object and a session namespace.
string getToken(string $tokenId) Reads a stored CSRF token.
setToken(string $tokenId, string $token) Stores a CSRF token.
b