iya-sts
    Preparing search index...

    Variable startVerification

    startVerification: (
        req: any,
        asked: any,
        where: string,
        options?: { completionUri?: string },
    ) => Promise<
        | {
            code: string;
            error: string;
            mode?: undefined;
            ok: boolean;
            query?: undefined;
            record?: undefined;
            requestUri?: undefined;
            status: number;
            wallet?: undefined;
            walletUrl?: undefined;
        }
        | {
            code?: undefined;
            error?: undefined;
            mode: string;
            ok: boolean;
            query: string;
            record: any;
            requestUri: string;
            status?: undefined;
            wallet: string;
            walletUrl: string;
        },
    > = ...

    Type Declaration

      • (
            req: any,
            asked: any,
            where: string,
            options?: { completionUri?: string },
        ): Promise<
            | {
                code: string;
                error: string;
                mode?: undefined;
                ok: boolean;
                query?: undefined;
                record?: undefined;
                requestUri?: undefined;
                status: number;
                wallet?: undefined;
                walletUrl?: undefined;
            }
            | {
                code?: undefined;
                error?: undefined;
                mode: string;
                ok: boolean;
                query: string;
                record: any;
                requestUri: string;
                status?: undefined;
                wallet: string;
                walletUrl: string;
            },
        >
      • Builds a presentation request as POST /admin-api/verifications/start asks, and says how a wallet is handed it.

        Parameters

        • req: any

          the request, whose origin and realm the request is built on

        • asked: any

          what was asked: format, by, client_id_prefix, response_type, response_mode, mode and wallet

        • where: string

          the input group's name for a refusal (query, body)

        • Optionaloptions: { completionUri?: string }

          completionUri: where the Response Endpoint sends the wallet afterwards, already checked by completionUriFor()

        Returns Promise<
            | {
                code: string;
                error: string;
                mode?: undefined;
                ok: boolean;
                query?: undefined;
                record?: undefined;
                requestUri?: undefined;
                status: number;
                wallet?: undefined;
                walletUrl?: undefined;
            }
            | {
                code?: undefined;
                error?: undefined;
                mode: string;
                ok: boolean;
                query: string;
                record: any;
                requestUri: string;
                status?: undefined;
                wallet: string;
                walletUrl: string;
            },
        >

        { ok: true, record, query, wallet, walletUrl, requestUri, mode }, or { ok: false, status, code, error }