AshAuthentication. Oauth2Server. RefreshTokenResource. Info
(ash_authentication_oauth2_server v0.2.1)
Copy Markdown
View Source
Introspection helpers for the
AshAuthentication.Oauth2Server.RefreshTokenResource extension.
Summary
Functions
The name of the auto-generated destroy action that removes expired/rotated/revoked rows.
The name of the auto-generated destroy action that removes expired/rotated/revoked 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
How long (in seconds) to keep revoked refresh-token rows before expunging them.
How long (in seconds) to keep revoked refresh-token rows before expunging them.
How long (in seconds) to keep rotated refresh-token rows before expunging them.
How long (in seconds) to keep rotated refresh-token rows before expunging them.
Functions
@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/rotated/revoked rows.
@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/rotated/revoked rows.
@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.
@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 DSL options
Returns a map containing the and any configured or default values.
@spec oauth2_server_revoked_grace(dsl_or_extended :: module() | map()) :: {:ok, pos_integer()} | :error
How long (in seconds) to keep revoked refresh-token rows before expunging them.
@spec oauth2_server_revoked_grace!(dsl_or_extended :: module() | map()) :: pos_integer() | no_return()
How long (in seconds) to keep revoked refresh-token rows before expunging them.
@spec oauth2_server_rotated_grace(dsl_or_extended :: module() | map()) :: {:ok, pos_integer()} | :error
How long (in seconds) to keep rotated refresh-token rows before expunging them.
@spec oauth2_server_rotated_grace!(dsl_or_extended :: module() | map()) :: pos_integer() | no_return()
How long (in seconds) to keep rotated refresh-token rows before expunging them.