import { jwtVerify } from "https://deno.land/x/faster@v11.7/vendor/jose/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 = JWTPayloadParameters
Key to verify the JWT with. See Algorithm Key Requirements.
optional
options: JWTVerifyOptionsJWT Decryption and JWT Claims Set validation options.
Returns
Promise<JWTVerifyResult<PayloadType>>
Type Parameters
optional
PayloadType = JWTPayloadParameters
getKey: JWTVerifyGetKey
Function resolving a key to verify the JWT with. See Algorithm Key Requirements.
optional
options: JWTVerifyOptionsJWT Decryption and JWT Claims Set validation options.
Returns
Promise<JWTVerifyResult<PayloadType> & ResolvedKey<KeyLikeType>>