Skip to content

Commit

Permalink
Fixed webhook signature validation docs (#641)
Browse files Browse the repository at this point in the history
Fixes #640
  • Loading branch information
carycheng authored and Matt Willer committed Aug 28, 2018
1 parent ab73199 commit 167c61f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/webhooks.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ String secondaryKey = "Aq5EEEjAu4ssbz8n9UMu7EerI0LKj2TL";
BoxWebHookSignatureVerifier verifier = new BoxWebHookSignatureVerifier(primaryKey, secondaryKey);
boolean isValidMessage = verifier.verify(
headers.get("BOX-SIGNATURE-VERSION"),
headers.get("BOX-SIGNATURE-VERSION"),
headers.get("BOX-SIGNATURE-ALGORITHM"),
headers.get("BOX-SIGNATURE-PRIMARY"),
headers.get("BOX-SIGNATURE-SECONDARY"),
messagePayload,
Expand Down

0 comments on commit 167c61f

Please sign in to comment.