uafrica / oauth-server

OAuth Server
Other
51 stars 51 forks source link

BelongsTo relation between clients and sessions #16

Closed klickagent closed 9 years ago

klickagent commented 9 years ago

Added belongsTo relation to from client storage to sessions and corrected query in sessions (to avoid ambiguous id). This relation is needed to make the command $this->Auth->getAuthenticate('OAuthServer.OAuth')->Server->getAccessToken()->getSession()->getClient() working which is described on http://oauth2.thephpleague.com/resource-server/securing-your-api/

dakota commented 9 years ago

:+1: Thanks!