Skip to content

Commit d74ac0a

Browse files
author
Xiao Hu
authored
Merge pull request #86 from square/release/23.1.0.20220823
Generated PR for Release: 23.1.0.20220823
2 parents 68fe997 + c170696 commit d74ac0a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/squareup/square/utilities/WebhooksHelper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ public class WebhooksHelper {
2020
* @param signatureHeader The value for the {@code x-square-hmacsha256-signature} header.
2121
* @param signatureKey The signature key from the <a href="https://developer.squareup.com/apps">Square Developer portal</a> for the webhook subscription.
2222
* @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>
2424
* {@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.
2525
*/
2626
public static boolean isValidWebhookEventSignature(String requestBody, String signatureHeader,

0 commit comments

Comments
 (0)