iya-sts
    Preparing search index...

    Variable verifyYubiOtpAsync

    verifyYubiOtpAsync: (username: any, otp: any) => Promise<any> = ...

    Type Declaration

      • (username: any, otp: any): Promise<any>
      • Verifies a YubiKey OTP and spends its counters. hardware is always false: this service holds the AES key.

        Parameters

        • username: any

          the person

        • otp: any

          the OTP

        Returns Promise<any>

        a promise of { ok: true, kind: 'yubiotp', hardware: false }, or a refusal