import { verify } from "https://dotland.deno.dev/x/djwt@v3.0.2/mod.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>