Skip to main content

Documentation Index

Fetch the complete documentation index at: https://stytch.com/docs/llms.txt

Use this file to discover all available pages before exploring further.

The Stytch SDKs provide methods that communicate directly with the Stytch API, allowing you to easily authenticate your users without adding extra endpoints to your backend. The Stytch iOS Consumer SDK is a headless Kotlin Multiplatform library distributed as a Swift package. It provides a Swift-native async/await API for all Stytch consumer authentication methods, with idiomatic Swift wrappers generated by SKIE.

Swift package

StytchConsumerSDK

iOS Swift package for the Stytch Consumer SDK

Authentication methods

The StytchConsumer client exposes the following namespaces:
NamespaceDescription
otpOne-time passcodes via SMS, email, or WhatsApp
magicLinksEmail magic link authentication
passwordsPassword-based authentication
oauthOAuth flows (Google, Apple, and others)
passkeysWebAuthn / passkey authentication
biometricsBiometric authentication (Face ID / Touch ID)
totpTime-based one-time passcode (authenticator app)
cryptoCrypto wallet authentication
sessionSession management
userUser account management
dfpDevice fingerprinting

Compatibility and requirements

  • Minimum iOS version: 15.0
  • Language: Swift (async/await API)
  • Distribution: Swift Package Manager