View Source AshAuthentication.Strategy.OAuth2.Actions (ash_authentication v4.3.5)
Actions for the oauth2 strategy.
Provides the code interface for working with resources via an OAuth2 strategy.
Summary
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.