Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler interface { // Process a CheckRequest and populate a CheckResponse. Process(ctx context.Context, req *envoy.CheckRequest, resp *envoy.CheckResponse) error }
Handler is an interface for handling authorization requests.
func NewMockHandler ¶
func NewMockHandler(cfg *mockv1.MockConfig) Handler
NewMockHandler creates a new Mock implementation of the Handler interface.
func NewOIDCHandler ¶
func NewOIDCHandler(cfg *oidcv1.OIDCConfig, tlsPool internal.TLSConfigPool, jwks oidc.JWKSProvider, sessions oidc.SessionStoreFactory, clock oidc.Clock, sessionGen oidc.SessionGenerator) (Handler, error)
NewOIDCHandler creates a new OIDC implementation of the Handler interface.
Click to show internal directories.
Click to hide internal directories.