Share via


OwinAppBuilderExtension.GetCorsOptions Method

Definition

Gets a Microsoft.Owin.Cors.CorsOptions instance based on any Microsoft.Owin.Cors.CorsOptions provided in the ConfigOptions, or if null, on the CrossDomainOrigins application settings.

protected virtual Microsoft.Owin.Cors.CorsOptions GetCorsOptions ();
abstract member GetCorsOptions : unit -> Microsoft.Owin.Cors.CorsOptions
override this.GetCorsOptions : unit -> Microsoft.Owin.Cors.CorsOptions
Protected Overridable Function GetCorsOptions () As CorsOptions

Returns

Microsoft.Owin.Cors.CorsOptions

Applies to