View Source AshAuthentication.Strategy.OAuth2.Actions (ash_authentication v3.0.3)
Actions for the oauth2 strategy.
Provides the code interface for working with resources via an OAuth2 strategy.
Link to this section Summary
Link to this section Functions
@spec register(AshAuthentication.Strategy.OAuth2.t(), map(), keyword()) :: {:ok, Ash.Resource.record()} | {:error, any()}
Attempt to register a new user.
@spec sign_in(AshAuthentication.Strategy.OAuth2.t(), map(), keyword()) :: {:ok, Ash.Resource.record()} | {:error, any()}
Attempt to sign in a user.