Documentation ¶
Overview ¶
Package idputil provides utilities for working with identity providers. It's used in the internal code and not exposed to the public API.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OpenIDConfiguration ¶
type OpenIDConfiguration struct { TokenURL string `json:"token_endpoint"` IntrospectionEndpoint string `json:"introspection_endpoint"` JWKSURI string `json:"jwks_uri"` }
func GetOpenIDConfiguration ¶
func GetOpenIDConfiguration( ctx context.Context, httpClient *http.Client, targetURL string, additionalHeaders map[string]string, logger log.FieldLogger, promMetrics *metrics.PrometheusMetrics, ) (OpenIDConfiguration, error)
type TrustedIssuerStore ¶
type TrustedIssuerStore struct {
// contains filtered or unexported fields
}
func NewTrustedIssuerStore ¶
func NewTrustedIssuerStore() *TrustedIssuerStore
func (*TrustedIssuerStore) AddTrustedIssuer ¶
func (s *TrustedIssuerStore) AddTrustedIssuer(issName, issURL string)
func (*TrustedIssuerStore) AddTrustedIssuerURL ¶
func (s *TrustedIssuerStore) AddTrustedIssuerURL(issURL string) error
func (*TrustedIssuerStore) GetURLForIssuer ¶
func (s *TrustedIssuerStore) GetURLForIssuer(issuer string) (string, bool)
type TrustedIssuerURLMatcher ¶
Click to show internal directories.
Click to hide internal directories.