C# Class Microsoft.AspNet.WebHooks.DefaultWebHookIdValidator

Provides a default implementation of IWebHookIdValidator which simply deletes any Id provided by a client and instead forces a valid Id to be created on server side.
Inheritance: IWebHookIdValidator
Show file Open project: aspnet/WebHooks

Public Methods

Method Description
ValidateIdAsync ( HttpRequestMessage request, WebHook webHook ) : System.Threading.Tasks.Task

Method Details

ValidateIdAsync() public method

public ValidateIdAsync ( HttpRequestMessage request, WebHook webHook ) : System.Threading.Tasks.Task
request System.Net.Http.HttpRequestMessage
webHook WebHook
return System.Threading.Tasks.Task