انتقل إلى المحتوى الرئيسي

Interface: ActorTokenVerifierOptions

Defined in: packages/messaging/src/actor-token.ts:93

Options for ActorTokenVerifier.

Properties​

clock?​

readonly optional clock?: Clock

Defined in: packages/messaging/src/actor-token.ts:97

Defaults to the system clock. Should be the receiver's.


hosting?​

readonly optional hosting?: HostingInput

Defined in: packages/messaging/src/actor-token.ts:99

The permission table and hosting map; defaults to the real estate.


keys​

readonly keys: readonly ActorVerifyKey[]

Defined in: packages/messaging/src/actor-token.ts:95

The verify keys, one per kid; from loadActorVerifyKeys.


logger?​

readonly optional logger?: MessagingLogger

Defined in: packages/messaging/src/actor-token.ts:101

Where the reason a token failed is logged, at debug. Defaults to discarding.