EmailCode

data class EmailCode(val code: String, val strategy: String = AuthStrategy.EMAIL_CODE) : SignUp.AttemptVerificationParams

Attempts verification using a code sent to the user's email address.

Parameters

code

The one-time code sent to the user's email address.

Constructors

Link copied to clipboard
constructor(code: String, strategy: String = AuthStrategy.EMAIL_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.