Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@deshartman/check-bearer

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@deshartman/check-bearer - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

4

checkBearer.js

@@ -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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc