class AnonymousToken extends
setAuthenticated(bool $isAuthenticated) Sets the authenticated flag.
setToken(
TokenInterface|null getToken() Returns the current security token. Return Value TokenInterface|null A TokenInterface instance or null if no authentication information is available
eraseCredentials() Removes sensitive information from the token.
mixed getCredentials() Returns the user credentials.
RoleInterface[] getRoles()
unserialize($str) {@inheritdoc} Parameters
class UsernamePasswordToken extends
Page 5 of 7