ash_authentication/test/support/example/user_identity.ex

17 lines
311 B
Elixir
Raw Normal View History

defmodule Example.UserIdentity do
@moduledoc false
use Ash.Resource,
data_layer: AshPostgres.DataLayer,
extensions: [AshAuthentication.UserIdentity]
user_identity do
api Example
user_resource(Example.User)
end
postgres do
table "user_identities"
repo(Example.Repo)
end
end