Skip to content

GrantClaims

Defined in: src/grants.ts:217

What a verified grant says.

expiresAt: number;

Defined in: src/grants.ts:229

Seconds since the Unix epoch.


grantId: string;

Defined in: src/grants.ts:225

Correlation handle.


issuedAt: number;

Defined in: src/grants.ts:227

Seconds since the Unix epoch.


principal: string;

Defined in: src/grants.ts:219

Whose standing delegation this is – the caller it was minted for.


purpose: string;

Defined in: src/grants.ts:223

Why it was minted, for the audit trail.


scopes: string[];

Defined in: src/grants.ts:221

What it may do; the worker interprets them.