import { jose } from "https://deno.land/x/jwe_cookie_map@v1.0.1/src/deps.ts";
const { jwtVerify } = jose;
Verifies the JWT format (to be a JWS Compact format), verifies the JWS signature, validates the JWT Claims Set.
Parameters
key: KeyLike | Uint8Array
Key to verify the JWT with. See Algorithm Key Requirements.
optional
options: JWTVerifyOptionsJWT Decryption and JWT Claims Set validation options.
Returns
Promise<JWTVerifyResult>
Parameters
getKey: JWTVerifyGetKey
Function resolving a key to verify the JWT with. See Algorithm Key Requirements.
optional
options: JWTVerifyOptionsJWT Decryption and JWT Claims Set validation options.
Returns
Promise<JWTVerifyResult & ResolvedKey<T>>