import { jwtVerify } from "https://dotland.deno.dev/x/jose@v5.9.6/index.ts";
Verifies the JWT format (to be a JWS Compact format), verifies the JWS signature, validates the JWT Claims Set.
This function is exported (as a named export) from the main 'jose'
module entry point as well
as from its subpath export 'jose/jwt/verify'
.
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>>