iya-sts
    Preparing search index...

    Variable yubiPasswordSplit

    yubiPasswordSplit: (
        username: any,
        password: any,
    ) => { otp: string; password: string } = ...

    Type Declaration

      • (username: any, password: any): { otp: string; password: string }
      • Splits an LDAP simple-bind password into the password and a trailing YubiKey OTP when the person holds one whose public identity is that suffix. Anything else is left whole, so a password is not spent as an OTP and an OTP is not accepted as a password.

        Parameters

        • username: any

          the person, or any key the directory locates

        • password: any

          the bind credential

        Returns { otp: string; password: string }

        { password, otp }, or null