signInWithPasswordLessCode

abstract suspend fun signInWithPasswordLessCode(login: String, code: String): RainbowResult<Unit>

Initiates a sign-in process using password less generated code.

The user must first request a code for the given login by calling requestPasswordLessCode. Then the code will be received through email or SMS and must be used here to login the user.

Return

RainbowResult to receive callbacks for sign-in events.

Parameters

login

The login (email or phone number) for authentication.

code

The code received through requestPasswordLessCode.