Issue 38: quick authorization on subsequent pages
Status:  Invalid
Owner: ----
Closed:  May 2011
Reported by drho...@gmail.com, May 4, 2011
After the initial validation, how can I quickly check on other pages to see that the user has been authorized to view the site?
Thanks
David
May 5, 2011
Project Member #1 mewp...@gmail.com
You have to do it yourself. OpenID performs only authentication, i.e. confirming an identity. The information returned are not in any way managed by LightOpenID (as it's not part of the protocol), so you can do whatever you want with them.

Perhaps, use php sessions[1] to preserve the identity between requests.

That said, the library itself does one and only one thing: confirms an user's identity using OpenID protocol. It doesn't do things like session handling, user management, or whatever else. So after calling validate, LightOpenID can't do anything for you (except returning the values obtained through validation, but it still doesn't preserve anything between requests).

  [1]: http://php.net/manual/en/book.session.php
Status: Invalid
Labels: -Type-Defect Type-Other