Python consumer session
Kevin Turner
kevin at janrain.com
Tue Oct 31 22:24:56 UTC 2006
On Tue, 2006-10-31 at 11:24 -0800, Christopher Baus wrote:
> I have a question regarding the python consumer API by JanRain. I
> don't totally understand what the session dictionary is used for. I
> thought it had something to do with storing the nonce as explained on
> the website, but that appears to be handled by the store interface.
> Instead a "token" is stored. I'm confused what that token is for.
The store interface is used for data that should be shared between
different operations; server nonces and assoc_handles both need to be
kept around for a while. The session dictionary, on the other hand, is
used for things that only need to be kept for the duration of that
user's login process, i.e. the discovered information about the
identifier.
I hope that helps,
- Kevin
More information about the general
mailing list