UsernamePasswordToken
class UsernamePasswordToken extends AbstractToken
UsernamePasswordToken implements a username and password token.
Methods
__construct(string|object $user, mixed $credentials, string $providerKey, array $roles = array())
No description
setAuthenticated($isAuthenticated)
Sets the authenticated flag.
eraseCredentials()
Removes sensitive information from the token.
serialize()
{@inheritdoc}
unserialize($serialized)
{@inheritdoc}
mixed
getCredentials()
Returns the user credentials.
string
getProviderKey()
Returns the provider key.