Skip to content

Commit 0c5ba7a

Browse files
authored
Update Swift's JWTKit's supported algorithms (#680)
* Update Swift's JWTKit supported algorithms * Update JWTKit install command * Format * Add `typ` header to JWTKit
1 parent 59f098d commit 0c5ba7a

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

views/website/libraries/19-Swift.json

+7-7
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@
4747
"nbf": true,
4848
"iat": true,
4949
"jti": true,
50+
"typ": true,
5051
"hs256": true,
5152
"hs384": true,
5253
"hs512": true,
@@ -56,16 +57,16 @@
5657
"es256": true,
5758
"es384": true,
5859
"es512": true,
59-
"ps256": false,
60-
"ps384": false,
61-
"ps512": false
60+
"ps256": true,
61+
"ps384": true,
62+
"ps512": true,
63+
"eddsa": true
6264
},
6365
"authorUrl": "https://github.com/vapor",
6466
"authorName": "Vapor",
6567
"gitHubRepoPath": "vapor/jwt-kit",
6668
"repoUrl": "https://github.com/vapor/jwt-kit",
67-
"installCommandHtml":
68-
".package(url: \"https://github.com/vapor/jwt-kit.git\", from: \"4.0.0\")"
69+
"installCommandHtml": ".package(url: \"https://github.com/vapor/jwt-kit.git\", from: \"5.0.0\")"
6970
},
7071
{
7172
"minimumVersion": null,
@@ -127,8 +128,7 @@
127128
"authorName": "IBM Swift",
128129
"gitHubRepoPath": "IBM-Swift/Swift-JWT",
129130
"repoUrl": "https://github.com/IBM-Swift/Swift-JWT",
130-
"installCommandHtml":
131-
".package(url:\"https://github.com/IBM-Swift/Swift-JWT\", from: \"3.5.0\")"
131+
"installCommandHtml": ".package(url:\"https://github.com/IBM-Swift/Swift-JWT\", from: \"3.5.0\")"
132132
},
133133
{
134134
"minimumVersion": null,

0 commit comments

Comments
 (0)