danisoft_utils library

Classes

B64urlEncRfc7515
Implements "Base64url Encoding" as defined RFC 7515.
JwtClient
An immutable set of claims for a Java Web Token (JWT).
PageRouteTransition
Main class, context es el BuildContext de la aplicación en ese momento page es el widget a navegar, animation es el tipo de animación duration ducracion de la animacion es opcional replacement es opcional se usa para borrar el estac de navegacion
QrUtils

Enums

AnimationType
Tipos de animaciones

Functions

defaultJWTHeaderCheck(Map<Object, Object> h) bool
Default JOSE Header checker.
issueJwtHS256(JwtClient claimSet, String hmacKey) String
Issues a HMAC SHA-256 signed JWT.
verifyJwtHS256Signature(String token, String hmacKey, {JOSEHeaderCheck headerCheck = defaultJWTHeaderCheck, bool defaultIatExp = true, Duration maxAge = JwtClient.defaultMaxAge}) JwtClient
Verifies the signature and extracts the claim set from a JWT.

Typedefs

JOSEHeaderCheck = bool Function(Map<Object, Object> joseHeader)
Header checking function type used by verifyJwtHS256Signature.

Exceptions / Errors

JwtException
JWT exception thrown when an invalid token is encountered while parsing JWT token.