Verifies an HOTP code by look-ahead and spends its counter across the cluster (X5): one of two concurrent verifications of a code wins.
the person
the code
Optional
window, overriding hotp.window
window
hotp.window
a promise of { ok: true, kind: 'hotp', counter, drift, hardware }, or a refusal (none, shape, mismatch, replay, store, unusable)
{ ok: true, kind: 'hotp', counter, drift, hardware }
none
shape
mismatch
replay
store
unusable
Verifies an HOTP code by look-ahead and spends its counter across the cluster (X5): one of two concurrent verifications of a code wins.