TwilioClientWrapper.ValidateSignature メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
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>
キーと値のペアとしての要求ペイロード。
戻り値
要求内の署名とハッシュされた本文の比較の結果。