mirror of
https://github.com/team-alembic/ash_authentication_phoenix.git
synced 2024-09-20 13:34:26 +12:00
11 lines
235 B
Elixir
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
|