iya-sts
    Preparing search index...

    Variable checkPresented

    checkPresented: (
        opts: {
            algs?: string[];
            claims?: any;
            credentialStatus?: any[];
            exempt?: boolean;
            format: string;
            key?: any;
            own: boolean;
            policy?: string;
        },
    ) => Promise<any> = ...

    Type Declaration

      • (
            opts: {
                algs?: string[];
                claims?: any;
                credentialStatus?: any[];
                exempt?: boolean;
                format: string;
                key?: any;
                own: boolean;
                policy?: string;
            },
        ): Promise<any>
      • Checks a presented credential's status: this realm's own from its store, a foreign issuer's by fetching its list, signed by the same key. A missing reference is decided by policy. Never rejects.

        Parameters

        • opts: {
              algs?: string[];
              claims?: any;
              credentialStatus?: any[];
              exempt?: boolean;
              format: string;
              key?: any;
              own: boolean;
              policy?: string;
          }

          own, format, claims, credentialStatus, key, algs, policy (all, own-only or off) and exempt

        Returns Promise<any>

        { checked, ok, status, detail, errorCode }