View Source AshAuthentication.UserIdentity.Actions (ash_authentication v3.10.0)

Code interface for provider identity actions.

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

Link to this section Summary

Functions

Upsert an identity for a user.

Link to this section 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.