次の方法で共有


TwilioClientWrapper.ValidateSignature メソッド

定義

Twilio からの HTTP 要求を検証します。

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>

キーと値のペアとしての要求ペイロード。

戻り値

要求内の署名とハッシュされた本文の比較の結果。

適用対象