Documentation
¶
Overview ¶
Package trust verifies external OIDC tokens and evaluates compiled trust bindings.
Index ¶
Constants ¶
View Source
const (
// MaxJWTBytes is the shared maximum compact external JWT size.
MaxJWTBytes = 64 << 10
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Diagnostic ¶
Diagnostic records a bounded, token-free binding evaluation result.
type Result ¶
type Result struct {
IssuerID, Issuer, UpstreamSubject string
Claims map[string]any
Binding *config.EffectiveTrustBinding
Diagnostics []Diagnostic
}
Result contains verified provenance and the exactly matched binding.
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service performs external verification and policy evaluation.
func NewService ¶
NewService constructs a verifier with bounded HTTP behavior.
Click to show internal directories.
Click to hide internal directories.