Versions in this module Expand all Collapse all v0 v0.25.0 Apr 28, 2026 Changes in this version + const DefaultProxyListenPort + var ErrTokenRequired = errors.New(...) + func DeleteCachedTokens(ctx context.Context, provider pkgsecrets.Provider) error + func DeriveSecretKey(gatewayURL, issuer string) string + func SanitizeTokenError(err error) string + type Config struct + ConfiguredTools []ToolConfig + GatewayURL string + OIDC OIDCConfig + Proxy ProxyConfig + func (c *Config) EffectiveProxyPort() int + func (c *Config) IsConfigured() bool + func (c *Config) SetFields(opts SetOptions) error + func (c *Config) Show(w io.Writer) error + func (c *Config) Validate() error + func (c *Config) ValidatePartial() error + type OIDCConfig = pkgoidc.ClientConfig + type ProxyConfig struct + ListenPort int + type SetOptions struct + Audience string + CallbackPort int + ClientID string + GatewayURL string + Issuer string + ProxyPort int + type TokenRefUpdater func(refreshTokenKey string, expiry time.Time) + type TokenSource struct + func NewTokenSource(cfg *Config, secretsProvider secrets.Provider, interactive bool, ...) *TokenSource + func (t *TokenSource) Token(ctx context.Context) (string, error) + type ToolConfig struct + ConfigPath string + Mode string + Tool string