chore(AshAuthenticationPhoenix): added library and updated ressources testing password strategy
This commit is contained in:
parent
f154eea055
commit
192ceaed45
24 changed files with 682 additions and 25 deletions
11
lib/accounts/token.ex
Normal file
11
lib/accounts/token.ex
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
defmodule Mv.Accounts.Token do
|
||||
use Ash.Resource,
|
||||
data_layer: AshPostgres.DataLayer,
|
||||
extensions: [AshAuthentication.TokenResource],
|
||||
domain: Mv.Accounts
|
||||
|
||||
postgres do
|
||||
table "tokens"
|
||||
repo Mv.Repo
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue