Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow verification for (event) objects #85

Open
dsbaars opened this issue Feb 14, 2025 · 0 comments
Open

Allow verification for (event) objects #85

dsbaars opened this issue Feb 14, 2025 · 0 comments

Comments

@dsbaars
Copy link

dsbaars commented Feb 14, 2025

Currently the Event::verify() method only accepts a string that should contain JSON.
In situations where the Event Data is already is an object this requires encoding the object again to validate the signature.

Also after parsing it would be useful to return the Event object for further use.

I'm already working on improving this myself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant