StytchProductConfig

@JsonClass(generateAdapter = true)
data class StytchProductConfig(val products: List<StytchProduct> = listOf( StytchProduct.EMAIL_MAGIC_LINKS, StytchProduct.PASSWORDS, StytchProduct.OTP, ), val emailMagicLinksOptions: EmailMagicLinksOptions = EmailMagicLinksOptions(), val oAuthOptions: OAuthOptions = OAuthOptions(), val otpOptions: OTPOptions = OTPOptions(), val sessionOptions: SessionOptions = SessionOptions(), val passwordOptions: PasswordOptions = PasswordOptions(), val googleOauthOptions: GoogleOAuthOptions = GoogleOAuthOptions()) : Parcelable

A data class representing the overall product configuration that you can pass to the UI SDK

Constructors

Link copied to clipboard
constructor(products: List<StytchProduct> = listOf( StytchProduct.EMAIL_MAGIC_LINKS, StytchProduct.PASSWORDS, StytchProduct.OTP, ), emailMagicLinksOptions: EmailMagicLinksOptions = EmailMagicLinksOptions(), oAuthOptions: OAuthOptions = OAuthOptions(), otpOptions: OTPOptions = OTPOptions(), sessionOptions: SessionOptions = SessionOptions(), passwordOptions: PasswordOptions = PasswordOptions(), googleOauthOptions: GoogleOAuthOptions = GoogleOAuthOptions())

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

an instance of OTPOptions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard