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