iya-sts
    Preparing search index...
    uploadDoor: (req: any, via: string, withCsrf: boolean) => any = ...

    Type Declaration

      • (req: any, via: string, withCsrf: boolean): any
      • Builds the door risk/risk_upload.ts is handed: who is uploading, the console's CSRF check, and a realm administrator's scope check on the upload's fields.

        Parameters

        • req: any

          the request

        • via: string

          which surface asked

        • withCsrf: boolean

          whether to check the console's CSRF token

        Returns any

        the door: via, source, actor, csrf and scope