View Source AshAuthentication.Checks.AshAuthenticationInteraction (ash_authentication v4.3.2)

This check is true if the context private.ash_authentication? is set to true.

This context will only ever be set in code that is called internally by ash_authentication, allowing you to create a bypass in your policies on your user/user_token resources.

policies do
  bypass AshAuthenticationInteraction do
    authorize_if always()
  end
end

Summary

Functions

Callback implementation for Ash.Policy.Check.eager_evaluate?/0.

Link to this function

prefer_expanded_description?()

View Source

Callback implementation for Ash.Policy.Check.prefer_expanded_description?/0.

Link to this function

requires_original_data?(_, _)

View Source

Callback implementation for Ash.Policy.Check.requires_original_data?/2.

Link to this function

strict_check(actor, context, opts)

View Source

Callback implementation for Ash.Policy.Check.strict_check/3.

Callback implementation for Ash.Policy.Check.type/0.