@ooneex/auth
v1.7.2
Published
Authentication framework with pluggable strategies for securing APIs and web applications — supports token-based and session-based authentication flows
Maintainers
Readme
@ooneex/auth
Authentication framework with pluggable strategies for securing APIs and web applications -- supports token-based and session-based authentication flows.
Features
✅ Clerk Integration - Built-in Clerk authentication client for user and session management
✅ Token Verification - Bearer token extraction and verification via Clerk backend
✅ Auth Middleware - Ready-to-use ClerkAuthMiddleware for protecting routes
✅ User Management - Get, update, ban, lock, unlock, and delete users through the Clerk API
✅ Session Management - Retrieve sessions and sign out users programmatically
✅ User Metadata - Read and update public, private, and unsafe metadata on user profiles
✅ Profile Images - Update and delete user profile images
✅ Dependency Injection - Injectable classes that integrate with the Ooneex DI container
✅ Custom Exceptions - AuthException with HTTP status codes for structured error handling
