You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[](https://openbase.com/js/jwt-authn?utm_source=embedded&utm_medium=badge&utm_campaign=rate-badge)
13
-
12
+
[link to npm](https://www.npmjs.com/package/jwt-authn)
14
13
# jwt-authn
15
14
16
15
jwt-authn is an npm package for dealing with JSON Web Tokens (JWT). Encoding, decoding, verifying, signing, and more coming. It includes support for the RS256 and HS256 algorithms and JWK and PEM format keys (even encrypted keys). Only Node >=15.x as a requirement!
@@ -30,28 +29,28 @@ Now with command line support!
30
29
-[⬆Usage](#usage)
31
30
-[⬆Installation:](#installation)
32
31
-[⬆Accepted Form of JWTs](#accepted-form-of-jwts)
33
-
-[⬆CLI support for JWT Decoding](#-cli-support-for-jwt-decoding)
-[⬆Generating RSA256 private and public key pair](#-generating-rsa256-private-and-public-key-pair)
52
-
-[⬆Changing public key generated with ssh-keygen (the above command) into PEM format](#-changing-public-key-generated-with-ssh-keygen-the-above-command-into-pem-format)
53
-
-[⬆Contributing](#-contributing)
54
-
-[⬆License](#-license)
32
+
-[⬆CLI support for JWT Decoding](#cli-support-for-jwt-decoding)
-[⬆Generating RSA256 private and public key pair](#generating-rsa256-private-and-public-key-pair)
51
+
-[⬆Changing public key generated with ssh-keygen (the above command) into PEM format](#changing-public-key-generated-with-ssh-keygen-the-above-command-into-pem-format)
Use to create the base64url encoding of the the input.
@@ -508,11 +507,11 @@ base64URLEncode(payload);
508
507
509
508
---
510
509
511
-
## [⬆](#index) Appendix
510
+
## [⬆Appendix](#index)
512
511
513
512
<br>
514
513
515
-
### [⬆](#index)What is a JWT?
514
+
### [⬆What is a JWT?](#index)
516
515
A JWT (JSON Web Token), pronounced like "jot", passes along information in the form of claims. It's often used because it's url safe and compact. Its components are also in the form of JSON objects, a popular way to read information across the internet. The cryptographic mechanisms of a JWS provide integrity protection as well.
517
516
518
517
Resources:
@@ -526,7 +525,7 @@ Resources:
526
525
<br>
527
526
<br>
528
527
529
-
### [⬆](#index)Generating RSA256 private and public key pair
528
+
### [⬆Generating RSA256 private and public key pair](#index)
0 commit comments