Skip to content

Commit 8848445

Browse files
CADBIMDeveloperabatishchev
authored andcommitted
add a note to the changelog
1 parent ea878af commit 8848445

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

CHANGELOG.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,22 @@
11
# Unreleased
22

3+
- Added JSON Web keys support
4+
5+
It's possible to use JWKS with
6+
```cs
7+
var algorithmFactory = new JwtJsonWebKeySetAlgorithmFactory(webkeySetJsonString, serializer);
8+
9+
var decoder = new JwtDecoder(serializer, validator, urlEncoder, algorithmFactory);
10+
11+
var json = decoder.Decode(token);
12+
```
13+
or using the fluent builder API:
14+
```cs
15+
var decoded = JwtBuilder.Create()
16+
.WithJsonWebKeySet(webkeySetJsonString)
17+
.Decode<Customer>(token);
18+
```
19+
320
# 10.1.1
421

522
- Made ctor of ValidationParameters public, set default values for boolean properties to true

0 commit comments

Comments
 (0)