auth-verify 1.2.1 → 1.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/readme.md +2 -2
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -23,11 +23,11 @@ npm install auth-verify
|
|
|
23
23
|
|
|
24
24
|
## ⚙️ Quick overview
|
|
25
25
|
|
|
26
|
-
- `AuthVerify` (entry): constructs and exposes `.jwt`, `.otp`,
|
|
26
|
+
- `AuthVerify` (entry): constructs and exposes `.jwt`, `.otp`, (optionally) `.session` and `.oauth` managers.
|
|
27
27
|
- `JWTManager`: sign, verify, decode, revoke tokens. Supports `storeTokens: "memory" | "redis" | "none"`.
|
|
28
28
|
- `OTPManager`: generate, store, send, verify, resend OTPs. Supports `storeTokens: "memory" | "redis" | "none"`. Supports email, SMS helper, Telegram bot, and custom dev senders.
|
|
29
29
|
- `SessionManager`: simple session creation/verification/destroy with memory or Redis backend.
|
|
30
|
-
- `OAuthManager`: Handle OAuth 2.0 logins for Google, Facebook, GitHub, X
|
|
30
|
+
- `OAuthManager`: Handle OAuth 2.0 logins for Google, Facebook, GitHub, X and Linkedin
|
|
31
31
|
---
|
|
32
32
|
|
|
33
33
|
## 🚀 Example: Initialize library (CommonJS)
|