Hi All,

The docs don't seem too clear on the difference between these two functions. It seems to boil down to "however the authentication policy wants to differentiate these" and I worry that different authentication policies will do different things and users (like me!) will end up getting confused ;-)

As best I can tell, from reading the docs and the stuff in pyramid/authentication.py, they could be better named:

unauthenticated_userid -> authenticated_userid
authenticated_userid -> verified_userid

...in that this makes it clear what the methods are doing.

What situations are envisaged or have been experienced where the differentiation is important?

Also, I'm still left wondering what the correct function to calls is when, in laymen's terms, "I want the id of the currently logged in user"?

cheers,

Chris

--
Simplistix - Content Management, Batch Processing & Python Consulting
           - http://www.simplistix.co.uk

--
You received this message because you are subscribed to the Google Groups 
"pylons-devel" group.
To post to this group, send email to pylons-devel@googlegroups.com.
To unsubscribe from this group, send email to 
pylons-devel+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/pylons-devel?hl=en.

Reply via email to