authsome_flutter 1.4.0
authsome_flutter: ^1.4.0 copied to clipboard
AuthSome authentication SDK for Flutter — AuthProvider, SecureTokenStorage, and auto-config support.
authsome_flutter #
Flutter integration for AuthSome authentication.
Features #
- Secure token storage via
flutter_secure_storage AuthManagerwith automatic token refresh- Stream-based authentication state
Getting Started #
import 'package:authsome_flutter/authsome_flutter.dart';
final auth = AuthManager(
baseUrl: 'https://your-authsome-server.com',
);
// Listen to auth state
auth.stateStream.listen((state) {
print('Auth state: $state');
});
// Sign in
await auth.signIn(email: 'user@example.com', password: 'password');
Documentation #
See the AuthSome documentation for more details.