iya-sts
    Preparing search index...

    Variable receiveForm

    receiveForm: (req: any, door: UploadDoor) => Promise<UploadAnswer> = ...

    Type Declaration

      • (req: any, door: UploadDoor): Promise<UploadAnswer>
      • Receives an upload through the console door: multipart/form-data, the fields first and then the one file.

        A field after the file, a second file or no file is refused; the CSRF token and fields are checked when the file part begins.

        Parameters

        • req: any

          the express request, its body unread

        • door: UploadDoor

          the audit channel, source, actor, the CSRF check and the realm-scope check

        Returns Promise<UploadAnswer>

        { status, code, body, close }: the version recorded loading, or the refusal