voo_authstack_client 0.1.9
voo_authstack_client: ^0.1.9 copied to clipboard
Flutter SDK for Voo AuthStack - a centralized authentication platform. Supports email/password, OAuth providers (Google, GitHub, Microsoft, Apple, Discord), automatic token refresh, and provider linking.
Changelog #
All notable changes to voo_authstack_client will be documented in this file.
0.1.8 - 2026-01-17 #
Fixed #
- Fixed OAuth code login endpoint from
/auth/oauth/{provider}/codeto/auth/oauth/{provider}to match backend API
0.1.7 - 2026-01-17 #
Fixed #
- Fixed token refresh endpoint from
/auth/refreshto/auth/refresh-tokento match backend API
0.1.6 - 2026-01-15 #
Fixed #
- Added missing
OAuthProvider.authstackcase to switch expression in example app - Fixed nullable
refreshTokentype mismatch inexchangeCodeViaBackend()method
0.1.5 - 2026-01-15 #
Added #
OAuthProvider.authstackenum value for apps using AuthStack as their identity provider
0.1.4 - 2026-01-15 #
Added #
exchangeCodeViaBackend()method for routing OAuth code exchange through a custom backend API- Enables consumer apps to issue their own JWT tokens instead of using AuthStack tokens
- Supports flexible response formats (AuthStack format or custom backend format)
- Automatically stores tokens in configured token storage
0.1.3 - 2026-01-15 #
Added #
getProviderAuthUrl()method to get OAuth authorization URLs for providers (GitHub, Google, etc.)- Enables centralized OAuth flow where AuthStack handles OAuth app configuration
- Supports custom state parameter for CSRF protection
getProviderCredentials()method to retrieve OAuth credentials for linked providers- Get access tokens to make API calls to provider APIs (e.g., GitHub API)
- Includes token expiration checking
- New models:
ProviderAuthUrlandProviderCredentials - Support for all OAuth providers: Google, GitHub, Microsoft, Apple, Discord
Changed #
- Enhanced documentation for OAuth provider integration
0.1.2 - 2025-12-24 #
Fixed #
- Fixed SDK constraint from
>=3.8.1to>=3.5.0to support Flutter 3.27.0 (Dart 3.6.0) - Downgraded flutter_lints from ^6.0.0 to ^5.0.0 for Dart 3.6.0 compatibility
0.1.0 - 2025-12-23 #
Added #
- Initial release of Voo AuthStack Client SDK
- Email/password authentication support
- OAuth provider support (Google, GitHub, Microsoft, Apple, Discord)
- Automatic token refresh with configurable thresholds
- Secure token storage
- Provider account linking
- Clean architecture with domain, data, and presentation layers
- Dio-based HTTP client with interceptors
- Comprehensive error handling with typed exceptions