VerifyJwsOptions
VerifyJwsOptions
Options for verifyCompactJws.
ts
interface VerifyJwsOptions {
readonly algorithms: readonly [JwsAlgorithm, undefined];
readonly key: CryptoKey | JwsKeyResolver;
readonly tokenType: TokenTypePolicy;
readonly limits?: Partial<JoseLimits>;
readonly signal?: AbortSignal;
}Properties
readonlyalgorithms:readonly[JwsAlgorithm,undefined] — Algorithms admitted for this token use. Never derived from the token.readonlykey:CryptoKey|JwsKeyResolver— A fixed verification key, or a resolver chosen by the caller.readonlytokenType:TokenTypePolicy— The token type this verification accepts.readonlylimits?:Partial<JoseLimits> — Overrides forDEFAULT_JOSE_LIMITS.readonlysignal?:AbortSignal— Cancels key resolution.