MintStreamTokenOptions
Defined in: packages/server/src/circuits/stream-token.ts:74
Properties
Section titled “Properties”grants
Section titled “grants”grants: readonly
StreamGrant[]
Defined in: packages/server/src/circuits/stream-token.ts:76
now:
number
Defined in: packages/server/src/circuits/stream-token.ts:84
Seconds since the epoch. Injected so minting is testable and so a batch shares one issue time.
sub:
string
Defined in: packages/server/src/circuits/stream-token.ts:75
ttlSeconds?
Section titled “ttlSeconds?”
optionalttlSeconds?:number
Defined in: packages/server/src/circuits/stream-token.ts:82
Lifetime in seconds. The ADR-0055 default is 5 minutes, which is also the revocation bound when a hit-serving third-party CDN sits in front: shorten it where that bound matters more than the re-mint traffic, lengthen it where it does not.