Language

TwilioClientWrapper.ValidateSignature メソッド

定義

HTTPリクエストがTwilioからのものであることを検証します。

public virtual bool ValidateSignature(Microsoft.AspNetCore.Http.HttpRequest httpRequest, System.Collections.Generic.Dictionary<string,string> body);
abstract member ValidateSignature : Microsoft.AspNetCore.Http.HttpRequest * System.Collections.Generic.Dictionary<string, string> -> bool
override this.ValidateSignature : Microsoft.AspNetCore.Http.HttpRequest * System.Collections.Generic.Dictionary<string, string> -> bool
Public Overridable Function ValidateSignature (httpRequest As HttpRequest, body As Dictionary(Of String, String)) As Boolean

パラメーター

httpRequest
HttpRequest

検証の依頼。

body
Dictionary<String,String>

リクエストペイロードはキーと値のペアとして使われます。

返品

リクエスト内の署名とハッシュ化された本体の比較結果です。

適用対象