Skip to content

Interface: DelegationClaims

Defined in: packages/core/src/handoff/DelegationToken.ts:42

JWT-inspired claims embedded in the delegation token.

Properties

exp

ts
exp: number;

Defined in: packages/core/src/handoff/DelegationToken.ts:46

Expiry Unix timestamp (seconds)


iat

ts
iat: number;

Defined in: packages/core/src/handoff/DelegationToken.ts:45

Issued-at Unix timestamp (seconds)


iss

ts
iss: string;

Defined in: packages/core/src/handoff/DelegationToken.ts:43

Issuer URL (usually the gateway origin)


state?

ts
optional state: Record<string, unknown>;

Defined in: packages/core/src/handoff/DelegationToken.ts:48

Inline carry-over state (< 2 KB)


state_id?

ts
optional state_id: string;

Defined in: packages/core/src/handoff/DelegationToken.ts:49

Claim-Check reference when state was externalized


sub

ts
sub: string;

Defined in: packages/core/src/handoff/DelegationToken.ts:44

Scope identifier (e.g. 'finance_scope')


tid

ts
tid: string;

Defined in: packages/core/src/handoff/DelegationToken.ts:47

Unique transaction ID for distributed tracing


traceparent?

ts
optional traceparent: string;

Defined in: packages/core/src/handoff/DelegationToken.ts:50

W3C Trace Context header for distributed tracing