Show / Hide Table of Contents

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
TargetVersions
.NET Standard 2.0100.12 - 200.8
.NET100.13 - 200.8
.NET Windows100.13 - 200.8
.NET Android200.0 - 200.8
.NET iOS200.0 - 200.8
.NET Framework100.12 - 200.8
Xamarin.Android100.12 - 100.15
Xamarin.iOS100.12 - 100.15
UWP100.12 - 200.8
In This Article
Back to top Copyright © 2022 Esri.