bool isAuthenticated() Returns whether the user is authenticated or not.
serialize() {@inheritdoc}
RoleInterface[] getRoles()
mixed getCredentials() Returns the user credentials.
class UsernamePasswordToken extends
unserialize($str) {@inheritdoc} Parameters
setAuthenticated(bool $isAuthenticated) Sets the authenticated flag.
setToken(
setUser(mixed $user) Sets the user in the token. The user can be a UserInterface instance
class AnonymousToken extends
Page 5 of 7