C# Класс Microsoft.AspNet.WebHooks.DropboxWebHookReceiver

Provides an IWebHookReceiver implementation which supports WebHooks generated by Dropbox. Set the 'MS_WebHookReceiverSecret_Dropbox' application setting to the application secrets, optionally using IDs to differentiate between multiple WebHooks, for example 'secret0, id1=secret1, id2=secret2'. The corresponding WebHook URI is of the form 'https://<host>/api/webhooks/incoming/dropbox/{id}'. For details about Dropbox WebHooks, see https://www.dropbox.com/developers/webhooks/docs.
Наследование: Microsoft.AspNet.WebHooks.WebHookReceiver
Показать файл Открыть проект

Открытые методы

Метод Описание
ReceiveAsync ( string id, System.Web.Http.Controllers.HttpRequestContext context, HttpRequestMessage request ) : Task

Защищенные методы

Метод Описание
VerifySignature ( HttpRequestMessage request, string id ) : Task

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

Приватные методы

Метод Описание
WebHookVerification ( HttpRequestMessage request, string id ) : Task

Описание методов

ReceiveAsync() публичный Метод

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
Результат Task

VerifySignature() защищенный Метод

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
Результат Task