Expo and React Native
Use the provider and hook API:SwigIdpProvideruseSwigIdp()startOAuth()startEmailOtp()startSmsOtp()
Browser apps
Use the/web entry point:
createSwigWebClient()redirectToOAuth()completeOAuthFromUrl()getSession()logout()
The practical difference
- mobile apps get OAuth plus email and SMS OTP convenience methods
- browser apps get the browser-safe redirect client and authority-management helpers
- both paths end with the same Swig session shape

