Hi Shante,
The way we currently handle sessions in our own conductance-based
applications is to 'hide' the actual session api behind a 'login' api
function. The login function returns the session api when it
recognizes the passed-in credentials.
See
https://github.com/onilabs/session_test for a minimal top-down
structured application that demos this (works in both the released
0.5.1 version and with the current 'master' branch version of
conductance).
For our upcoming release (hopefully spring '16), we'll have better
built-in support for user/session management (also built-in oauth
flows, to authenticate with e.g. google), a built-in db (based on
leveldb), as well as better integration with various external cloud
services, and new features in our ui framework. There's an application
at
https://github.com/onilabs/oni_photos (deployed at
http://photostories.onihub.com/) that demos a bunch of this stuff, but
the source code might be confusing as it uses features from the
conductance master branch that are still undocumented.
Happy Holidays!
Alex
> --
> You received this message because you are subscribed to the Google Groups
> "StratifiedJS" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
stratifiedjs...@googlegroups.com.
> For more options, visit
https://groups.google.com/d/optout.