Resynchronises a person's HOTP token from two consecutive codes over the resync window (RFC 4226 section 7.4), spending both.
the person
the first code
the next code the token showed
a promise of { ok: true, counter, drift }, or a refusal
{ ok: true, counter, drift }
Resynchronises a person's HOTP token from two consecutive codes over the resync window (RFC 4226 section 7.4), spending both.