public class RequestValidator extends Object
Constructor and Description |
---|
RequestValidator(String authToken) |
Modifier and Type | Method and Description |
---|---|
boolean |
validate(String url,
Map<String,String> params,
String expectedSignature) |
boolean |
validate(String url,
String body,
String expectedSignature) |
boolean |
validateBody(String body,
String expectedSHA) |
public RequestValidator(String authToken)
public boolean validate(String url, String body, String expectedSignature) throws URISyntaxException
URISyntaxException
Copyright © 2019 Twilio, Inc. All Rights Reserved.