Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientConfig ¶
type ClientConfig struct { httpclient.Config URL string `json:"url,omitempty"` Auth ClientConfigAuth `json:"auth,omitempty"` Headers map[string]string `json:"headers,omitempty"` TokenTypeHint string `json:"tokenTypeHint,omitempty"` }
ClientConfig configures the HTTP client of the OAuth 2.0 Token Introspection ACP handler.
type ClientConfigAuth ¶
type ClientConfigAuth struct { Kind string `json:"kind,omitempty"` Secret SecretReference `json:"secret,omitempty"` Key string `json:"-"` Value string `json:"-"` }
ClientConfigAuth configures authentication to the Authorization Server.
type Config ¶
type Config struct { ClientConfig ClientConfig `json:"clientConfig,omitempty"` TokenSource token.Source `json:"tokenSource,omitempty"` Claims string `json:"claims,omitempty"` ForwardHeaders map[string]string `json:"forwardHeaders,omitempty"` }
Config configures an OAuth 2.0 Token Introspection ACP handler.
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
Handler is an OAuth 2.0 Token Introspection ACP handler.
func NewHandler ¶
NewHandler creates a new OAuth 2.0 Token Introspection ACP Handler.
type SecretReference ¶
SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace.
Click to show internal directories.
Click to hide internal directories.