@argos-js/auth
v0.1.2
Published
Enterprise Authentication and Authorization Suite (JWT, API Keys, Argon2/Scrypt, Multi-Guards) for Argos-JS
Readme
@argos-js/auth
Authentication, authorization, JWT token management, password hashing, HTTP Basic Auth, and OAuth2/PKCE utilities for the Argos-JS framework.
Features
- 🔐 JWT Token Pair Management: Symmetric (HS256, HS512) and Asymmetric (RS256, Ed25519) token generation and verification.
- 🔄 Strict Refresh Token Rotation & Reuse Detection: Automated token family tracking and replay attack prevention.
- 🛡️ Guards & Middlewares: HTTP Basic Authentication, API Key authentication, Bearer tokens, and OAuth2 PKCE helpers.
- ⚡ Near-Cache Acceleration: Fast token caching and session verification with timing-safe comparisons.
License
MIT
