Versions in this module Expand all Collapse all v0 v0.28.0 May 19, 2026 Changes in this version + func LogStepError(upstreamName string, err error) + func SanitizeErrorForLog(err error) string + type CloseableCredentialStore interface + func NewInMemoryStore() CloseableCredentialStore + type CredentialStore interface + Get func(ctx context.Context, key Key) (*Resolution, bool, error) + Put func(ctx context.Context, key Key, resolution *Resolution) error + func NewStorageBackedStore(backend storage.DCRCredentialStore) CredentialStore + type Key = storage.DCRKey + type Request struct + AuthorizationEndpoint string + ClientName string + DiscoveryURL string + InitialAccessToken string + Issuer string + PublicClient bool + RedirectURI string + RegistrationEndpoint string + Scopes []string + TokenEndpoint string + type Resolution struct + AuthorizationEndpoint string + ClientID string + ClientIDIssuedAt time.Time + ClientSecret string + ClientSecretExpiresAt time.Time + CreatedAt time.Time + RedirectURI string + RegistrationAccessToken string + RegistrationClientURI string + TokenEndpoint string + TokenEndpointAuthMethod string + func ResolveCredentials(ctx context.Context, req *Request, cache CredentialStore) (*Resolution, error)