Refers to a cross-domain security procedure for JavaScript-based clients.
Name | Type | Default | Description |
---|---|---|---|
id | string | A unique configuration ID. | |
domain | string | The domain name represents the URL being setup with these CORS settings. | |
allowedOrigins | string | null | A comma-separated list of origins allowed to access the configured domain. |
allowedMethods | string | A comma-separated list of HTTP methods allowed to be used by the origin domain when making requests to the configured domain. | |
allowedHeaders | string | A comma-separated list of HTTP headers allowed to be used by the origin domain when making requests to the configured domain. | |
exposeHeaders | string | A comma-separated list of HTTP headers that are safe to expose to the calling API. | |
maxAge | long | A long that indicates how many seconds a response to a preflight request can be cached in the browser. | |
allowCredentials | boolean | A boolean that indicates if the user credentials can be included in the request. |