generateCode

suspend fun generateCode(credentialId: String): Result<String>(source)

Generate an OTP code for an OATH credential.

Return

A Result containing the OTP code or an Exception in case of failure.

Parameters

credentialId

The ID of the credential.