View Source AshAuthentication.Checks.AshAuthenticationInteraction (ash_authentication v4.0.1)
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.requires_original_data?/2
.
Callback implementation for Ash.Policy.Check.strict_check/3
.
Callback implementation for Ash.Policy.Check.type/0
.
Functions
Callback implementation for Ash.Policy.Check.requires_original_data?/2
.
Callback implementation for Ash.Policy.Check.strict_check/3
.
Callback implementation for Ash.Policy.Check.type/0
.