AshAtproto.Auth.Actions (ash_atproto v1.0.0)

Copy Markdown

Actions for the atproto oauth strategy.

Provides the code interface for working with resources via an atproto oauth strategy.

Summary

Functions

Attempt to register a new user.

Attempt to sign in a user.

Functions

register(strategy, params, options)

@spec register(AshAtproto.Auth.t(), map(), keyword()) ::
  {:ok, Ash.Resource.record()} | {:error, any()}

Attempt to register a new user.

sign_in(strategy, params, options)

@spec sign_in(AshAtproto.Auth.t(), map(), keyword()) ::
  {:ok, Ash.Resource.record()} | {:error, any()}

Attempt to sign in a user.