generateTOTP

fun generateTOTP(context: Context, uuid: String, callback: ITSTOTPGenerateTOTPCallback)

Generate a time-based TOTP code for a previously registered authenticator.

Parameters

context

application context object.

uuid

the UUID returned by registerTOTP for this authenticator.

callback

operation success/failure callback. On success, returns the current TOTP code string.