Stytch Android

Stytch is an authentication platform, written by developers for developers, with a focus on improving security and user experience via passwordless authentication. Stytch offers direct API integrations, language-specific libraries, and SDKs (like this one) to make the process of setting up an authentication flow for your app as easy as possible.

The module contains three packages that are of interest to a developer:

  • com.stytch.sdk.b2b: Use this SDK to interact with your B2B Projects, Organizations and Members

  • com.stytch.sdk.consumer: Use this SDK to interact with your Consumer Projects and Users

  • com.stytch.sdk.common: This package contains resources shared between our B2B and Consumer SDKs

Packages

Link copied to clipboard

Stytch's B2B SDK makes it simple to seamlessly onboard, authenticate, and engage users. This SDK provides the easiest way for you to use Stytch on Android. With just a few lines of code, you can easily authenticate your users and get back to focusing on the core of your product.

Link copied to clipboard
Link copied to clipboard

The B2BMagicLinks.kt interface provides methods for sending and authenticating users with Email Magic Links.

Link copied to clipboard

The Member.kt interface provides methods for retrieving the current authenticated user.

Link copied to clipboard

The Organization.kt interface provides methods for retrieving the current authenticated user's organization.

Link copied to clipboard
Link copied to clipboard

The B2BSessions.kt interface provides methods for authenticating, updating, or revoking sessions, and properties to retrieve the existing session token (opaque or JWT).

Link copied to clipboard
Link copied to clipboard

This package contains resources shared between our B2B and Consumer SDKs, including helpful typealiases, utility functions, data models, and internal support code.

Link copied to clipboard
Link copied to clipboard

Contains shared OAuth/SSO implementation code.

Link copied to clipboard

Stytch's consumer SDK makes it simple to seamlessly onboard, authenticate, and engage users. This SDK provides the easiest way for you to use Stytch on Android. With just a few lines of code, you can easily authenticate your users and get back to focusing on the core of your product.

Link copied to clipboard

The Biometrics.kt interface provides methods for detecting biometric availability, registering, authenticating, and removing biometrics identifiers.

Link copied to clipboard

The MagicLinks.kt interface provides methods for sending and authenticating users with Email Magic Links.

Link copied to clipboard

The OAuth.kt interface provides methods for authenticating a user via a native Google OneTap prompt or any of the following third-party OAuth providers, provided you have configured them within your Stytch Dashboard:

Link copied to clipboard

The OTP.kt interface provides methods for sending and authenticating One-Time Passcodes (OTP) via SMS, WhatsApp, and Email.

Link copied to clipboard
Link copied to clipboard

The Passwords.kt interface provides methods for authenticating, creating, resetting, and performing strength checks of passwords.

Link copied to clipboard

The Sessions.kt interface provides methods for authenticating, updating, or revoking sessions, and properties to retrieve the existing session token (opaque or JWT).

Link copied to clipboard

The UserManagement.kt interface provides methods for retrieving an authenticated user and deleting authentication factors from an authenticated user.