eraseCredentials() Removes sensitive information from the token.
setAttributes(array $attributes) Sets the token attributes.
setAuthenticated(bool $isAuthenticated) Sets the authenticated flag.
setUser(mixed $user) Sets the user in the token. The user can be a UserInterface instance
mixed getCredentials() Returns the user credentials.
RoleInterface[] getRoles()
string getUsername() Returns the username.
serialize() {@inheritdoc}
class UsernamePasswordToken extends
Page 4 of 6