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