AshAuthentication.Oauth2Server.AuthorizationCodeResource.Info (ash_authentication_oauth2_server v0.2.1)

Copy Markdown View Source

Introspection helpers for the AshAuthentication.Oauth2Server.AuthorizationCodeResource extension.

Summary

Functions

How long (in seconds) to keep consumed authorization-code rows before expunging them.

How long (in seconds) to keep consumed authorization-code rows before expunging them.

The name of the auto-generated destroy action that removes expired/consumed rows.

The name of the auto-generated destroy action that removes expired/consumed rows.

How often (in hours) to scan this resource for rows that have expired and can be removed.

How often (in hours) to scan this resource for rows that have expired and can be removed.

oauth2_server DSL options

Functions

oauth2_server_consumed_grace(dsl_or_extended)

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

How long (in seconds) to keep consumed authorization-code rows before expunging them.

oauth2_server_consumed_grace!(dsl_or_extended)

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

How long (in seconds) to keep consumed authorization-code rows before expunging them.

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 expired/consumed 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 expired/consumed 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 rows that have expired and can be removed.

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 rows that have expired and can be removed.

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.