submitPasswordlessAuthorizationRequest
abstract suspend fun submitPasswordlessAuthorizationRequest(otp: String, otpIdentifier: String, otpVerificationMethod: OtpVerificationMethod): NativeLoginResult
Submits a request to complete a password-less login to the Salesforce Identity API headless, password-less login flow. This fulfills steps eight, eleven and thirteen of the headless password-less login flow.
See https://help.salesforce.com/s/articleView?id=sf.remoteaccess_headless_passwordless_login_public_clients.htm&type=5
Return
A native login result indicating success or one of several possible failures, including both in-app and Salesforce Identity API results
Parameters
otp
A user-entered one-time-password
otpIdentifier
The one-time-password identifier issued by the Salesforce Identity API headless, password-less login flow in the start password-less authorization method.
otpVerificationMethod
The one-time-password verification method used to obtain the OTP identifier