iya-sts
    Preparing search index...

    Variable storedSecretMatchesSpec

    storedSecretMatchesSpec: (stored: any, spec: any) => boolean = storedSecretMatchesSpec

    Type Declaration

      • (stored: any, spec: any): boolean
      • Says whether a stored password hash is already in the form a new one would be written in under this spec: the same algorithm and every parameter the same. What the upgrade on sign-in asks (#847).

        Parameters

        • stored: any

          the stored form

        • spec: any

          the policy's hash spec

        Returns boolean

        true when nothing would change by hashing again