Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/oauth4webapi/build/index.d.ts>validateJwtIntrospectionSignature

Low-Level OAuth 2 / OpenID Connect Client API for JavaScript Runtimes
Latest
function validateJwtIntrospectionSignature
import { validateJwtIntrospectionSignature } from "https://deno.land/x/oauth4webapi@v2.17.0/build/index.d.ts";

Validates the JWS Signature of an JWT !Response body of responses previously processed by processIntrospectionResponse for non-repudiation purposes.

Note: Validating signatures of JWTs received via direct communication between the Client and a TLS-secured Endpoint (which it is here) is not mandatory since the TLS server validation is used to validate the issuer instead of checking the token signature. You only need to use this method for non-repudiation purposes.

Note: Supports only digital signatures.

Parameters

Authorization Server Metadata.

Response previously processed by processIntrospectionResponse.

optional
options: ValidateSignatureOptions

Returns

Promise<void>

Resolves if the signature validates, rejects otherwise.