import { jwtVerify } from "https://dotland.deno.dev/x/jose@v5.2.0/index.ts";
Verifies the JWT format (to be a JWS Compact format), verifies the JWS signature, validates the JWT Claims Set.
Type Parameters
optional
PayloadType = JWTPayloadReturns
Promise<JWTVerifyResult<PayloadType>>
Type Parameters
optional
PayloadType = JWTPayloadParameters
getKey: JWTVerifyGetKey
Function resolving a key to verify the JWT with. See Algorithm Key Requirements.
Returns
Promise<JWTVerifyResult<PayloadType> & ResolvedKey<KeyLikeType>>