AshAuthentication.UserIdentity.Actions (ash_authentication v4.4.9)

View Source

Code interface for provider identity actions.

Allows you to interact with UserIdentity resources without having to mess around with changesets, domains, etc. These functions are delegated to from within AshAuthentication.UserIdentity.

Summary

Functions

Upsert an identity for a user.

Functions

upsert(resource, attributes)

@spec upsert(Ash.Resource.t(), map()) ::
  {:ok, Ash.Resource.record()} | {:error, term()}

Upsert an identity for a user.