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
Target | Versions |
---|---|
.NET Standard 2.0 | 100.12 - 100.15 |
.NET 6.0 | 100.13 - 100.15 |
.NET 6.0 Windows | 100.13 - 100.15 |
.NET Framework | 100.12 - 100.15 |
.NET 5 | 100.12 |
.NET Core 3.1 | 100.12 |
Xamarin.Android | 100.12 - 100.15 |
Xamarin.iOS | 100.12 - 100.15 |
UWP | 100.12 - 100.15 |