View Source AshAuthentication.Strategy.OAuth2.SignInPreparation (ash_authentication v4.0.0)

Prepare a query for sign in

Performs three main tasks:

  1. Ensures that there is only one matching user record returned, otherwise returns an authentication failed error.
  2. Generates an access token if token generation is enabled.
  3. Updates the user identity resource, if one is enabled.