ash_authentication_phoenix/test/support/accounts/token.ex

11 lines
235 B
Elixir

defmodule Example.Accounts.Token do
@moduledoc false
use Ash.Resource,
data_layer: Ash.DataLayer.Ets,
extensions: [AshAuthentication.TokenResource],
domain: Example.Accounts
actions do
defaults [:read]
end
end