mirror of
https://github.com/team-alembic/ash_authentication.git
synced 2024-09-20 05:13:10 +12:00
8797005175
* improvement(docs): change all references to `actor` to `user`. The word "actor" has special meaning in the Ash ecosystem. * chore: format `dev` directory also. * feat(Ash.PlugHelpers): Support standard actor configuration. * Adds the `:set_actor` plug which will set the actor to a resource based on the subject name. * Also includes GraphQL and JSON:API interfaces in the devserver for testing.
25 lines
505 B
Elixir
25 lines
505 B
Elixir
spark_locals_without_parens = [
|
|
api: 1,
|
|
confirmation_required?: 1,
|
|
hash_provider: 1,
|
|
hashed_password_field: 1,
|
|
identity_field: 1,
|
|
password_confirmation_field: 1,
|
|
password_field: 1,
|
|
read_action_name: 1,
|
|
register_action_name: 1,
|
|
sign_in_action_name: 1,
|
|
subject_name: 1
|
|
]
|
|
|
|
[
|
|
import_deps: [:ash, :spark],
|
|
inputs: [
|
|
"*.{ex,exs}",
|
|
"{dev,config,lib,test}/**/*.{ex,exs}"
|
|
],
|
|
plugins: [Spark.Formatter],
|
|
export: [
|
|
locals_without_parens: spark_locals_without_parens
|
|
]
|
|
]
|