iya-sts
    Preparing search index...

    Variable handleRst

    handleRst: (
        rawBody: any,
        contentType: any,
        options: any,
    ) =>
        | {
            body: string;
            errorCode: any;
            signIn?: undefined;
            status: number;
            version: string;
        }
        | {
            body: string;
            errorCode?: undefined;
            signIn?: undefined;
            status: number;
            version: string;
        }
        | {
            body: string;
            errorCode?: undefined;
            signIn: { amr: string[]; method: any; username: any; via: string };
            status: number;
            version: string;
        } = ...

    Type Declaration

      • (
            rawBody: any,
            contentType: any,
            options: any,
        ):
            | {
                body: string;
                errorCode: any;
                signIn?: undefined;
                status: number;
                version: string;
            }
            | {
                body: string;
                errorCode?: undefined;
                signIn?: undefined;
                status: number;
                version: string;
            }
            | {
                body: string;
                errorCode?: undefined;
                signIn: { amr: string[]; method: any; username: any; via: string };
                status: number;
                version: string;
            }
      • Handles one RequestSecurityToken: parses the SOAP body, authenticates the requester, decides delegation and issuance, and answers the RSTR or a SOAP Fault. Never throws on a malformed body.

        Parameters

        • rawBody: any

          the request body

        • contentType: any

          the request's content type

        • options: any

          encrypt, to encrypt an issued assertion

        Returns
            | {
                body: string;
                errorCode: any;
                signIn?: undefined;
                status: number;
                version: string;
            }
            | {
                body: string;
                errorCode?: undefined;
                signIn?: undefined;
                status: number;
                version: string;
            }
            | {
                body: string;
                errorCode?: undefined;
                signIn: { amr: string[]; method: any; username: any; via: string };
                status: number;
                version: string;
            }

        the HTTP status, the SOAP version, the envelope body and, where issued, the sign-in to record