Do not forget to set the expire time.

This commit is contained in:
Ivan Enderlin 2014-12-02 11:28:55 +01:00
parent 8c6fd6c05a
commit 2af7195f06

View File

@ -24,6 +24,7 @@ class AuthCodeStorage extends AbstractStorage implements AuthCodeInterface
$token = new AuthCodeEntity($this->server);
$token->setId($result[0]['auth_code']);
$token->setRedirectUri($result[0]['client_redirect_uri']);
$token->setExpireTime($result[0]['expire_time']);
return $token;
}