Create an instance for a HOTP code.
Create an instance for a TOTP code.
Create an OathCodeInfo from a JSON string.