strivacity_flutter_platform_interface 2.0.0
strivacity_flutter_platform_interface: ^2.0.0 copied to clipboard
Strivacity Flutter SDK platform interface
Unreleased #
2.0.0 - 2026-12-01 #
Features #
- Add support for Passkeys and WebAuthn
- Improve language handling (IN-278)
- Add OIDC exception handling and improve token refresh error handling
StrivacitySDKnow accepts an optionalrefreshSkew(seconds, default60) soisAuthenticatedrefreshes an access token before its actual expiration (capped at half of the token lifetime)OidcParamsnow supportsresources, sending each value as a separateresourcequery parameter on the authorization request per RFC 8707NetworkConfigurationnow supports acustomRequestHeaderProvidercallback for per-request header customization, applied with put-if-absent semantics (SDK-set headers are preserved, exceptUser-Agentwhich the provider may always override)- Add the top-level
networkConfigurationWithSdkVersionCustomHeaderhelper to attach anx-sty-sdk-versionheader
Fixes #
- Read the logout redirect URL from the
Locationheader and warn if it does not match the expected URL - Correct the order of logout operations
- Correct handling of the
openidscope - Build login parameters correctly from deep links in the example app
Chores #
- Update GitHub Actions workflows and prevent merging fixup commits
- Disable unsupported platforms
- Replace
flutter_custom_tabswithflutter_web_auth_2in the example app - Raise the example app's minimum SDK version to
3.47.0
Deprecations #
NetworkConfiguration'suserAgent/customRequestHeadersnamed parameters are deprecated in favor ofcustomRequestHeaderProviderNetworkConfigurationExtension.addSdkVersionCustomHeader()is deprecated in favor ofnetworkConfigurationWithSdkVersionCustomHeader