These docs are for our new Kotlin Multiplatform SDK, which is in Public beta. If you are instead looking for the stable version, please see stytch-android and the usage docs here.
Maven package
com.stytch.sdk:b2b-headless
Android bindings for the Stytch B2B SDK
Authentication methods
TheStytchB2B client exposes the following namespaces:
| Namespace | Description |
|---|---|
magicLinks | Email magic link authentication |
otp | One-time passcodes via SMS and email |
passwords | Password-based authentication |
oauth | OAuth flows (Google and others) with org-level and discovery modes |
sso | SAML and OIDC SSO authentication |
totp | Time-based one-time passcode (authenticator app) |
discovery | Cross-org discovery: list and join organizations |
session | Session management |
members | Member account management |
organizations | Organization management |
recoveryCodes | Recovery code management |
scim | SCIM provisioning |
rbac | Role-based access control |
dfp | Device fingerprinting |
Compatibility and requirements
- Minimum Android SDK: 24 (Android 7.0)
- Language: Kotlin 2.3+ (coroutines-based API)
- Build system: Gradle