View Source AshAuthentication.Strategy.Password.SignInPreparation (ash_authentication v3.6.1)
Prepare a query for sign in
This preparation performs two jobs, one before the query executes and one after.
Firstly, it constrains the query to match the identity field passed to the action.
Secondly, it validates the supplied password using the configured hash provider, and if correct allows the record to be returned, otherwise returns an authentication failed error.
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
.