ironflow-auth
Authentication library for ironflow -- JWT tokens, password hashing, and Axum extractors.
Features
- JWT -- HS256 access + refresh tokens with configurable expiration
- Password hashing -- Argon2id (OWASP-recommended parameters)
- Cookie management -- HttpOnly secure cookies for token storage
- Axum extractor --
AuthenticatedUserextractor for route handlers
Quick start
use ;
use password;
use Uuid;
License
MIT License - see LICENSE for details.