sendCode

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" }

Parameters

block

Builder block to configure where to send the code.