CORS or Cross-origin resource sharing permits restricted resources to be requested from another domain outside the domain from which the resource was served.
Represents a collection of allowed origins.
Represents a collection of allowed headers.
Represents a collection of exposed headers.
Specifies whether credentials are included in the CORS request.
The number of seconds that the browser should cache preflight request results.
When value is
-1 it will disable caching, requiring a preflight OPTIONS check for all calls.
Represents a collection of allowed HTTP methods.