RequestValidator Class |
Namespace: Colygon.MatchPoint.WebApi.Configuration
[SerializableAttribute] public sealed class RequestValidator
The RequestValidator type exposes the following members.
Name | Description | |
---|---|---|
RequestValidator | Initializes a new instance of the RequestValidator class |
Name | Description | |
---|---|---|
Id | ||
Name | Specifies the name of this configuration. | |
PrivateApiKey | Specifies a key that can be used to sign a hash. | |
ValidationExpression | Specifies an expression that validates each request and has to evaluate to a boolean value. Use the expression variable 'Payload' to access the payload stream. Use the expression variable 'Request' to access the request context. Use the expression variable 'ApiKey' to access the private api key. |
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
ToString | (Overrides ObjectToString.) |