StytchClient

object StytchClient

The entrypoint for all Stytch-related interaction.

Functions

Link copied to clipboard
fun configure(context: Context, publicToken: String)

Configures the StytchClient, setting the publicToken and hostUrl.

Link copied to clipboard
suspend fun handle(uri: Uri, sessionDurationMinutes: UInt): AuthResponse
fun handle(    uri: Uri,     sessionDurationMinutes: UInt,     callback: (AuthResponse) -> Unit)

Handle magic link

Properties

Link copied to clipboard
var biometrics: Biometrics

Exposes an instance of Biometrics

Link copied to clipboard
var magicLinks: MagicLinks

Exposes an instance of email magic links

Link copied to clipboard
var oauth: OAuth

Exposes an instance of OAuth

Link copied to clipboard
var otps: OTP

Exposes an instance of otp

Link copied to clipboard
var passwords: Passwords

Exposes an instance of passwords

Link copied to clipboard
var sessions: Sessions

Exposes an instance of sessions

Link copied to clipboard
var user: UserManagement

Exposes an instance of UserManagement