iya-sts
    Preparing search index...

    Variable presentationVerificationsJson

    presentationVerificationsJson: (
        req: any,
    ) =>
        | { limit: number; total: number; verifications: any[] }
        | { found: boolean } & {
            client_id: any;
            dcql_query: any;
            nonce: any;
            received: boolean;
            requested: any;
            state: any;
            verdict: any;
        }
        | { found: boolean; state: string } = ...

    Type Declaration

      • (
            req: any,
        ):
            | { limit: number; total: number; verifications: any[] }
            | { found: boolean } & {
                client_id: any;
                dcql_query: any;
                nonce: any;
                received: boolean;
                requested: any;
                state: any;
                verdict: any;
            }
            | { found: boolean; state: string }
      • Builds GET /admin-api/verifications's answer: one verdict, or the open verifications.

        Parameters

        • req: any

          the request; only req.query.state is read

        Returns
            | { limit: number; total: number; verifications: any[] }
            | { found: boolean } & {
                client_id: any;
                dcql_query: any;
                nonce: any;
                received: boolean;
                requested: any;
                state: any;
                verdict: any;
            }
            | { found: boolean; state: string }

        { found, ...outcome } for a state, or { verifications, total, limit }