1.1.2 • Published 10 months ago

@citywide/auth v1.1.2

Weekly downloads
-
License
ISC
Repository
-
Last release
10 months 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

10 months ago

1.1.1

1 year ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.2

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago