Hi,
I have been looking into Pyramid Security to use it for user login and logout and I am confused about the whole flow. I have been trying to gather and understand information from several places including a Wiki example but still not clear about few things. My requirement is quite simple like any typical portal: 1. User would sign in from any page by clicking on sign up link - which might pop up a lightbox for username and password or might redirect to a signing in page. 2. User enters the username and password which invokes the login view let's say. Now I have configured the <http://docs.pylonsproject.org/projects/pyramid/en/latest/api/authentication .html#pyramid.authentication.AuthTktAuthenticationPolicy> pyramid.authentication.AuthTktAuthenticationPolicy with a secret and hash algorithm. There is a parameter for callback where it has been used for groupid in the wiki example. I am not sure if I can use it for my specific purpose as mentioned above. When I looked at the description of the callback, it was talking about userid. I couldn't understand where it gets the userid from. Also, it seems the encryption is done using the userid. I would really appreciate if you could help me with the above and provide me some info which clearly states the flow of the authentication process using pyramid security and takes me step by step. Looking forward to your support. Thanks, Pinakee -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/pylons-discuss. For more options, visit https://groups.google.com/groups/opt_out.
