@piyushkumar96-common-libraries/app-auth
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

Application Auth Token NPM Library

Properties

  • Name: app-auth
  • Latest Version: 1.0.0

Features

  1. CreateAuthToken (JWT)
  2. VerifyAuthToken (JWT)

Env variables

    JWT_TOKEN_EXPIRATION_TIME: The time duration upto which the token will be valid. Default value is 60 * 60 * 1000 i.e. 1 hour

Package Sidebar

Install

npm i @piyushkumar96-common-libraries/app-auth

Weekly Downloads

1

Version

1.0.1

License

ISC

Unpacked Size

129 kB

Total Files

6

Last publish

Collaborators

  • piyushkumar96