View Source AshAuthentication.TokenResource.Info (ash_authentication v3.11.15)
Introspection functions for the AshAuthentication.TokenResource
Ash
extension.
Summary
Functions
The Ash API to use to access this resource.
The Ash API to use to access this resource.
The name of the action used to get confirmation changes.
The name of the action used to get confirmation changes.
token.confirmation DSL options
The name of the action used to store confirmation changes.
The name of the action used to store confirmation changes.
The name of the action used to remove expired tokens.
The name of the action used to remove expired tokens.
How often to remove expired records.
How often to remove expired records.
The name of the action used to retrieve tokens from the store.
The name of the action used to retrieve tokens from the store.
token DSL options
The name of the action use to find all expired tokens.
The name of the action use to find all expired tokens.
The name of the action used to check if a token is revoked.
The name of the action used to check if a token is revoked.
token.revocation DSL options
The name of the action used to revoke tokens.
The name of the action used to revoke tokens.
The name of the action to use to store a token.
The name of the action to use to store a token.
Functions
The Ash API to use to access this resource.
The Ash API to use to access this resource.
@spec token_confirmation_get_changes_action_name(dsl_or_extended :: module() | map()) :: {:ok, atom()} | :error
The name of the action used to get confirmation changes.
@spec token_confirmation_get_changes_action_name!(dsl_or_extended :: module() | map()) :: atom() | no_return()
The name of the action used to get confirmation changes.
@spec token_confirmation_options(dsl_or_extended :: module() | map()) :: %{ required(atom()) => any() }
token.confirmation DSL options
Returns a map containing the and any configured or default values.
@spec token_confirmation_store_changes_action_name( dsl_or_extended :: module() | map() ) :: {:ok, atom()} | :error
The name of the action used to store confirmation changes.
@spec token_confirmation_store_changes_action_name!( dsl_or_extended :: module() | map() ) :: atom() | no_return()
The name of the action used to store confirmation changes.
@spec token_expunge_expired_action_name(dsl_or_extended :: module() | map()) :: {:ok, atom()} | :error
The name of the action used to remove expired tokens.
@spec token_expunge_expired_action_name!(dsl_or_extended :: module() | map()) :: atom() | no_return()
The name of the action used to remove expired tokens.
@spec token_expunge_interval(dsl_or_extended :: module() | map()) :: {:ok, pos_integer()} | :error
How often to remove expired records.
How often to scan this resource for records which have expired, and thus can be removed.
@spec token_expunge_interval!(dsl_or_extended :: module() | map()) :: pos_integer() | no_return()
How often to remove expired records.
How often to scan this resource for records which have expired, and thus can be removed.
The name of the action used to retrieve tokens from the store.
Used if require_token_presence_for_authentication?
is enabled in your authentication resource.
The name of the action used to retrieve tokens from the store.
Used if require_token_presence_for_authentication?
is enabled in your authentication resource.
token DSL options
Returns a map containing the and any configured or default values.
The name of the action use to find all expired tokens.
Used internally by the expunge_expired
action.
The name of the action use to find all expired tokens.
Used internally by the expunge_expired
action.
@spec token_revocation_is_revoked_action_name(dsl_or_extended :: module() | map()) :: {:ok, atom()} | :error
The name of the action used to check if a token is revoked.
@spec token_revocation_is_revoked_action_name!(dsl_or_extended :: module() | map()) :: atom() | no_return()
The name of the action used to check if a token is revoked.
@spec token_revocation_options(dsl_or_extended :: module() | map()) :: %{ required(atom()) => any() }
token.revocation DSL options
Returns a map containing the and any configured or default values.
@spec token_revocation_revoke_token_action_name(dsl_or_extended :: module() | map()) :: {:ok, atom()} | :error
The name of the action used to revoke tokens.
@spec token_revocation_revoke_token_action_name!(dsl_or_extended :: module() | map()) :: atom() | no_return()
The name of the action used to revoke tokens.
The name of the action to use to store a token.
Used if store_all_tokens?
is enabled in your authentication resource.
The name of the action to use to store a token.
Used if store_all_tokens?
is enabled in your authentication resource.