iya-sts
    Preparing search index...

    Variable readPossiblyEncryptedRequest

    readPossiblyEncryptedRequest: (
        req: any,
    ) =>
        | {
            body: any;
            description?: undefined;
            encrypted: boolean;
            error?: undefined;
            errorCode?: undefined;
        }
        | {
            body?: undefined;
            description: any;
            encrypted?: undefined;
            error: string;
            errorCode: string;
        } = ...

    Type Declaration

      • (
            req: any,
        ):
            | {
                body: any;
                description?: undefined;
                encrypted: boolean;
                error?: undefined;
                errorCode?: undefined;
            }
            | {
                body?: undefined;
                description: any;
                encrypted?: undefined;
                error: string;
                errorCode: string;
            }
      • Reads the credential or deferred endpoint's request body, decrypting it when it is encrypted (section 10).

        Parameters

        • req: any

          the request

        Returns
            | {
                body: any;
                description?: undefined;
                encrypted: boolean;
                error?: undefined;
                errorCode?: undefined;
            }
            | {
                body?: undefined;
                description: any;
                encrypted?: undefined;
                error: string;
                errorCode: string;
            }

        { body }, or { error } for the caller to answer