-
-
Notifications
You must be signed in to change notification settings - Fork 231
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
feat: add client reserved userdata
property
#942
base: main
Are you sure you want to change the base?
Conversation
add details about client.userdata being free for use by users
Add an example of using client.userdata
fold up client.userdata example code to keep the page looking short.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would declare it also on code side and types (remember to add types test as well)
userdata
property
I'll not get to these mods for a few weeks - last day before holiday today, and I don't yet have a local repo to run tests etc.... |
## Client userdata | ||
|
||
The tag `userdata` on the client structure is free for use by users to store whatever they want. | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would name this section JWT Authentication
and then explain that we will store JWT auth and client ip in client.userdata
I prefer to merge this once it's complete |
Adds client.userdata description to client doc, and an example in examples doc.