SignInWithOtpBuilder

Builder for sign-in with OTP (one-shot, automatically sends code).

Use this builder to specify the channel for OTP authentication. Only one of email or phone should be set.

Example usage:

clerk.auth.signInWithOtp { email = "user@email.com" }
// or
clerk.auth.signInWithOtp { phone = "+1234567890" }

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard

The email address to send the OTP to.

Link copied to clipboard

The phone number to send the OTP to.