Skip to main content

Module org_context

Module org_context 

Source
Expand description

Cross-cutting platform context bundle.

OrganizationContext carries the tenant, principal, request-id, roles, and an optional opaque attestation in a single, cheap-to-clone bundle. Downstream services consume this type instead of threading (org_id, principal) pairs through every function.

Structs§

Attestation
Opaque attestation / credential bundle.
OrganizationContext
Platform context bundle — org, principal, request-id, roles, org-path, attestation.
Role
Authorization role identifier.
RoleBinding
An authorization role paired with the scope at which it is valid.

Enums§

AttestationKind
Kind of attestation token or credential.
RoleScope
Scope at which a role binding applies.