Cereal docs
TypeScript SDKTypeScript signatures

VerifyCerealRequestOptions

Public TypeScript declaration from @trycereal/sdk/verify.

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

export interface VerifyCerealRequestOptions {
    readonly jwksUrl?: string | URL;
    readonly organization?: string;
    readonly audience: string;
    readonly purpose?: CerealPurpose;
    readonly expect?: {
        readonly org?: string;
        readonly env?: string | ReadonlyArray<string>;
        readonly agent?: string | ReadonlyArray<string>;
        readonly connection?: string | ReadonlyArray<string>;
    };
    readonly replay?: false | {
        readonly store?: CerealReplayStore;
    };
    readonly clockToleranceSeconds?: number;
    readonly fetch?: typeof globalThis.fetch;
    readonly header?: "authorization" | "x-cereal-signature";
}

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

Related SDK types: CerealPurpose, CerealReplayStore.