You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

auth0-verify

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

auth0-verify

Verifies Auth0 tokens

2.0.0
latest
Source
npmnpm
Version published
Weekly downloads
6
200%
Maintainers
1
Weekly downloads
 
Created
Source

Auth0 Verify

Verifies Auth0 tokens with promises.

Installation

npm install --save auth0-verify

or install with Yarn:

yarn add auth0-verify

Usage

var verify = require('auth0-verify')

verify('some.access.token', 'auth0Username.auth0.com', 'auth0AppID')
	.then(function(res){
		console.log('Token is valid!')
		console.log('Token:', res)
	})
	.catch(function(err){
		console.log('Token is not valid!')
	})

Keywords

auth0

FAQs

Package last updated on 19 Jan 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts