Skip to content

DID-Auth middelware for Express like servers

License

MIT, MIT licenses found

Licenses found

MIT
LICENSE
MIT
LICENSE.md
Notifications You must be signed in to change notification settings

Notabene-id/did-auth-express

did-auth-express

DID-Auth middelware for Express like servers

Build Status License npm GitHub last commit codecov

Documentation: https://notabene-id.github.io/did-auth-express/

Description

This package provides Express middleware for DID-AUTH authentication.

Installation

yarn

yarn add did-auth-express

npm

npm install did-auth-express

Usage

Basic middleware registration

const didauth = require("did-auth-express");

app.use(
  "/api",
  didauth({
    resolverOptions: {
      infuraProjectId: process.env.INFURA_PROJECT_ID,
      cache: false,
    },
  })
);

Development

Instal dependencies

$ npm install

Build

$ npm run build

Test

$ npm test

To publish to NPM:

$ pika publish

To publish dosc:

$ npm run docs

Contributing

Contributions are welcome!

Want to file a bug, request a feature or contribute some code?

  • Check out the Code of Conduct
  • Check that there is no existing issue corresponding to your bug or feature
  • Before implementing a new feature, discuss your changes in an issue first!

License

MIT © Notabene

About

DID-Auth middelware for Express like servers

Resources

License

MIT, MIT licenses found

Licenses found

MIT
LICENSE
MIT
LICENSE.md

Code of conduct

Stars

Watchers

Forks

Packages

No packages published