kubernetes/pkg/routes/openidmetadata.go

const headerCacheControl

const cacheControlTemplate

const mimeJWKS

type OpenIDMetadataServer

// NewOpenIDMetadataServer creates a new OpenIDMetadataServer.
// The issuer is the OIDC issuer; keys are the keys that may be used to sign
// KSA tokens.
func NewOpenIDMetadataServer(provider serviceaccount.OpenIDMetadataProvider) *OpenIDMetadataServer {}

// Install adds this server to the request router c.
func (s *OpenIDMetadataServer) Install(c *restful.Container) {}

// fromStandard provides compatibility between the standard (net/http) handler signature and the restful signature.
func fromStandard(h http.HandlerFunc) restful.RouteFunction {}

func (s *OpenIDMetadataServer) serveConfiguration(w http.ResponseWriter, req *http.Request) {}

func (s *OpenIDMetadataServer) serveKeys(w http.ResponseWriter, req *http.Request) {}