iya-sts
    Preparing search index...

    Variable resyncHotpAsync

    resyncHotpAsync: (username: any, first: any, second: any) => Promise<any> = ...

    Type Declaration

      • (username: any, first: any, second: any): Promise<any>
      • Resynchronises a person's HOTP token from two consecutive codes over the resync window (RFC 4226 section 7.4), spending both.

        Parameters

        • username: any

          the person

        • first: any

          the first code

        • second: any

          the next code the token showed

        Returns Promise<any>

        a promise of { ok: true, counter, drift }, or a refusal