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)]
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 - 100.15
.NET 6.0100.13 - 100.15
.NET 6.0 Windows100.13 - 100.15
.NET Framework100.12 - 100.15
.NET 5100.12
.NET Core 3.1100.12
Xamarin.Android100.12 - 100.15
Xamarin.iOS100.12 - 100.15
UWP100.12 - 100.15
In This Article
Back to top Copyright © 2022 Esri.