AttemptVerificationParams
Defines the possible strategies for attempting verification during the sign-up process. This sealed interface encapsulates the different types of verification attempts, such as email or phone code verification.
The deprecated attemptVerification takes these parameters. New code should call verifyCode with a com.clerk.api.auth.types.VerificationType instead.
Inheritors
Types
Link copied to clipboard
data class EmailCode(val code: String, val strategy: String = AuthStrategy.EmailCode.value) : SignUp.AttemptVerificationParams
Attempts verification using a code sent to the user's email address.
Link copied to clipboard
data class PhoneCode(val code: String, val strategy: String = AuthStrategy.PhoneCode.value) : SignUp.AttemptVerificationParams
Attempts verification using a code sent to the user's phone number.