auth0-verify

2.0.0 • Public • Published

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!')
    })

Package Sidebar

Install

npm i auth0-verify

Weekly Downloads

0

Version

2.0.0

License

MIT

Last publish

Collaborators

  • amadoa
  • dalewray
  • codevelopit
  • mastaaaron
  • escasports
  • tbaustin
  • ken85rose