Skip to content

authx-rs

Every auth feature you need — sessions, MFA, OAuth, RBAC, ABAC, audit logs — as composable Rust plugins.

Plugin-based

Every feature is an opt-in plugin. Use only what you need — email/password, TOTP, magic links, OAuth, API keys, anonymous auth, and more.

Storage-agnostic

Trait-based repository layer. Ships with in-memory (tests/dev) and PostgreSQL adapters. Bring your own for anything else.

Security by default

Argon2id · Ed25519 JWTs · AES-256-GCM · CSRF · per-IP rate limiting · brute-force lockout. All on by default.

Zero framework lock-in

authx-core imports nothing from Axum or Actix. The HTTP layer is a thin optional adapter — your auth logic is forever portable.