Skip to main content

piano_id 1.0.8 copy "piano_id: ^1.0.8" to clipboard
piano_id: ^1.0.8 copied to clipboard

Piano ID Flutter SDK.

1.0.8 #

  • The Piano ID requests and PianoIDSignInWidget carry the new PianoClient.userAgent as their User-Agent, which names the operating system and the device the way the native Piano SDKs do, rather than Piano SDK for Flutter v<version> (Flutter; <aid>)
  • The Piano ID requests are sent with PianoClient.httpClient, so they reuse the connections of the instance and fail once Piano.close has closed it; a request that fails throws the ClientException of package:http rather than the SocketException or HttpException of dart:io, though the one for a socket failure still implements SocketException
  • General improvements

1.0.7 #

  • General improvements

1.0.6 #

  • General improvements

1.0.5 #

  • Added social sign-in through OAuth providers: implement PianoIDOAuthProvider and list it in the PianoIDConfiguration(providers: [...]) passed to Piano.init. The configuration is optional — piano.id() works without one, offering Piano ID's own login alone
  • Piano ID no longer keeps its state for the whole process: the deployment host moved to the PianoIDModule of the instance, so instances carrying different AIDs no longer share what one of them looked up. piano.id() still returns a new client every call, and the clients of an instance share its module
  • The deployment host is looked up once per instance even when the first requests are made at the same time: the requests that come while the lookup is on its way wait for it rather than each starting one of their own
  • The consents a request reports are encoded for that request rather than once per process: a reader who changes what they consented to through PianoConsents.set is no longer reported to Piano ID with the decision they have taken back
  • Requires Dart 3.13.2 and Flutter 3.47.2 or newer

1.0.4 #

  • General improvements

1.0.3 #

  • The sign-in screen is now localized with the language code from Piano.init

1.0.2 #

  • General improvements

1.0.1 #

  • General improvements

1.0.0 #

  • Initial release of piano_id package
0
likes
140
points
483
downloads

Documentation

API reference

Publisher

verified publisherpiano.io

Weekly Downloads

Piano ID Flutter SDK.

Homepage

License

Apache-2.0 (license)

Dependencies

flutter, http, meta, piano_common, webview_flutter

More

Packages that depend on piano_id