iya-sts
    Preparing search index...

    Variable finishInteraction

    finishInteraction: (
        req: any,
        grant: any,
    ) => Promise<
        | {
            none: boolean;
            pushed?: undefined;
            redirect?: undefined;
            why?: undefined;
        }
        | {
            none?: undefined;
            pushed?: undefined;
            redirect: string;
            why?: undefined;
        }
        | { none?: undefined; pushed: boolean; redirect?: undefined; why: string },
    > = ...

    Type Declaration

      • (
            req: any,
            grant: any,
        ): Promise<
            | {
                none: boolean;
                pushed?: undefined;
                redirect?: undefined;
                why?: undefined;
            }
            | {
                none?: undefined;
                pushed?: undefined;
                redirect: string;
                why?: undefined;
            }
            | { none?: undefined; pushed: boolean; redirect?: undefined; why: string },
        >
      • Finishes an interaction (section 4.2): creates the interaction reference, computes the hash and follows the finish method.

        Parameters

        • req: any

          the request

        • grant: any

          the grant

        Returns Promise<
            | {
                none: boolean;
                pushed?: undefined;
                redirect?: undefined;
                why?: undefined;
            }
            | {
                none?: undefined;
                pushed?: undefined;
                redirect: string;
                why?: undefined;
            }
            | { none?: undefined; pushed: boolean; redirect?: undefined; why: string },
        >

        { redirect }, { pushed, why } or { none }