C# Class Microsoft.AspNet.WebHooks.TrelloWebHookReceiver

Provides an IWebHookReceiver implementation which supports WebHooks generated by Trello. Set the /MS_WebHookReceiverSecret_Trello/ application setting to the secret defined in Trello. The corresponding WebHook URI is of the form 'https://<host>/api/webhooks/incoming/trello'. For details about Trello WebHooks, see https://trello.com/docs/gettingstarted/webhooks.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

Méthodes protégées

Méthode Description
VerifySignature ( HttpRequestMessage request, string id ) : Task

Verifies that the signature header matches that of the actual body.

Private Methods

Méthode Description
WebHookVerification ( HttpRequestMessage request, string id ) : 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

VerifySignature() protected méthode

Verifies that the signature header matches that of the actual body.
protected VerifySignature ( HttpRequestMessage request, string id ) : Task
request System.Net.Http.HttpRequestMessage
id string
Résultat Task