Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

auth-tokens

leon-win21MIT0.1.9

Auth library for Node.js applications based on access and refresh tokens approach

auth token, access token, refresh token, csrf, jwt

readme

node-auth-tokens

npm Code coverage Code style: Prettier License: MIT

Auth library for Node.js applications based on access and refresh tokens approach

Install

$ npm install auth-tokens

Example

To launch the Node.js HTTP server based example, clone the repository, install dependencies and run the example command:

$ git clone https://github.com/leon-win/node-auth-tokens.git
$ cd node-auth-tokens
$ npm install
$ npm run example

Note: example server uses memory storage (JavaScript array) and is not suitable for production.

To do list

List of planned works is in the Development plan.

License

MIT

Copyright (c) 2019-present, Leonid Vinogradov