File tree Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Original file line number Diff line number Diff line change 1
1
# token-status-list
2
+
3
+ This is an implementation of [ Token Status List Draft 2] [ spec ] .
4
+
5
+ [ spec ] : https://datatracker.ietf.org/doc/html/draft-ietf-oauth-status-list-02
6
+
7
+
8
+ ## Features
9
+
10
+ - Support for 1, 2, 4, and 8 bits.
11
+ - Compression as required by the Specification (ZLIB at level 9)
12
+ - Formatting and signing Status Lists as either JWT or CWT
13
+ - A ` TokenSigner ` protocol is defined so the user can Bring Their Own Crypto implementation
14
+ - Alternatively, methods for preparing payloads and assembling payload and signature bytes into the final token is also supported.
15
+ - Two Index Allocation strategies, Linear and Random
16
+ - Linear strategy will allocate indices serially
17
+ - Random strategy will allocate indices pseudo-randomly (as the list fills, speed is favored over randomness)
18
+ - Allocators contain state that must be persisted along side the status list itself
19
+ - IssuerStatusList and Allocators are serializeable so the user can persist them to the backend of their choice
20
+
21
+ ## Planned Features
22
+
23
+ These are features that I intend to include soon.
24
+
25
+ - VerifierStatusList providing helpers to verify and validate a Status List Token obtained for verification.
26
+ - Examples
You can’t perform that action at this time.
0 commit comments