View Source AshAuthentication.TokenResource.Expunger (ash_authentication v3.11.15)
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.