PhoneCode

data class PhoneCode(val code: String, val strategy: String = AuthStrategy.PHONE_CODE) : SignUp.AttemptVerificationParams

Attempts verification using a code sent to the user's phone number.

Parameters

code

The one-time code sent to the user's phone number via SMS.

Constructors

Link copied to clipboard
constructor(code: String, strategy: String = AuthStrategy.PHONE_CODE)

Properties

Link copied to clipboard
open override val code: String
Link copied to clipboard
open override val strategy: String

The strategy used for verification (e.g., email_code or phone_code). This must match the strategy used when preparing the verification.