iya-sts
    Preparing search index...

    Variable hashPasswordAsync

    hashPasswordAsync: (plaintext: any, spec: any) => Promise<string> = hashPasswordAsync

    Type Declaration

      • (plaintext: any, spec: any): Promise<string>
      • Hashes a person's password as hashPassword() does, on libuv's thread pool.

        Parameters

        • plaintext: any

          the password

        • spec: any

          the policy's hash spec

        Returns Promise<string>

        a promise of the stored form