azure-ad-verify-token
Advanced tools
Comparing version 3.0.2 to 3.0.3
@@ -0,1 +1,2 @@ | ||
import jsonwebtoken from 'jsonwebtoken'; | ||
import { VerifyOptions } from './interfaces.js'; | ||
@@ -8,2 +9,2 @@ /** | ||
*/ | ||
export declare function verify(token: string, options: VerifyOptions): Promise<string | import("jsonwebtoken").JwtPayload>; | ||
export declare function verify(token: string, options: VerifyOptions): Promise<string | jsonwebtoken.JwtPayload>; |
@@ -1,5 +0,6 @@ | ||
import { decode as jwtDecode, verify as jwtVerify } from 'jsonwebtoken'; | ||
import jsonwebtoken from 'jsonwebtoken'; | ||
import fetch from 'node-fetch'; | ||
import getPem from 'rsa-pem-from-mod-exp'; | ||
import { getItem, setDeferredItem, setItem } from './cache.js'; | ||
const { decode: jwtDecode, verify: jwtVerify } = jsonwebtoken; | ||
/** | ||
@@ -6,0 +7,0 @@ * Get public key. |
{ | ||
"name": "azure-ad-verify-token", | ||
"version": "3.0.2", | ||
"version": "3.0.3", | ||
"description": "Verify JWT issued by Azure Active Directory B2C.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
12260
295