From 40b2459e5fc3e43558fcb4fec37af90401e1b178 Mon Sep 17 00:00:00 2001 From: Alexander Ignatovich Date: Sun, 4 Feb 2024 22:00:15 +0200 Subject: [PATCH] add a note to the changelog --- CHANGELOG.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1210db4f7..2359eefbe 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,22 @@ # Unreleased +- Added JSON Web keys support + +It's possible to use JWKS with +```cs +var algorithmFactory = new JwtJsonWebKeySetAlgorithmFactory(webkeySetJsonString, serializer); + +var decoder = new JwtDecoder(serializer, validator, urlEncoder, algorithmFactory); + +var json = decoder.Decode(token); +``` +or using the fluent builder API: +```cs +var decoded = JwtBuilder.Create() + .WithJsonWebKeySet(webkeySetJsonString) + .Decode(token); +``` + # 10.1.1 - Made ctor of ValidationParameters public, set default values for boolean properties to true