You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/main/java/com/squareup/square/utilities/WebhooksHelper.java
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -20,7 +20,7 @@ public class WebhooksHelper {
20
20
* @param signatureHeader The value for the {@code x-square-hmacsha256-signature} header.
21
21
* @param signatureKey The signature key from the <a href="https://developer.squareup.com/apps">Square Developer portal</a> for the webhook subscription.
22
22
* @param notificationUrl The notification endpoint URL as defined in the <a href="https://developer.squareup.com/apps">Square Developer portal</a> for the webhook subscription.
23
-
* @return {@code true} if the signature is valid, indicating that the event can be trusted as it came from Square.<br/>
23
+
* @return {@code true} if the signature is valid, indicating that the event can be trusted as it came from Square.<br>
24
24
* {@code false} if the signature validation fails, indicating that the event did not come from Square, so it may be malicious and should be discarded.
0 commit comments