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
|
|
@ -4,10 +4,12 @@ defmodule Mv.Accounts do
|
|||
|
||||
resources do
|
||||
resource Mv.Accounts.User do
|
||||
define(:create_user, action: :create)
|
||||
define(:list_users, action: :read)
|
||||
define(:update_user, action: :update)
|
||||
define(:destroy_user, action: :destroy)
|
||||
define :create_user, action: :create
|
||||
define :list_users, action: :read
|
||||
define :update_user, action: :update
|
||||
define :destroy_user, action: :destroy
|
||||
end
|
||||
|
||||
resource Mv.Accounts.Token
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue