Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ExtAuthzServer ¶
type ExtAuthzServer struct {
authv3.UnimplementedAuthorizationServer
// contains filtered or unexported fields
}
ExtAuthzServer implements envoy.service.auth.v3.AuthorizationServer.
func NewExtAuthzServer ¶
func NewExtAuthzServer(tv *app.TokenVendor) *ExtAuthzServer
NewExtAuthzServer creates a new ExtAuthzServer with the given TokenVendor.
func (*ExtAuthzServer) Check ¶
func (s *ExtAuthzServer) Check(ctx context.Context, req *authv3.CheckRequest) (*authv3.CheckResponse, error)
Check handles Envoy ext_authz gRPC authorization requests.
type HandlerContext ¶
type HandlerContext struct {
// contains filtered or unexported fields
}
HandlerContext holds dependencies and configuration for API V1 handlers.
func NewHandlerContext ¶
func NewHandlerContext(tv *app.TokenVendor, opts *Options) *HandlerContext
NewHandlerContext creates a HandlerContext initialized with the given TokenVendor and optional API options.
Click to show internal directories.
Click to hide internal directories.