Skip to content

Commit e8d21a1

Browse files
committed
chore: readme
Signed-off-by: Daniel Bluhm <[email protected]>
1 parent 14ecb9e commit e8d21a1

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

README.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,26 @@
11
# 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

0 commit comments

Comments
 (0)