xjsframework / xjsframework.github.io

XJS Framework website
http://xjsframework.github.io
1 stars 2 forks source link

Update tutorial on authentication best practice #11

Closed mikeybanez closed 8 years ago

mikeybanez commented 8 years ago

As of internal build XBC 2.7.1511.1902, it is now possible to get a hash of the logged-in user's identity. We need to update our tutorials to include using this functionality to properly distinguish authentication info granted to different users.

Functions will be created in xjs#32

ghost commented 8 years ago

I think the tutorials are good to go. We could however change the links of getUserIdHash().

Current link: http://xjsframework.github.io/api.html#/core/App Suggested link: http://xjsframework.github.io/api.html#/core/App#getUserIdHash

This will automatically scroll the page to wherever getUserIdHash's description/details is. The same suggestion goes for links to createDialog, Dialog.return, and getResult()