interface
AuthMaintenanceStore
type AuthMaintenanceStore interface {
PruneExpiredAuth(context.Context, int) (AuthPruneResult, error)
}Bounded pruning of expired auth state.
Source store/auth_maintenance.go:36
PruneExpiredAuthfunc(context.Context, int) (AuthPruneResult, error)- The PruneExpiredAuth value.
The implementation uses its authoritative clock, removes at most limit sessions and limit API keys, and must not double-count across concurrent callers. The batch is capped by MaxAuthPruneBatch (500).