forTotp
Create an instance for a TOTP code.
Return
An OathCodeInfo instance for TOTP.
Parameters
code
The generated OTP code.
timeRemaining
The time remaining in seconds before the code expires.
totalPeriod
The total validity period in seconds.