Expand description
NHI JWT claims.
Structs§
- NhiClaims
- Claims carried by an AgentVisor AI NHI token.
Enums§
- Audience
- The
audclaim per RFC 7519 §4.1.3: “a StringOrURI value or an array of StringOrURI”. Mainstream IdPs (Okta, Auth0, Azure AD, Cognito) emit the array form for multi-audience apps ("aud": ["agentvisor", "some-other-svc"]). Accepting only the string form silently locks the operator out at go-live with aninvalid type: sequence, expected stringerror deep insidejsonwebtoken::decode, before our validator’s aud check runs.
Constants§
- MAX_
TTL_ SECS - Hard TTL ceiling for NHI tokens: 15 minutes (brief Module D).