loginOrCreate

Send a one-time passcode (OTP) to a user using their email address. If the email address is not associated with a user already, a user will be created.

Return

LoginOrCreateOTPResponse

Parameters

parameters

required to receive an Email OTP


abstract fun loginOrCreate(parameters: OTP.EmailOTP.Parameters, callback: (LoginOrCreateOTPResponse) -> Unit)

Send a one-time passcode (OTP) to a user using their email address. If the email address is not associated with a user already, a user will be created.

Parameters

parameters

required to receive an Email OTP

callback

a callback that receives a LoginOrCreateOTPResponse