loginOrCreate
Send a one-time passcode (OTP) to a user using their phone number via SMS. If the phone number is not associated with a user already, a user will be created.
Return
Parameters
parameters
required to receive a SMS OTP
abstract fun loginOrCreate(parameters: OTP.SmsOTP.Parameters, callback: (LoginOrCreateOTPResponse) -> Unit)
Send a one-time passcode (OTP) to a user using their phone number via SMS. If the phone number is not associated with a user already, a user will be created.
Parameters
parameters
required to receive a SMS OTP
callback
a callback that receives a LoginOrCreateOTPResponse