View Source AshAuthentication.UserIdentity.Actions (ash_authentication v4.0.0)

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

Link to this function

upsert(resource, attributes)

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

Upsert an identity for a user.