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

Documentation uses payload when it should be claim #19

Open
samholmes opened this issue May 6, 2015 · 1 comment
Open

Documentation uses payload when it should be claim #19

samholmes opened this issue May 6, 2015 · 1 comment

Comments

@samholmes
Copy link

The JWT spec calls this "payload" a "claim". You're documentation should use this convention to not confuse the subject.

@MichielDeMey
Copy link

Correct, the body consists of one or multiple claims.
However, since - beside the registered claim names - you can add any claim (JSON property) you want, it does make sense to name it 'payload'.

Most JWT packages I've used name it 'payload', some use 'claims'. It's up for discussion.

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

2 participants