SendTFACode

SendTFACode represents all the process for the send the two factor authentication code.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
suspend operator fun invoke(email: String? = null, phoneNumber: String? = null, channel: TFAChannel = TFAChannel.EMAIL): ResultS1SDK<Boolean, ErrorS1SDK>

This function should be called when the user wants to login with email and password or phone number and code and have the two factor authentication enabled.