Strategy

sealed interface Strategy

Defines the available strategies for preparing verification. Each strategy corresponds to a different verification method.

Inheritors

Types

Link copied to clipboard
data class EmailCode(val strategy: String = AuthStrategy.EMAIL_CODE) : SignUp.PrepareVerificationParams.Strategy

Send an email with a unique token to input. The verification code will be sent to the provided email address.

Link copied to clipboard
data class PhoneCode(val strategy: String = AuthStrategy.PHONE_CODE) : SignUp.PrepareVerificationParams.Strategy

Send a text message with a unique token to input. The verification code will be sent via SMS to the provided phone number.

Properties

Link copied to clipboard
abstract val strategy: String