Flutter
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):SignInis a pre-built Flutter widget that drives the full sign-in loop using the Choreo Identity & Access Management Flow Execution API. -
SignInButton(component):SignInButtonis a pre-styledElevatedButtonwidget that triggers your sign-in flow when tapped. -
SignOutButton(component):SignOutButtonis a pre-styledOutlinedButtonwidget that callssignOut()on tap and notifies the parentThunderIDProviderto refresh auth state. -
SignUp(component):SignUpis a pre-built Flutter widget that drives the full registration flow using the Choreo Identity & Access Management Flow Execution API. -
SignedIn(component):SignedInis a guard widget that renders itschildonly when the user is authenticated. -
SignedOut(component):SignedOutis a guard widget that renders itschildonly when the user is not authenticated. -
UserProfile(component):UserProfileis a pre-built form widget for viewing and editing the authenticated user's profile. -
ChangeCredential(component): TheChangeCredentialwidget lets a signed-in user set a new value for one of their own credentials.
Functions
-
Configuration(function):ThunderIDConfigis the configuration class passed toThunderIDProviderand toThunderIDClient.initialize(). -
ThunderIDClient(function):ThunderIDClientis the core authentication client in thethunderid_flutterpackage. -
ThunderIDState(function):ThunderIDStateis the reactive authentication state object provided byThunderIDProvider.
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?