kiss_auth 0.3.0
kiss_auth: ^0.3.0 copied to clipboard
A modular authentication and authorization interface for Dart applications.
0.3.0 #
β¨ New Features #
- Password Reset: Added
resetPasswordmethod toLoginProviderinterface andLoginService - PasswordResetResult: New result type for password reset operations
- Forgot Password UI: Added forgot password dialog to reference example app
π§ Improvements #
- InMemoryLoginProvider: Now supports password reset with user existence check
- AuthService: Added
resetPasswordmethod for reference example - LoginScreen: Added "Forgot Password?" link with dialog flow
π Bug Fixes #
- Fixed deprecated
valueparameter inDropdownButtonFormField(replaced withinitialValue)
0.2.0 #
β¨ New Features #
- User Creation: Added
createUsermethod toLoginProviderinterface - UserCreationCredentials: New credential type for user registration
- Enhanced LoginService: Added
createUserandcreateUserWithEmailmethods - Signup Support: Updated reference example app with complete signup flow
- Comprehensive Tests: Added full test suite for user creation functionality
π§ Improvements #
- InMemoryLoginProvider: Now supports user creation with duplicate email checking
- AuthService: Enhanced with proper signup functionality
- Example App: Added signup screen with form validation and navigation
ποΈ Example Updates #
- Removed redundant example files in favor of comprehensive reference app
- Added signup screen with password confirmation and display name support
- Updated login screen with signup navigation link
0.1.0 #
Initial release with three independent modules:
π Authentication Module (kiss_authentication) #
- JWT token validation (HMAC & RSA)
- Extract user identity from tokens
π€ Login Module (kiss_login) #
- Credential-based authentication interfaces
- Support for username/password, email/password, API keys, OAuth, anonymous
- Abstract
LoginProviderfor external implementations (Firebase, PocketBase, Auth0, etc.)
π‘οΈ Authorization Module (kiss_authorization) #
- Role-based and permission-based access control
- In-memory provider for testing
- Context-aware authorization
Each module can be used independently or combined as needed.