Property AuthorizedCrossOriginDomains
AuthorizedCrossOriginDomains
Gets the array of trusted servers that clients can send credentials to when making cross-origin resource sharing (CORS) requests to access web-tier secured services.
Declaration
[DataMember(Name = "authorizedCrossOriginDomains", IsRequired = false)]
[JsonInclude]
public string[] AuthorizedCrossOriginDomains { get; }
Property Value
Type | Description |
---|---|
System.String[] | An array of trusted servers that clients can send credentials to when making CORS requests. |
Remarks
The array contains strings specifying the domain name of each trusted server, such as "https://www.argcis.com"
.
A protocol (only HTTP and HTTPS are supported) and port number may be included,
but are not required.
By default, a portal allows all cross-origin resource sharing requests unless this property is configured.
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.12 - 200.5 |
.NET | 100.13 - 200.5 |
.NET Windows | 100.13 - 200.5 |
.NET Android | 200.0 - 200.5 |
.NET iOS | 200.0 - 200.5 |
.NET Framework | 100.12 - 200.5 |
Xamarin.Android | 100.12 - 100.15 |
Xamarin.iOS | 100.12 - 100.15 |
UWP | 100.12 - 200.5 |