feat: add client reserved userdata property#942
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.
robertsLando
left a comment
There was a problem hiding this comment.
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.
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.