the HOTP record (secret, digits, algorithm,
counter, the next counter the token is expected to show)
the code as typed
Optionalopts: { window?: string | number }
window, overriding hotp.window
{ ok: true, counter, next, ahead } or { ok: false, reason, detail }, reason one of shape, store or mismatch
Verifies a presented code against a record by look-ahead from its counter. A refusal carries its error code.