Cereal docs
TypeScript SDKTypeScript signatures

VerificationOptions

Public TypeScript declaration from @trycereal/sdk.

Import from @trycereal/sdk. Generated from the repository SDK declarations (package version 0.0.0); not from HTTP request schemas.

export interface VerificationOptions {
    readonly jwksUrl?: string;
    readonly audience?: string;
    readonly clockToleranceSeconds?: number;
    readonly fetch?: typeof globalThis.fetch;
    readonly expect?: {
        readonly org?: string | null;
        readonly env?: string | ReadonlyArray<string> | null;
        readonly agent?: string | ReadonlyArray<string> | null;
        readonly connection?: string | ReadonlyArray<string> | null;
    };
    readonly replay?: false | {
        readonly store?: CerealReplayStore;
    };
}

See SDK setup, authoring, client behavior, and the API/SDK map for usage. Domain types are described in schema reference.

Related SDK types: CerealReplayStore.