iya-sts
    Preparing search index...

    Variable forwardToOwner

    forwardToOwner: (
        req: any,
        grant: any,
        session: any,
    ) => Promise<
        {
            finished: { owner: boolean } & (
                | {
                    none: boolean;
                    pushed?: undefined;
                    redirect?: undefined;
                    why?: undefined;
                }
                | {
                    none?: undefined;
                    pushed?: undefined;
                    redirect: string;
                    why?: undefined;
                }
                | {
                    none?: undefined;
                    pushed: boolean;
                    redirect?: undefined;
                    why: string;
                }
            );
            queued: boolean;
        },
    > = ...

    Type Declaration

      • (
            req: any,
            grant: any,
            session: any,
        ): Promise<
            {
                finished: { owner: boolean } & (
                    | {
                        none: boolean;
                        pushed?: undefined;
                        redirect?: undefined;
                        why?: undefined;
                    }
                    | {
                        none?: undefined;
                        pushed?: undefined;
                        redirect: string;
                        why?: undefined;
                    }
                    | {
                        none?: undefined;
                        pushed: boolean;
                        redirect?: undefined;
                        why: string;
                    }
                );
                queued: boolean;
            },
        >
      • The person at the approval page is not the user the request named: where approval by an absent owner is on, the grant goes to the named owner's portal instead of being decided here, and the interaction is finished so the client continues and polls (RFC 9635 sections 1.4 and 2.4). Null where it does not apply — the person is the one named, or the setting is off and the page answers unknown_user as before.

        Parameters

        • req: any

          the request to the approval page

        • grant: any

          the grant

        • session: any

          the person at the page

        Returns Promise<
            {
                finished: { owner: boolean } & (
                    | {
                        none: boolean;
                        pushed?: undefined;
                        redirect?: undefined;
                        why?: undefined;
                    }
                    | {
                        none?: undefined;
                        pushed?: undefined;
                        redirect: string;
                        why?: undefined;
                    }
                    | {
                        none?: undefined;
                        pushed: boolean;
                        redirect?: undefined;
                        why: string;
                    }
                );
                queued: boolean;
            },
        >

        { finished } (the finish method's answer, owner: true), a refusal recorded as the decision, or null