| Issue 13: | resource owner | |
| 5 people starred this issue and may be notified of changes. | Back to list |
I can't seem to find a way to store and retrieve informations about the protected resource / resource owner. E.g. verifyAccessToken() verifies that the access token is valid, but we don't now for what it is actually valid (e.g. for which resource / user account / ...).
Mar 22, 2011
#1
arnaud.lb
Sep 26, 2011
I faced the same problem.
Nov 7, 2011
Ditto. This is a pretty big oversight. Kudos to arnaud for his commit, but IMO it isn't enough. The resource owner is just as important of an entity as the tokens and grants, and deserves dedicated handling in the library (not just a little "application data" dump). The resource owner can be passed around as an opaque value, just like state is, but it deserves specific handling.
Nov 7, 2011
John, it looks like the repository here on Google Code is abandoned. There are several forks on GitHub, perhaps you've got more luck with it.
Nov 8, 2011
Oh wow, I didn't think to check Git Hub for clones. Good call. After some digging I found that https://github.com/quizlet/oauth2-php appears to be a highly active clone. It resolves this issue, substantially improves the general architecture of the library, and appears to be regularly updating to deal with the revisions to the spec.
Nov 8, 2011
Yeah, the quizlet fork is really up to date to the specs. You also should checkout https://github.com/jk/oauth2-php for a working PDO (SQL) example. |