View Source AshAuthentication.Strategy.OAuth2.SignInPreparation (ash_authentication v3.1.0)
Prepare a query for sign in
Performs three main tasks:
- Ensures that there is only one matching user record returned, otherwise returns an authentication failed error.
- Generates an access token if token generation is enabled.
- Updates the user identity resource, if one is enabled.
Link to this section Summary
Functions
Callback implementation for Ash.Resource.Preparation.init/1
.
Link to this section Functions
Callback implementation for Ash.Resource.Preparation.init/1
.