Skip to content

GrantKeysOptions

Defined in: src/grants.ts:101

Options for GrantKeys.

optional audience?: string;

Defined in: src/grants.ts:104

Bound into every token’s AAD. Deployments that (against advice) share a key still cannot accept each other’s grants if their audiences differ.


optional clockSkewSeconds?: number;

Defined in: src/grants.ts:108

Tolerance applied to issued_at and expires_at.


optional maxTtlSeconds?: number;

Defined in: src/grants.ts:106

Ceiling on a grant’s lifetime, at minting and at verification.