startAuthByMobilePhone

fun startAuthByMobilePhone(    phoneNumber: String,     callback: StartPasswordlessAuthCallback,     sendLink: Boolean = false,     linkUrl: String? = null)

Starts user authentication and sends an SMS with a one-time code and a link to the specified phone number (if login via magic link is configured for the Login project).

See also

Parameters

phoneNumber

User phone number.

callback

Status callback.

sendLink

Whether to send a link for authentication.

linkUrl

URL to redirect the user, required if sendLink is true.

Sources

Link copied to clipboard