Add Lists, Events, privacy request and webhook demos#7
Closed
bartes wants to merge 1 commit into
Closed
Conversation
Add demo endpoints exercising the SDK directly: /lists-demo (Lists and list items lifecycle), /events-demo (event schema and query), /privacy-demo (privacy data request) and /webhooks (verifies the X-Castle-Signature header against the raw request body). Link them from the home page. Bump the castle-java dependency to 2.2.0 and the app version to 1.5.0.
Author
|
Superseded by #8, which rebuilds the example on castle-java 3.0.0 and demonstrates the same surface (Lists, Events, Privacy and webhook signature verification) as part of the Spring Boot app. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds demo endpoints that exercise the Castle SDK directly and links them from the home page:
/lists-demo— creates a list, adds an item, queries the items, lists all lists and deletes the list./events-demo— fetches the event schema and queries events./privacy-demo?userId=...— requests the data Castle holds for a user./webhooks— verifies theX-Castle-Signatureheader against the raw request body and lists verified payloads.Bumps the
castle-javadependency to2.2.0and the app version to1.5.0.