How fusionauth/fusionauth-jwt works
Relationships and Data Flow
a. Input/Output flow:
• Raw JWT String → Decoder → JWT Object
• JWT Object → Encoder → Signed JWT String
b. Verification flow:
• Signed JWT → Verifier → Validation Result
c. Key Management flow:
• PEM Files → PEM Decoder → Keys
• Keys → Signers/Verifiers
Integration Points
External interfaces:
• JWKS Endpoint Integration
• OpenID Connect Integration
• Jackson JSON Processing
Component Details
For each major component, include:
• Supported Algorithms (HS256, HS384, HS512, RS256, etc.)
• Key Types (RSA, EC, HMAC)
• Security Provider Integration Points
Notes Section
Important notes about:
• FIPS compliance capabilities
• Minimum Java version requirements
• Security considerations
• Clock skew handling
• The modular nature of the crypto provider system
• The separation between signing and verification operations
• The flexibility in key format support (PEM, JWK, raw keys)
• The integration capabilities with external systems
Remember to include version information (5.3.3 as per README) and note the single external dependency on Jackson, as these are important architectural considerations.