mirror of
https://github.com/team-alembic/ash_authentication.git
synced 2024-09-21 05:43:05 +12:00
a939dde9b9
This is missing a bunch of features that you probably want to use (eg confirmation, password resets), but it's a pretty good place to put a stake in the sand and say it works.
9 lines
209 B
Elixir
9 lines
209 B
Elixir
defmodule Example.Registry do
|
|
@moduledoc false
|
|
use Ash.Registry, extensions: [Ash.Registry.ResourceValidations]
|
|
|
|
entries do
|
|
entry Example.UserWithUsername
|
|
entry Example.TokenRevocation
|
|
end
|
|
end
|