EnhancedAuthMiddleware class
Middleware de autenticación JWT mejorado
Proporciona extracción, validación y procesamiento de JWT tokens desde el Authorization header de requests HTTP
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
jwtAccessLogger(
) → Middleware - Middleware para logging de accesos JWT
-
jwtExtractor(
{required String jwtSecret, List< String> excludePaths = const []}) → Middleware - Middleware que extrae y valida JWT desde Authorization header
-
tokenBlacklist(
{required Set< String> blacklistedTokens}) → Middleware - Middleware para verificar tokens en blacklist