@deshartman/check-bearer
Advanced tools
Comparing version 1.0.3 to 1.0.4
@@ -1,3 +0,2 @@ | ||
import jwt from 'jsonwebtoken'; | ||
const jwt = require('jsonwebtoken'); | ||
/** | ||
@@ -14,2 +13,3 @@ * This is a utility class that checks the HTTP header for a "Bearer: JWT" and compares the JWT validity against | ||
module.exports = class CheckBearer { | ||
constructor(headers = {}, secret = "") { | ||
@@ -16,0 +16,0 @@ super(); |
{ | ||
"name": "@deshartman/check-bearer", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"description": "Utility: Checks the Twilio token (JWT) in the Auth Bearer header using the Twilio API secret key", | ||
@@ -5,0 +5,0 @@ "main": "checkBearer.js", |
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
2239