auth0-horn-middlewares

0.0.4 • Public • Published

auth0-horn-middlewares | npm version

Provides middlewares to be used in webtasks to handle authentication with Auth0

const Auth0   = require('auth0-horn-middlewares');


app.get('/secure', 
  Auth0.ensureAuthenticated,        
  (req, res, next) => {
    res.status(200); 
  });

/auth0-horn-middlewares/

    Package Sidebar

    Install

    npm i auth0-horn-middlewares

    Weekly Downloads

    2

    Version

    0.0.4

    License

    MIT

    Last publish

    Collaborators

    • texeira