CorsOptions Class
Contains the options used by the CorsMiddleware
Inheritance Hierarchy
System.Object
Microsoft.Owin.Cors.CorsOptions
Namespace: Microsoft.Owin.Cors
Assembly: Microsoft.Owin.Cors (in Microsoft.Owin.Cors.dll)
Syntax
'Declaration
Public Class CorsOptions
'Usage
Dim instance As CorsOptions
public class CorsOptions
public ref class CorsOptions
type CorsOptions = class end
public class CorsOptions
The CorsOptions type exposes the following members.
Constructors
Name | Description | |
---|---|---|
CorsOptions |
Top
Properties
Name | Description | |
---|---|---|
AllowAll | A policy that allows all headers, all methods, any origin and supports credentials | |
CorsEngine | The cors engine | |
PolicyProvider | The cors policy to apply |
Top
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
ToString | (Inherited from Object.) |
Top
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.