import { compactVerify } from "https://deno.land/x/jose@v5.9.6/jws/compact/verify.ts";
Verifies the signature and format of and afterwards decodes the Compact JWS.
This function is exported (as a named export) from the main 'jose'
module entry point as well
as from its subpath export 'jose/jws/compact/verify'
.
Parameters
Key to verify the JWS with. See Algorithm Key Requirements.
optional
options: VerifyOptionsJWS Verify options.
Returns
Promise<CompactVerifyResult>
Parameters
getKey: CompactVerifyGetKey
Function resolving a key to verify the JWS with. See Algorithm Key Requirements.
optional
options: VerifyOptionsJWS Verify options.
Returns
Promise<CompactVerifyResult & ResolvedKey<KeyLikeType>>