Skip to content

Commit 49d496b

Browse files
Merge branch 'main' into improve-doc-gen
2 parents 4efa394 + 0f244b6 commit 49d496b

3 files changed

Lines changed: 5 additions & 2 deletions

File tree

THIRD_PARTY_LICENSES.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,3 +77,4 @@ This script:
7777
---
7878

7979
**Last generated**: 2026-03-07
80+

docs/architecture/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# <img src="../images/archlette-stainedglassA-light.png" alt="" height="28" width="28" style="vertical-align:middle"> flarelette-jwt-kit
22

33
**Architecture Documentation**
4+
45
Generated 2026-03-06 18:21:58
56

67
## Overview

docs/user-guide/core-concepts.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ Algorithm selection comes from one of two configuration sources:
1919

2020
In practice: your deployment chooses the source (env or config object), and that source determines which algorithm is used.
2121

22+
2223
### HS512 (Symmetric)
2324

2425
**HMAC-SHA-512** with 64-byte shared secrets.
@@ -36,6 +37,7 @@ In practice: your deployment chooses the source (env or config object), and that
3637
- Fast signing and verification
3738
- Secret rotation requires coordinated rollout across producers and consumers
3839

40+
3941
**Environment detection:**
4042

4143
```bash
@@ -128,6 +130,7 @@ JWT_JWKS_CACHE_TTL_SECONDS=300 # Optional: default 5 minutes
128130

129131
The kit automatically detects which algorithm to use based on environment variables for HS512/EdDSA flows.
130132

133+
131134
**Detection logic:**
132135

133136
```
@@ -142,8 +145,6 @@ Consumer (verification):
142145

143146
**Note:** Asymmetric mode supports EdDSA (Ed25519), ECDSA (ES256/ES384/ES512), and RSA (RS256/384/512) verification. The actual algorithm is auto-detected from the JWK structure or token header.
144147

145-
**Important:** ES512 signing is explicit-API driven, not env auto-detected.
146-
147148
**Verification in code:**
148149

149150
**TypeScript:**

0 commit comments

Comments
 (0)