generateTOTPWithChallenge

fun generateTOTPWithChallenge(context: Context, uuid: String, challenge: String, callback: ITSTOTPGenerateTOTPCallback)

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

Parameters

context

application context object.

uuid

the UUID returned by registerTOTP for this authenticator.

challenge

server-provided challenge to incorporate into the TOTP computation.

callback

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