View Source Lightning.Services.AccountHook (Lightning v2.10.4)
Allows handling user creation or registration atomically without relying on async events.
Summary
Functions
Callback implementation for Lightning.Extensions.AccountHooking.handle_create_user/1
.
Callback implementation for Lightning.Extensions.AccountHooking.handle_register_superuser/1
.
Callback implementation for Lightning.Extensions.AccountHooking.handle_register_user/1
.
Functions
@spec handle_create_user(map()) :: {:ok, Lightning.Accounts.User.t()} | {:error, Ecto.Changeset.t()}
Callback implementation for Lightning.Extensions.AccountHooking.handle_create_user/1
.
@spec handle_register_superuser(map()) :: {:ok, Lightning.Accounts.User.t()} | {:error, Ecto.Changeset.t()}
Callback implementation for Lightning.Extensions.AccountHooking.handle_register_superuser/1
.
@spec handle_register_user(map()) :: {:ok, Lightning.Accounts.User.t()} | {:error, Ecto.Changeset.t()}
Callback implementation for Lightning.Extensions.AccountHooking.handle_register_user/1
.