v1

package
v0.1.0-6ffeace Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 25, 2026 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Register

func Register(tv *app.TokenVendor, prefix string, opts *Options) error

Register the API V1 API handler functions to the default http.DefaultServeMux

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

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.

type Options

type Options struct {
	// AllowAnyMethod permits any HTTP method on read-only verification handlers when true.
	AllowAnyMethod bool
}

Options configures the behavior of the API V1 handlers.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL