interface TokenStorageInterface Stores CSRF tokens. Methods
Classes
bool hasToken(string $tokenId) Checks whether a token with the given token ID exists.
bool isTokenValid(CsrfToken $token)
string|null removeToken(string $tokenId) Invalidates the CSRF token with the given ID, if one
string getToken(string $tokenId) Reads a stored CSRF token.
string getValue() Returns the value of the CSRF token.
class SessionTokenStorage implements
string|null removeToken(string $tokenId) Removes a CSRF token.
Page 2 of 4