@diagramers/cli 1.0.22 → 1.0.23
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/README.md +17 -3
- package/package.json +1 -1
package/README.md
CHANGED
@@ -55,10 +55,10 @@ diagramers init admin <project-name>
|
|
55
55
|
- MongoDB with Mongoose
|
56
56
|
- Firebase Functions integration
|
57
57
|
- Socket.io for real-time features
|
58
|
-
- Authentication
|
58
|
+
- **Multi-Provider Authentication System** - Internal, Firebase, OAuth, SMS OTP, Email OTP
|
59
59
|
- Email and SMS services
|
60
60
|
- Audit logging
|
61
|
-
- Environment configurations
|
61
|
+
- Environment configurations with comprehensive auth settings
|
62
62
|
|
63
63
|
### Project Updates
|
64
64
|
|
@@ -79,7 +79,7 @@ diagramers update --force
|
|
79
79
|
# List available features
|
80
80
|
diagramers extend --list
|
81
81
|
|
82
|
-
# Add authentication system
|
82
|
+
# Add authentication system (includes multi-provider auth)
|
83
83
|
diagramers extend --feature auth
|
84
84
|
|
85
85
|
# Add email service
|
@@ -95,6 +95,20 @@ diagramers extend --feature cron
|
|
95
95
|
diagramers extend --feature audit
|
96
96
|
```
|
97
97
|
|
98
|
+
### Authentication System Features
|
99
|
+
|
100
|
+
The CLI now supports the enhanced multi-provider authentication system:
|
101
|
+
|
102
|
+
- **Internal Authentication** - Email/password with configurable policies
|
103
|
+
- **Firebase Authentication** - Google Firebase integration
|
104
|
+
- **OAuth Providers** - Google, Facebook, GitHub, LinkedIn, Twitter
|
105
|
+
- **SMS OTP** - One-time passwords via SMS (Twilio/AWS SNS)
|
106
|
+
- **Email OTP** - One-time passwords via email
|
107
|
+
- **Session Management** - JWT tokens with refresh capabilities
|
108
|
+
- **Unified User Model** - Single user with multiple auth providers
|
109
|
+
|
110
|
+
All new projects include comprehensive authentication configuration with dummy values that developers can replace with their own credentials.
|
111
|
+
|
98
112
|
## 🔧 API Development Commands
|
99
113
|
|
100
114
|
### Generate Complete Module
|