Store the redirect URI too

This commit is contained in:
Alex Bilbie 2014-07-27 17:14:50 +01:00
parent cfd1c93a46
commit 0d6c4f65b9

View File

@ -96,7 +96,8 @@ class AuthCodeEntity extends AbstractTokenEntity
$this->server->getStorage('auth_code')->create(
$this->getId(),
$this->getExpireTime(),
$this->getSession()->getId()
$this->getSession()->getId(),
$this->getRedirectUri()
);
// Associate the scope with the token