k_auth 0.3.1
k_auth: ^0.3.1 copied to clipboard
Social login SDK for Korean apps. Unified API for Kakao, Naver, Google, and Apple login. Standardized user info, Korean error messages, and official design guideline buttons.
Changelog #
All notable changes to this project will be documented in this file.
0.3.0 2024-12 #
Changed #
- Dependencies: Updated all dependencies to latest versions
kakao_flutter_sdk: ^1.10.0flutter_naver_login: ^2.1.0google_sign_in: ^7.2.0sign_in_with_apple: ^7.0.0flutter_svg: ^2.2.0
- pub.dev: Improved package score (English description, code formatting)
0.2.0 2024-12 #
Added #
- Functional API:
fold,when,onSuccess,onFailure,mapUser,mapUserOr - State Management:
authStateChangesStream,currentUser,currentProvider,isSignedIn - Auto Login:
KAuthSessionStorageinterface,initialize(autoRestore: true) - Backend Integration:
onSignIn,onSignOutcallbacks,serverToken - Token Refresh:
refreshToken(),isExpired,isExpiringSoon() - Diagnostics:
KAuthDiagnostic.run()for native configuration validation - Debug Logging:
KAuthLogger - SVG Icons: Kakao, Naver, Google logos
Changed #
signOut()provider argument now optional (uses current provider)AuthResultnow supports JSON serialization
Removed (Breaking) #
AuthResult.userId,email,name,profileImageUrl- useuser.*instead- Deprecated APIs (
collectPhone,withScopes(), etc.)
0.1.0 2024-11 #
Added #
- Unified OAuth API for Kakao, Naver, Google, Apple
KAuthUserstandardized user model- Korean error messages with hints
- Login button UI components
0.0.1 2024-11 #
- Initial release