AshAuthentication.Strategy.OAuth2.Actions
(ash_authentication v5.0.0-rc.7)
Copy Markdown
View Source
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.