getTOTP

abstract suspend fun getTOTP(timeout: Long?, getTOTPRequest: GetTOTPRequest): GetTOTPResult

Return a TOTP generated by previously saved TOTP secret data for the specified key. The user should authenticate the access to the secret data e.g. with biometric authentication.

Parameters

timeout

The timeout of getTOTP in milliseconds or null if no timeout should be used

getTOTPRequest

The getTOTP request body object