expires isn't part of the spec

This commit is contained in:
Alex Bilbie
2014-07-27 17:15:55 +01:00
parent 0d6c4f65b9
commit 54e6bbd4a6
7 changed files with 1 additions and 10 deletions

View File

@@ -102,7 +102,6 @@ class ClientCredentialsGrant extends AbstractGrant
$accessToken->save($this->server->getStorage('access_token'));
$this->server->getTokenType()->set('access_token', $accessToken->getId());
$this->server->getTokenType()->set('expires', $accessToken->getExpireTime());
$this->server->getTokenType()->set('expires_in', $this->server->getAccessTokenTTL());
return $this->server->getTokenType()->generateResponse();