import { verify } from "https://deno.land/x/deno_nest@v3.15.1/modules/jwt/deps.ts";
Takes jwt, CryptoKey
and VerifyOptions
and returns the Payload
of the
jwt if the jwt is valid. Otherwise it throws an Error
.
Type Parameters
PayloadType extends Payload
Returns
Promise<PayloadType>