Documentation
¶
Overview ¶
Package invocation owns host-issued provenance, request admission and ownership. Route IDs and SDK diagnostic metadata are never authenticated principals.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AuthorizeFunc ¶
type Boundary ¶
type Boundary struct {
// contains filtered or unexported fields
}
func NewBoundary ¶
func NewBoundary(authorizer Authorizer) *Boundary
func (*Boundary) Reauthorize ¶ added in v0.12.0
Reauthorize refines an existing reference request with its catalogue-derived query scope. It never issues a new identity, changes the bound resource, or treats an earlier allow decision as permission for the refined scope.
func (*Boundary) RegisterDelegation ¶ added in v0.27.0
func (b *Boundary) RegisterDelegation(ctx context.Context, grant Delegation) (func(), error)
RegisterDelegation attaches a narrow owner grant to the already admitted call.
type Delegation ¶ added in v0.27.0
type Delegation struct {
Consumer string
Owner string
Connection string
ReadOnly bool
Grant config.ConnectionGrant
}
Delegation is a host-created, invocation-bound resource grant.
type Principal ¶
type Principal struct {
// contains filtered or unexported fields
}
Principal can only be issued by native host code. Initial generation reserves an ownership slot; it does not implement revocation or policy change detection.