CorsSettingsResponse

data class CorsSettingsResponse(val allowedOrigins: List<String>? = null, val supportCredentials: Boolean? = null)

Cross-Origin Resource Sharing (CORS) settings for the app.

Constructors

Link copied to clipboard
constructor(allowedOrigins: List<String>? = null, supportCredentials: Boolean? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val allowedOrigins: List<String>? = null

Gets or sets the list of origins that should be allowed to make cross-origin calls (for example: http://example.com:12345). Use "*" to allow all.

Link copied to clipboard

Gets or sets whether CORS requests with credentials are allowed. See https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS#Requests_with_credentials for more details.