invoke

suspend operator fun invoke(uid: String, email: String? = null, phoneNumber: String? = null, tfaCode: String? = null): ResultS1SDK<SessionData, ErrorS1SDK>

This function should be called when the user wants to login with email and password or phone number and code after an authentication process.

Return

ResultS1SDK<SessionData, ErrorS1SDK>

Parameters

uid

UserUID The user UID get from the authentication process.

email

String The user email. Null by default.

phoneNumber

String The user phone number. Null by default.

tfaCode

String The received TFA code. Null by default.