View Source AshAuthentication.Strategy.OAuth2.SignInPreparation (ash_authentication v4.2.5)
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.
Summary
Functions
Callback implementation for Ash.Resource.Preparation.init/1
.
Functions
Callback implementation for Ash.Resource.Preparation.init/1
.