1.0.1 • Published 9 months ago

dm-authz v1.0.1

Weekly downloads
-
License
ISC
Repository
-
Last release
9 months ago

Authz

This library will help to validate the Id Token and Auth Token.

Integration Steps

Create the separate routes file (i.e auth.routes.js) and add the routes like below, a. router.post('/verifyAuthToken', authorize.verifyAuthToken) b. router.get('/verifyIdToken', authorize.verifyIdToken)

Build

Execute the below command for build. - npm run build

Once Build succeed it will create the dist folder.

Publish

Place the .npmrc file inside the dist folder.

Execute the below command for publish - npm publish