A session representing a logged in user.
Optional credentialsA string indicating whether credentials (cookies) will be sent with the request. Used internally for authentication workflows.
Object to store
Optional dataThe size of data stream in bytes. Required if the data is a Nodejs ReadStream.
Optional fetchThe implementation of fetch to use. Defaults to a global fetch.
Optional init: RequestInitOptional headersAdditional Headers to pass into the request.
Optional hidePrevents the token from being passed in a URL Query param that is saved in browser history. Instead, the token will be passed in POST request body or through X-Esri-Authorization header. NOTE: This will force POST requests in browsers since auth header is not yet supported by preflight OPTIONS check with CORS.
Optional httpThe HTTP method to send the request with.
Unique identifier of the item.
Optional maxIf the length of a GET request's URL exceeds maxUrlLength the request will use POST instead.
Optional ownerItem owner username. If not present, authentication.username is utilized.
Optional paramsAdditional parameters to pass in the request.
Optional portalBase url for the portal you want to make the request to. Defaults to authentication.portal if authentication exists, otherwise to 'https://www.arcgis.com/sharing/rest'.
Optional rawReturn the raw response
Base options interface for making authenticated requests for items.