iya-sts
    Preparing search index...

    Variable algorithmsOffered

    algorithmsOffered: (lane?: string, classicalOnly?: boolean) => string[] = ...

    Type Declaration

      • (lane?: string, classicalOnly?: boolean): string[]
      • Returns the algorithms to offer, as JOSE names, keeping only those the verifier can check.

        A name it cannot verify is dropped with a warning; when nothing usable is left it falls back to ES256 and RS256. A lane (#643) narrows the list while webauthn.pqcAlongsideClassical is on: classical to the names that are not ML-DSA (ES256 and RS256 where that leaves none), pqc to ML-DSA (all three where the list names none). With the switch off a lane changes nothing. classicalOnly (#944) asks for the classical retry's list instead (classicalRetryAlgorithms()), and is ignored where the realm forbids that retry.

        Parameters

        • Optionallane: string

          classical or pqc, or nothing for the configured list

        • OptionalclassicalOnly: boolean

          the classical retry of a registration (#944)

        Returns string[]

        the algorithm names