doc: added comments and updated to latest ashautentication version and required changes

This commit is contained in:
carla 2025-06-19 15:34:24 +02:00 committed by carla
parent a6fcaa1640
commit 7bfde5e230
19 changed files with 74 additions and 478 deletions

View file

@ -1,15 +1,18 @@
defmodule Mv.Accounts.UserIdentity do
@moduledoc """
AshAuthentication specific ressource
"""
use Ash.Resource,
data_layer: AshPostgres.DataLayer,
extensions: [AshAuthentication.UserIdentity],
domain: Mv.Accounts
user_identity do
user_resource Mv.Accounts.User
end
postgres do
table "user_identities"
repo Mv.Repo
end
user_identity do
user_resource Mv.Accounts.User
end
end