Versions in this module Expand all Collapse all v0 v0.4.1 Dec 17, 2025 v0.4.0 Dec 17, 2025 Changes in this version + func AdminToken(cfg Config, ttl int64, subject string) (string, error) + func Run(ctx context.Context, cfg Config) + type AccessToken struct + Aud *string + Exp *float64 + Iat float64 + Nbf *float64 + Scopes []string + Sub *string + Token *string + type Config struct + AccessTokenLifetime time.Duration + CheckEvery time.Duration + DisableCancelAfterUse bool + Host string + MinUserNameLength int + Now func() time.Time + Port int + PruneEvery time.Duration + RelaySecret string + RequestTimeout time.Duration + StoreSecret string + func DefaultConfig() Config