1.1.2 • Published 2 years ago

@citywide/auth v1.1.2

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

Auth Package

This is for using common authentication inside the application

Requirement

Node : 16.x Typescript: 5.x

How to use

To install the package

npm i @sanjeevkumar-ditstek/auth

To import the package

import auth from @sanjeevkumar-ditstek/auth

To get is token is valid

auth.validateToken(TOKEN)

To generate Token

auth.generateToken(USERINFO)

To get Decoded Token information

auth.decodeToken(TOKEN)

1.1.2

2 years ago

1.1.1

2 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.2

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago