View Source AshAuthentication.TokenResource.Expunger (ash_authentication v3.11.10)
A GenServer
which periodically removes expired token revocations.
Scans all token revocation resources based on their configured expunge interval and removes any expired records.
defmodule MyApp.Accounts.Token do
use Ash.Resource,
extensions: [AshAuthentication.TokenResource]
token do
api MyApp.Accounts
expunge_interval 12
end
end
This GenServer is started by the AshAuthentication.Supervisor
which should
be added to your app's supervision tree.
Summary
Functions
Returns a specification to start this module under a supervisor.
Functions
Returns a specification to start this module under a supervisor.
See Supervisor
.