offline_tokens library
Pure-Dart offline verification for JWS compact tokens signed with EdDSA (Ed25519).
Designed for offline licence and session token verification in Flutter and standalone Dart applications.
Classes
- OfflineTokenResult
- The decoded and verified header and claims of an offline token.
- OfflineTokenVerificationResult
- Non-throwing result of an offline token verification attempt.
- OfflineTokenVerifier
- Offline token verifier for JWS compact tokens signed with EdDSA (Ed25519).
- OkpKey
- Represents an Ed25519 public key in JWK OKP format (RFC 8037).
- OkpKeySet
-
A set of OkpKey public keys indexed by
kid.
Enums
- OfflineTokenReason
- Reasons for token verification failure.
Exceptions / Errors
- OfflineTokenException
- Exception thrown when an offline token fails verification.