turnkey_sdk_flutter 1.1.0
turnkey_sdk_flutter: ^1.1.0 copied to clipboard
A complete SDK for building Flutter apps with Turnkey's packages
1.1.0 #
- FEAT: Added authstate, disabling auto-refresh and better onSuccess for oauth.
1.0.1 #
- Update a dependency to the latest release.
1.0.0 #
- Flutter refactor.
0.2.2 #
- Added
onInitializedcallback. Runs when initialization is complete and carries an error - Added
readystate. A state that can be listened to if session initialization is completes succesfully or fails. - Exposed
initializeSessionsmethod. Called automatically when the app launches. Retrieves all stored session keys, validates their expiration status, removes expired sessions, and schedules expiration timers for active ones.
0.2.1 #
- Added
onSessionEmptycallback. Runs when the app first launches and there is no active session.
0.2.0 #
- Added
createSessionFromEmbeddedKey: Creates a new session using an embedded private key and securely stores it (Useful for "one-tap-passkey" sign ups. See demo app for more details). - Added
refreshSession: Refreshes an existing session by creating a new read/write session. - Added optional param
sessionKey: stringtocreateEmbeddedKey. Key to use for storing the embedded key. Defaults toStorageKeys.EmbeddedKey. - Added optional param
isCompressed: bool. Whether to return the compressed or uncompressed public key. Defaults to false. - Added
handleGoogleOAuth: New abstraction for Google OAuth authentication flow. Initiates an in-app browser OAuth flow with the provided credentials and parameters. After the OAuth flow completes successfully, it extracts the oidcToken from the callback URL and invokes the provided onSuccess callback.
BREAKING:
flutter_inappwebviewis now required to be installed in your project.
0.1.0 #
- Initial release. Client side abstracted functions for Turnkey-powered Flutter apps