flutter_secure_auth 0.1.5
flutter_secure_auth: ^0.1.5 copied to clipboard
A secure, lightweight authentication package for Flutter (REST + OAuth2 PKCE + token refresh) with secure local storage.
0.1.5 #
0.1.4 #
[0.1.4] - 2025-10-15 #
🎉 Updated Release #
- Introduced
flutter_secure_auth— a secure, lightweight Flutter authentication utility. - Added
AuthTokensmodel:- Manages
accessToken, optionalrefreshToken, andexpirytimestamp. - Includes helpers for
isExpiredandtimeToExpiry.
- Manages
- Added
TokenStorageservice:- Uses
FlutterSecureStoragefor safe, encrypted token persistence. - Supports
save,read, andclearmethods.
- Uses
- Added
PkcePairgenerator:- Generates RFC 7636–compliant PKCE code verifier and challenge.
- Includes random state UUID for OAuth 2.0 flow integrity.
- Added
AuthExceptionclass for consistent, type-safe error handling. - Added
AuthServiceabstraction (extensible for Supabase, Firebase, etc.). - Fully documented all public APIs with DartDoc (≥ 20% coverage requirement).
- Implemented null safety and Flutter 3.0+ compatibility.
- 100% lint-compliant (
analysis_options.yamlincluded). - Added basic unit tests and example app for demo usage.
[Unreleased] #
🚧 Planned #
- Add built-in SupabaseAuthService implementation.
- Add optional refresh token auto-renewal logic.
- Add integration with flutter_bloc and riverpod state management.
- Provide sample OAuth2 / PKCE login flow demo.
- Add biometric unlock support for token retrieval.
- Improve test coverage and CI workflows.
0.1.3 #
[0.1.3] - 2025-10-10 #
🎉 Initial Release #
- Introduced
flutter_secure_auth— a secure, lightweight Flutter authentication utility. - Added
AuthTokensmodel:- Manages
accessToken, optionalrefreshToken, andexpirytimestamp. - Includes helpers for
isExpiredandtimeToExpiry.
- Manages
- Added
TokenStorageservice:- Uses
FlutterSecureStoragefor safe, encrypted token persistence. - Supports
save,read, andclearmethods.
- Uses
- Added
PkcePairgenerator:- Generates RFC 7636–compliant PKCE code verifier and challenge.
- Includes random state UUID for OAuth 2.0 flow integrity.
- Added
AuthExceptionclass for consistent, type-safe error handling. - Added
AuthServiceabstraction (extensible for Supabase, Firebase, etc.). - Fully documented all public APIs with DartDoc (≥ 20% coverage requirement).
- Implemented null safety and Flutter 3.0+ compatibility.
- 100% lint-compliant (
analysis_options.yamlincluded). - Added basic unit tests and example app for demo usage.
[Unreleased] #
🚧 Planned #
- Add built-in SupabaseAuthService implementation.
- Add optional refresh token auto-renewal logic.
- Add integration with flutter_bloc and riverpod state management.
- Provide sample OAuth2 / PKCE login flow demo.
- Add biometric unlock support for token retrieval.
- Improve test coverage and CI workflows.