# Functions
JWTMiddleware validates the JWT token and extracts user claims.
RateLimiterMiddleware returns a middleware that blocks users after too many failed login attempts.
RoleMiddleware checks if the user's role ID is in the list of required role IDs.
# Structs
RateLimiterConfig holds the configuration for rate limiting.