sendCode
suspend fun SignUp.sendCode(block: SendCodeBuilder.() -> Unit): ClerkResult<SignUp, ClerkErrorResponse>
Sends a verification code to the specified email or phone.
Return
A ClerkResult containing the updated SignUp object on success, or a ClerkErrorResponse on failure.
Example usage:
signUp.sendCode { email = "newuser@email.com" }
// or
signUp.sendCode { phone = "+1234567890" }Content copied to clipboard
Parameters
block
Builder block to configure where to send the code.