JSPM

@authing/express

0.0.8
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 2
  • Score
    100M100P100Q26999F
  • License ISC

Authing middleware for express.js

Package Exports

  • @authing/express

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@authing/express) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

express-authing

Install

$ npm install express-authing --save

Usage

var express = require('express')
var app = express()
var authing = require('express-authing')

app.use(authing({
  clientId: '',
  secret: ''
}))

app.get('/', function (req, res) {
  //use authing

  //req.authing.login
  //req.authing.register
  //req.authing...
})

app.listen(3000)

More

Authing Official Docs