1.0.0 • Published 3 years ago
pg-node-jwt v1.0.0
Commonly Used JSON Web Token Utilities JavaScript Library
Functions
decode(encodedJwt)
- Decode the JSON Web Token and return its 3 parts (header, payload, and signature) still in JSON formatextractHeader(encodedJwt)
- Decode the JSON Web Token and return just its header as an objectextractSignature(encodedJwt)
- Decode the JSON Web Token and return just its signature as an objectextractToken(encodedJwt)
- Decode the JSON Web Token and return just its payload as an objectverify(encodedJwt)
- Asynchronous function that decodes the JSON Web Token and validate it against Azure AD. Other validations coming in the future.
1.0.0
3 years ago