Taal

TwilioClientWrapper.ValidateSignature Methode

Definitie

Valideert een HTTP-verzoek als afkomstig van 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

Parameters

httpRequest
HttpRequest

Het verzoek om te valideren.

body
Dictionary<String,String>

De verzoekpayload, als sleutel-waarde paren.

Retouren

Het resultaat van de vergelijking tussen de handtekening in het verzoek en het gehashte lichaam.

Van toepassing op