kirak_flutter 0.1.0
kirak_flutter: ^0.1.0 copied to clipboard
kirak's Flutter integration - a working, zero-config session default for Flutter apps.
kirak_flutter #
0.1.0 #
First release. Flutter integration on top of kirak.
createKirakFlutterClient(baseUrl, options)- same surface askirak'screateClient, defaulting to ashared_preferences-backedAuthStoreso an unconfigured app stays logged in across restarts with no setup. A caller-suppliedoptions.auth.storage(for example one backed byflutter_secure_storage) is never overridden.SharedPreferencesAuthStore- the default store, exported for direct use.adoptFromDeepLink(client, uri)- handles the Apple-web-auth-token redirect (?token=..., or?error=...&message=...on failure), adopting the session automatically through the core's existing auto-capture.- Re-exports
package:kirak/kirak.dart, so most apps only need one import.