AshAuthentication.Oauth2Server.ClientResource.Info (ash_authentication_oauth2_server v0.3.1)

Copy Markdown View Source

Introspection helpers for the AshAuthentication.Oauth2Server.ClientResource extension.

Summary

Functions

How long (in seconds) a CIMD client (a row with a cimd_url) may go unused before it is expunged.

How long (in seconds) a CIMD client (a row with a cimd_url) may go unused before it is expunged.

The name of the auto-generated destroy action that removes stale CIMD client rows.

The name of the auto-generated destroy action that removes stale CIMD client rows.

How often (in hours) to scan this resource for stale CIMD client rows to remove.

How often (in hours) to scan this resource for stale CIMD client rows to remove.

oauth2_server DSL options

The name of the update action that refreshes a CIMD client's last_used_at. Reused if it already exists on the resource; auto-generated otherwise.

The name of the update action that refreshes a CIMD client's last_used_at. Reused if it already exists on the resource; auto-generated otherwise.

Functions

oauth2_server_cimd_client_ttl(dsl_or_extended)

@spec oauth2_server_cimd_client_ttl(dsl_or_extended :: module() | map()) ::
  {:ok, pos_integer()} | :error

How long (in seconds) a CIMD client (a row with a cimd_url) may go unused before it is expunged.

oauth2_server_cimd_client_ttl!(dsl_or_extended)

@spec oauth2_server_cimd_client_ttl!(dsl_or_extended :: module() | map()) ::
  pos_integer() | no_return()

How long (in seconds) a CIMD client (a row with a cimd_url) may go unused before it is expunged.

oauth2_server_expunge_expired_action_name(dsl_or_extended)

@spec oauth2_server_expunge_expired_action_name(dsl_or_extended :: module() | map()) ::
  {:ok, atom()} | :error

The name of the auto-generated destroy action that removes stale CIMD client rows.

oauth2_server_expunge_expired_action_name!(dsl_or_extended)

@spec oauth2_server_expunge_expired_action_name!(dsl_or_extended :: module() | map()) ::
  atom() | no_return()

The name of the auto-generated destroy action that removes stale CIMD client rows.

oauth2_server_expunge_interval(dsl_or_extended)

@spec oauth2_server_expunge_interval(dsl_or_extended :: module() | map()) ::
  {:ok, pos_integer()} | :error

How often (in hours) to scan this resource for stale CIMD client rows to remove.

oauth2_server_expunge_interval!(dsl_or_extended)

@spec oauth2_server_expunge_interval!(dsl_or_extended :: module() | map()) ::
  pos_integer() | no_return()

How often (in hours) to scan this resource for stale CIMD client rows to remove.

oauth2_server_options(dsl_or_extended)

@spec oauth2_server_options(dsl_or_extended :: module() | map()) :: %{
  required(atom()) => any()
}

oauth2_server DSL options

Returns a map containing the and any configured or default values.

oauth2_server_touch_last_used_action_name(dsl_or_extended)

@spec oauth2_server_touch_last_used_action_name(dsl_or_extended :: module() | map()) ::
  {:ok, atom()} | :error

The name of the update action that refreshes a CIMD client's last_used_at. Reused if it already exists on the resource; auto-generated otherwise.

oauth2_server_touch_last_used_action_name!(dsl_or_extended)

@spec oauth2_server_touch_last_used_action_name!(dsl_or_extended :: module() | map()) ::
  atom() | no_return()

The name of the update action that refreshes a CIMD client's last_used_at. Reused if it already exists on the resource; auto-generated otherwise.