register TOTP
fun registerTOTP(context: Context, totpURI: String, securityType: TSTOTPSecurityType, callback: ITSRegisterTOTPCallback)
Register a TOTP authenticator from an otpauth:// URI.
Parameters
context
application context object.
totp URI
the otpauth:// URI.
security Type
the key protection level to use when storing the secret (None, Biometric, DevicePin, DevicePinOrBiometric).
callback
operation success/failure callback. On success, returns a TSTOTPRegistrationResult containing the generated UUID to use for subsequent generateTOTP calls.