Skip to main content

Flutter

Cloud has the newest features. Some may not be in a release yet; the newest release is Identity & Access Management 7.3.0.

Cross-platform authentication for Flutter apps.

API reference​

Every export is fully typed. The signatures and props below come from the package's own reference documentation, so what is listed here is what the installed version ships.

See the full API reference for every export, its signature and an example.

Components​

  • SignIn (component): SignIn is a pre-built Flutter widget that drives the full sign-in loop using the Choreo Identity & Access Management Flow Execution API.

  • SignInButton (component): SignInButton is a pre-styled ElevatedButton widget that triggers your sign-in flow when tapped.

  • SignOutButton (component): SignOutButton is a pre-styled OutlinedButton widget that calls signOut() on tap and notifies the parent ThunderIDProvider to refresh auth state.

  • SignUp (component): SignUp is a pre-built Flutter widget that drives the full registration flow using the Choreo Identity & Access Management Flow Execution API.

  • SignedIn (component): SignedIn is a guard widget that renders its child only when the user is authenticated.

  • SignedOut (component): SignedOut is a guard widget that renders its child only when the user is not authenticated.

  • UserProfile (component): UserProfile is a pre-built form widget for viewing and editing the authenticated user's profile.

  • ChangeCredential (component): The ChangeCredential widget lets a signed-in user set a new value for one of their own credentials.

Functions​

  • Configuration (function): ThunderIDConfig is the configuration class passed to ThunderIDProvider and to ThunderIDClient.initialize().

  • ThunderIDClient (function): ThunderIDClient is the core authentication client in the thunderid_flutter package.

  • ThunderIDState (function): ThunderIDState is the reactive authentication state object provided by ThunderIDProvider.

Get started​

Provider, session, and a protected route, start to finish.

Connect your application: Getting started / Connect your application / Flutter

The quickstart is maintained alongside the rest of the getting-started guides so it stays in step with the platform. This page covers the package itself.

Guides​

Task-focused walkthroughs maintained alongside the SDK.

  • Accessing Protected APIs: Use Choreo Identity & Access Management Flutter SDK access tokens to call your backend APIs

  • Try the Flutter Sample App: Run the Choreo Identity & Access Management Flutter sample app to see the full authentication lifecycle end to end.

Was this page helpful?