Package-level declarations

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

Types

Link copied to clipboard
typealias BaseResponse = StytchResult<BasicData>

Type alias for StytchResult used for basic responses

Link copied to clipboard
object Constants
Link copied to clipboard

A class representing the three states of a deeplink handled by StytchClient.handle() / StytchB2BClient.handle()

Link copied to clipboard
sealed class DeeplinkResponse

A class representing the types of Deeplink responses that the Stytch client has handled

Link copied to clipboard
typealias NoResponseResponse = StytchResult<NoResponseData>

Type alias for StytchResult used for empty responses

Link copied to clipboard
data class PKCECodePair(val codeChallenge: String, val codeVerifier: String, val method: String = "S256")
Link copied to clipboard
sealed class StytchResult<out T> : Parcelable

Provides a wrapper for responses from the Stytch API

Link copied to clipboard
interface TokenType

An interface representing the supported token types that we can extract from a deeplink