forHotp

fun forHotp(code: String, counter: Long): OathCodeInfo

Create an instance for a HOTP code.

Return

An OathCodeInfo instance for HOTP.

Parameters

code

The generated OTP code.

counter

The counter value after code generation.