iya-sts
    Preparing search index...

    Variable assertionExpectations

    assertionExpectations: (
        key: any,
        rpId: string,
        posted: any,
        passwordless?: boolean,
        requireUv?: boolean,
    ) => {
        appidUsed: boolean;
        expectedAppId: string;
        refusal: any;
        requireUserVerification: boolean;
    } = ...

    Type Declaration

      • (
            key: any,
            rpId: string,
            posted: any,
            passwordless?: boolean,
            requireUv?: boolean,
        ): {
            appidUsed: boolean;
            expectedAppId: string;
            refusal: any;
            requireUserVerification: boolean;
        }
      • What the verifier is held to for an assertion by key (#1955 P7), and the refusal of a legacy U2F key where it may not answer: at a passwordless step (it cannot verify the person), or once its AppID is no longer permitted at the RP ID (STS-AUTHN-0565). For such a key the rpIdHash is SHA-256 of its AppID only where the client's extension outputs say appid: true, and the UV flag is not required; every other key is held to the RP ID and to requireUserVerification() as before.

        Parameters

        • key: any

          the stored key the assertion names

        • rpId: string

          the relying party id

        • posted: any

          the credential's JSON form, with clientExtensionResults

        • Optionalpasswordless: boolean

          whether the assertion is a way in on its own

        • OptionalrequireUv: boolean

          the UV requirement for any other key; the realm's requireUserVerification() when omitted

        Returns {
            appidUsed: boolean;
            expectedAppId: string;
            refusal: any;
            requireUserVerification: boolean;
        }

        { refusal, expectedAppId, appidUsed, requireUserVerification }