Class CorsSettings
Cross-Origin Resource Sharing (CORS) settings for the app.
Inheritance
System.Object
CorsSettings
Namespace: System.Dynamic.ExpandoObject
Assembly: Azure.ResourceManager.AppService.dll
Syntax
public class CorsSettings
Constructors
CorsSettings()
Initializes a new instance of CorsSettings.
Declaration
public CorsSettings ();
Properties
AllowedOrigins
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.
Declaration
public System.Collections.Generic.IList<string> AllowedOrigins { get; }
Property Value
System.Collections.Generic.IList<System.String>
|
SupportCredentials
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.
Declaration
public Nullable<bool> SupportCredentials { get; set; }
Property Value
System.Nullable<System.Boolean>
|