Skip to main content

iOS

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

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): The SignIn component renders a full app-native sign-in form.

  • SignInButton (component): The SignInButton component renders a pre-styled button that you can use to trigger your sign-in flow.

  • SignOutButton (component): The SignOutButton component renders a pre-styled button that calls ThunderIDClient.signOut(), then calls ThunderIDState.refresh() to update the reactive auth state.

  • SignUp (component): The SignUp component renders a full app-native registration form.

  • SignedIn (component): The SignedIn component conditionally renders its content only when the user is authenticated.

  • SignedOut (component): The SignedOut component conditionally renders its content only when the user is not authenticated.

  • UserProfile (component): The UserProfile component renders an editable profile form.

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

Functions​

  • Configuration (function): ThunderIDConfig is the configuration struct passed to ThunderIDClient.initialize(config:storage:) and to the .thunderIDProvider(config:) view modifier.

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

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

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?