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
파일 보기 프로젝트 열기: aspnet/WebHooks

공개 메소드들

메소드 설명
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