mix ash_authentication.add_add_on (ash_authentication v4.13.3)

View Source

Adds the provided add-on to your user resource

This task will add the provided add-on to your user resource and set up any required supporting resources.

The following add-ons are available:

  • audit_log - Track authentication events for security and compliance.

Example

mix ash_authentication.add_add_on audit_log

Global options

  • --user, -u - The user resource. Defaults to YourApp.Accounts.User

Audit Log options

  • audit-log - The audit log resource name. Defaults to <domain>.AuditLog.
  • include-fields - Comma-separated list of sensitive fields to include in audit logs.
  • exclude-strategies - Comma-separated list of authentication strategies to exclude from logging.
  • exclude-actions - Comma-separated list of actions to exclude from logging.

Summary

Functions

data_layer_args(igniter, opts)

igniter(igniter)

Callback implementation for Igniter.Mix.Task.igniter/1.