CorsPolicyProvider Class
A pluggable CORS policy provider that always returns null by default.
Namespace: Microsoft.Owin.Cors
Assembly: Microsoft.Owin.Cors (in Microsoft.Owin.Cors.dll)
Inheritance Hierarchy
System.Object
Microsoft.Owin.Cors.CorsPolicyProvider
Syntax
public class CorsPolicyProvider : ICorsPolicyProvider
public ref class CorsPolicyProvider : ICorsPolicyProvider
type CorsPolicyProvider =
class
interface ICorsPolicyProvider
end
Public Class CorsPolicyProvider
Implements ICorsPolicyProvider
Constructors
Name | Description | |
---|---|---|
![]() |
CorsPolicyProvider() | Creates a new CorsPolicyProvider instance. |
Properties
Name | Description | |
---|---|---|
![]() |
PolicyResolver | A pluggable callback that will be used to select the CORS policy for the given requests. |
Methods
Name | Description | |
---|---|---|
![]() |
Equals(Object) | (Inherited from Object.) |
![]() |
Finalize() | (Inherited from Object.) |
![]() |
GetCorsPolicyAsync(IOwinRequest) | Executes the PolicyResolver unless overridden by a subclass. |
![]() |
GetHashCode() | (Inherited from Object.) |
![]() |
GetType() | (Inherited from Object.) |
![]() |
MemberwiseClone() | (Inherited from Object.) |
![]() |
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
Return to top