method
App.PruneExpiredAuth
func (application *App) PruneExpiredAuth(
ctx context.Context,
limit int,
) (store.AuthPruneResult, error)Remove one bounded batch of expired sessions and API keys.
Source core/auth_maintenance.go:14
Execute workers call this automatically when the configured store supports authentication maintenance.
Related types
AppA resolved application bound to operation services.
AuthPruneResultExpired session and API-key counts removed by one bounded cycle.