C# Class Microsoft.AspNet.WebHooks.BitbucketWebHookReceiver

Provides an IWebHookReceiver implementation which supports WebHooks generated by Bitbucket. A sample WebHook URI is 'https://<host>/api/webhooks/incoming/bitbucket/{id}?code=83699ec7c1d794c0c780e49a5c72972590571fd8'. For security reasons the WebHook URI must be an https URI and contain a 'code' query parameter with the same value as configured in the 'MS_WebHookReceiverSecret_Bitbucket' application setting. The 'code' parameter must be between 32 and 128 characters long. For details about Bitbucket WebHooks, see https://confluence.atlassian.com/bitbucket/manage-webhooks-735643732.html/.
Inheritance: Microsoft.AspNet.WebHooks.WebHookReceiver
Afficher le fichier Open project: aspnet/WebHooks

Méthodes publiques

Méthode Description
ReceiveAsync ( string id, System.Web.Http.Controllers.HttpRequestContext context, HttpRequestMessage request ) : Task

Method Details

ReceiveAsync() public méthode

public ReceiveAsync ( string id, System.Web.Http.Controllers.HttpRequestContext context, HttpRequestMessage request ) : Task
id string
context System.Web.Http.Controllers.HttpRequestContext
request System.Net.Http.HttpRequestMessage
Résultat Task