AshAtproto.Auth.SignInPreparation
(ash_atproto v1.0.0)
Copy Markdown
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.
Callback implementation for Ash.Resource.Preparation.supports/1.
Functions
Callback implementation for Ash.Resource.Preparation.init/1.
Callback implementation for Ash.Resource.Preparation.supports/1.