
A small c library that with no external dependencies other than Radikant’s Crypto, Json. This library can be used to mint, sign and verify JWT (Json Web Tokens). The API is designed for simplicity. It is currently used by Radikant-Firebase-C and other database libs that need auth.
Sign and verify JWT’s
ECDSA
ES256
ES384
ES512
RSASSA-PKCS1-v1_5
RS256
RS384
RS512
RSASSA-PSS
PS256
PS384
PS512
HMAC-SHA
HS256
HS384
HS512
Mint (Create) & Encode: The library allows users to initialize a new token object and inject "claims" (key-value pairs like User ID, Role, or Expiration). It then serializes this JSON data into the standard Base64URL-encoded string format (Header.Payload.Signature).
This library allows users to decode a token and extract claims from the token.
It is possible extract claims directly from the decoded jwt.