GuardTokenInterface createAuthenticatedToken(UserInterface $user, string $providerKey)
Create an authenticated token for the given user.
If you don't care about which token class is used or don't really understand what a "token" is, you can skip this method by extending the AbstractGuardAuthenticator class from your authenticator.
Please login to continue.