ftauth_jwt library Null safety

A simple, robust JWT library.

Classes

Base64RawUrlCodec
Base64UrlUintCodec
Base64UrlUintDecoder
Base64UrlUintEncoder
ConfirmationClaim
HmacKey
JsonWebClaims
JsonWebHeader
JsonWebKey
JsonWebKeySet
JsonWebToken
OtherPrime
RsaPrivateKey
RsaPublicKey
Signer
Verifier

Extensions

AlgorithmX
EllipticCurveX
JWKCryptoKey
KeyTypeX
PublicKeyUseX
RSASigner
RSAVerifier
TokenTypeX

Constants

base64RawUrl → const Base64RawUrlCodec
base64UrlUint → const Base64UrlUintCodec
serialize → const JsonSerializable
Default serializer.
JsonSerializable(includeIfNull: false, explicitToJson: true)

Functions

base64UrlUintDecode(String input) BigInt
base64UrlUintEncode(BigInt? input) String?
base64UrlUintTryDecode(String? input) BigInt?
decodeBase64(String base64) Map<String, Object?>
decodeDateTime(int? json) DateTime?
encodeDateTime(DateTime? dt) int?
initSecureRandom() → SecureRandom
symmetricKeyFromJson(String? json) List<int>?
symmetricKeyToJson(List<int>? key) String?

Enums

Algorithm
EllipticCurve
KeyOperation
KeyType
PublicKeyUse
TokenType

Exceptions / Errors

MissingParameterExeception
VerificationException