string|null removeToken(string $tokenId) Removes a CSRF token.
string getToken(string $tokenId) Reads a stored CSRF token.
setToken(string $tokenId, string $token) Stores a CSRF token.
bool hasToken(string $tokenId) Checks whether a token with the given token ID exists.
interface TokenStorageInterface Stores CSRF tokens. Methods
Page 1 of 2