import { jwtVerify } from "https://deno.land/x/jose@v4.15.1/index.ts";
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>>