iOS
Native Swift SDK with hosted login and secure token storage.
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): TheSignIncomponent renders a full app-native sign-in form. -
SignInButton(component): TheSignInButtoncomponent renders a pre-styled button that you can use to trigger your sign-in flow. -
SignOutButton(component): TheSignOutButtoncomponent renders a pre-styled button that callsThunderIDClient.signOut(), then callsThunderIDState.refresh()to update the reactive auth state. -
SignUp(component): TheSignUpcomponent renders a full app-native registration form. -
SignedIn(component): TheSignedIncomponent conditionally renders its content only when the user is authenticated. -
SignedOut(component): TheSignedOutcomponent conditionally renders its content only when the user is not authenticated. -
UserProfile(component): TheUserProfilecomponent renders an editable profile form. -
ChangeCredential(component): TheChangeCredentialview lets a signed-in user set a new value for one of their own credentials.
Functions
-
Configuration(function):ThunderIDConfigis the configuration struct passed toThunderIDClient.initialize(config:storage:)and to the.thunderIDProvider(config:)view modifier. -
ThunderIDClient(function):ThunderIDClientis the core authentication client in theThunderIDpackage. -
ThunderIDState(function):ThunderIDStateis the reactive authentication state object provided by theThunderIDSwiftUIpackage.
Get started
Provider, session, and a protected route, start to finish.
Connect your application: Getting started / Connect your application / iOS
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: Make authenticated API requests from an iOS application using bearer tokens from the Choreo Identity & Access Management SDK.
-
Try the iOS Sample App: Run the Choreo Identity & Access Management iOS sample app to see the full authentication lifecycle end to end.
Was this page helpful?