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;
},
>
-
Parameters
- req: any
- asked: any
- where: string
Optionaloptions: { completionUri?: string }
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 }
Builds a presentation request as
POST /admin-api/verifications/startasks, and says how a wallet is handed it.