import { jwtDecrypt } from "https://deno.land/x/jose@v5.6.3/index.ts";
Verifies the JWT format (to be a JWE Compact format), decrypts the ciphertext, validates the JWT Claims Set.
Parameters
Private Key or Secret to decrypt and verify the JWT with. See Algorithm Key Requirements.
Returns
Promise<JWTDecryptResult<PayloadType>>
Parameters
Function resolving Private Key or Secret to decrypt and verify the JWT with. See Algorithm Key Requirements.
Returns
Promise<JWTDecryptResult<PayloadType> & ResolvedKey<KeyLikeType>>