PreAuthenticationGuardToken
class PreAuthenticationGuardToken extends AbstractToken implements GuardTokenInterface
The token used by the guard auth system before authentication.
The GuardAuthenticationListener creates this, which is then consumed immediately by the GuardAuthenticationProvider. If authentication is successful, a different authenticated token is returned
Methods
__construct(mixed $credentials, string $guardProviderKey)
No description
setAuthenticated($authenticated)
Sets the authenticated flag.
getGuardProviderKey()
No description
mixed
getCredentials()
Returns the user credentials, which might be an array of anything you wanted to put in there (e.g. username, password, favoriteColor).