Class AllowedOriginAttribute
Specifies the expected origin service for a message handler.
When applied, the OriginValidationBehaviour in the pipeline checks
that the incoming message contains an "Origin" header with this value.
Inheritance
AllowedOriginAttribute
Assembly: Chapar.Core.dll
Syntax
[AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = true)]
public class AllowedOriginAttribute : Attribute
Constructors
|
Edit this page
View Source
AllowedOriginAttribute(string)
Declaration
public AllowedOriginAttribute(string origin)
Parameters
| Type |
Name |
Description |
| string |
origin |
|
Properties
|
Edit this page
View Source
Origin
Declaration
public string Origin { get; }
Property Value