Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DiscoveryURL ¶ added in v1.2.0
DiscoveryURL returns the OIDC discovery URL for the given issuer (/.well-known/openid-configuration). The issuer is normalized before building the path.
func InferOAuth2IntrospectionConfig ¶
func InferOAuth2IntrospectionConfig(spec api.OAuth2ProviderSpec) (*api.OAuth2Introspection, error)
InferOAuth2IntrospectionConfig attempts to infer a sensible introspection configuration based on the OAuth2 provider URLs. Returns an error if no introspection can be inferred.
func NormalizeIssuerURL ¶ added in v1.2.0
NormalizeIssuerURL parses an issuer URL and returns a canonical form (no trailing slash on path). Requires scheme and host. Used so discovery, token verification, and cache keys share one form.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.