iya-sts
    Preparing search index...

    Variable reportedCredProtect

    reportedCredProtect: (extensions: unknown) => number = PasskeyPolicy.reportedCredProtect

    Type Declaration

      • (extensions: unknown): number
      • The credProtect level an authenticator reported (#1955 P7): CTAP 2.1 section 12.1's credProtect output, an integer 1 to 3, in the authenticator data's extensions; null for anything else.

        Parameters

        • extensions: unknown

          the authenticator data's extension outputs, as webauthn.verifyRegistration() returns them

        Returns number

        the level, or null