CorsOptions Class

 

Contains the options used by the CorsMiddleware

Namespace:   Microsoft.Owin.Cors
Assembly:  Microsoft.Owin.Cors (in Microsoft.Owin.Cors.dll)

Inheritance Hierarchy

System.Object
  Microsoft.Owin.Cors.CorsOptions

Syntax

public class CorsOptions
public ref class CorsOptions 
type CorsOptions = class end
Public Class CorsOptions

Constructors

Name Description
System_CAPS_pubmethod CorsOptions()

Properties

Name Description
System_CAPS_pubpropertySystem_CAPS_static AllowAll

A policy that allows all headers, all methods, any origin and supports credentials

System_CAPS_pubproperty CorsEngine

The cors engine

System_CAPS_pubproperty PolicyProvider

The cors policy to apply

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Microsoft.Owin.Cors Namespace

Return to top