engine

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2026 License: MIT Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Proxy

type Proxy struct {
	// contains filtered or unexported fields
}

func NewProxy

func NewProxy(cfg *config.Config, logger *slog.Logger) *Proxy

func (*Proxy) CreateHandler

func (p *Proxy) CreateHandler(route config.Route) (http.HandlerFunc, error)

type TokenProvider

type TokenProvider interface {
	GetTokenSource(ctx context.Context, audience string) (oauth2.TokenSource, error)
}

TokenProvider defines the interface for obtaining OIDC token sources

func NewDefaultTokenProvider

func NewDefaultTokenProvider() TokenProvider

Jump to

Keyboard shortcuts

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