iya-sts
    Preparing search index...
    beginConnectAsync: (
        req: any,
        spec: any,
    ) => Promise<
        | {
            binding?: undefined;
            code: string;
            handle?: undefined;
            ok: boolean;
            record?: undefined;
            why: string;
        }
        | {
            binding: any;
            code?: undefined;
            handle: string;
            ok: boolean;
            record: {};
            why?: undefined;
        }
        | { binding: any; cookie: string; location: any; ok: boolean },
    > = ...

    Type Declaration

      • (
            req: any,
            spec: any,
        ): Promise<
            | {
                binding?: undefined;
                code: string;
                handle?: undefined;
                ok: boolean;
                record?: undefined;
                why: string;
            }
            | {
                binding: any;
                code?: undefined;
                handle: string;
                ok: boolean;
                record: {};
                why?: undefined;
            }
            | { binding: any; cookie: string; location: any; ok: boolean },
        >
      • beginConnect(), with a Request Object signed off the event loop where the realm's key is in the HSM (#1955 P8 follow-up); a software key signs the same claims, in place. The portal's connect awaits this one.

        Parameters

        • req: any

          the request

        • spec: any

          as beginConnect()'s

        Returns Promise<
            | {
                binding?: undefined;
                code: string;
                handle?: undefined;
                ok: boolean;
                record?: undefined;
                why: string;
            }
            | {
                binding: any;
                code?: undefined;
                handle: string;
                ok: boolean;
                record: {};
                why?: undefined;
            }
            | { binding: any; cookie: string; location: any; ok: boolean },
        >

        a promise of beginConnect()'s answer