14 lines
288 B
Elixir
14 lines
288 B
Elixir
defmodule Mv.Accounts.Token do
|
|
@moduledoc """
|
|
AshAuthentication specific ressource
|
|
"""
|
|
use Ash.Resource,
|
|
data_layer: AshPostgres.DataLayer,
|
|
extensions: [AshAuthentication.TokenResource],
|
|
domain: Mv.Accounts
|
|
|
|
postgres do
|
|
table "tokens"
|
|
repo Mv.Repo
|
|
end
|
|
end
|