We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5fda1a2 commit afd9cc2Copy full SHA for afd9cc2
CHANGELOG.md
@@ -3,6 +3,10 @@
3
All notable changes to this project will be documented in this file.
4
This project adheres to [Semantic Versioning](http://semver.org/).
5
6
+## 2.0.0 2017.08.09
7
+
8
+- Complete reimplementation in TypeScript
9
10
## 1.0.1 - 2017-04-25
11
12
- Fixes #1 (extractKeyId is rejected with SyntaxError if the JWT header is not JSON)
README.md
@@ -30,7 +30,7 @@ function privkeyResolver (keyId) {
30
return {key, passphrase, alg}
31
}
32
33
-const jwtHandler = jwt.Handler('myproject', pubkeyResolver, privkeyResolver)
+const jwtHandler = new jwt.JwtHandler('myproject', pubkeyResolver, privkeyResolver)
34
35
// Verifying JWT tokens
36
jwtHandler.verify(jwtRaw)
0 commit comments