auth-vir - v1.3.1
    Preparing search index...

    Function doesPasswordMatchHash

    • Checks if the given password is a match by comparing it to the previously computed and stored hash.

      Parameters

      • __namedParameters: { hash: string; password: string }
        • hash: string

          The stored password hash for that user.

        • password: string

          The password entered by the user in their login attempt.

      Returns Promise<boolean>