unserialize($serialized) {@inheritdoc} Parameters
RoleInterface[] getRoles()
string getProviderKey() Returns the provider secret.
setAttributes(array $attributes) Sets the token attributes.
serialize() {@inheritdoc}
mixed getUser() Returns a user representation.
setUser(mixed $user) Sets the user in the token. The user can be a UserInterface instance
bool isAuthenticated() Returns whether the user is authenticated or not.
mixed getAttribute(string $name) Returns an attribute value.
Page 4 of 7