Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewHandler ¶
Types ¶
type Options ¶
type Options struct {
Enabled bool
MaxBodyBytes int64
Service Service
// ResolveALegID must derive the A-leg from authenticated proxy/session
// authority. The request body is never trusted for policy identity.
ResolveALegID func(context.Context, *http.Request) (string, error)
Audit func(context.Context, string, string)
}
Click to show internal directories.
Click to hide internal directories.