Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface CorsPolicy

Package version

The CORS policy for the Cosmos DB database account.

Hierarchy

  • CorsPolicy

Index

Properties

Optional allowedHeaders

allowedHeaders: undefined | string

The request headers that the origin domain may specify on the CORS request.

Optional allowedMethods

allowedMethods: undefined | string

The methods (HTTP request verbs) that the origin domain may use for a CORS request.

allowedOrigins

allowedOrigins: string

The origin domains that are permitted to make a request against the service via CORS.

Optional exposedHeaders

exposedHeaders: undefined | string

The response headers that may be sent in the response to the CORS request and exposed by the browser to the request issuer.

Optional maxAgeInSeconds

maxAgeInSeconds: undefined | number

The maximum amount time that a browser should cache the preflight OPTIONS request.

Generated using TypeDoc