Skip to content

Commit

Permalink
Merge pull request #268 from Hywan/fix_example_storage_authcode
Browse files Browse the repository at this point in the history
Do not forget to set the expire time
  • Loading branch information
alexbilbie committed Dec 2, 2014
2 parents 8c6fd6c + 2af7195 commit 9ec1380
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions examples/relational/Storage/AuthCodeStorage.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ public function get($code)
$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;
}
Expand Down

0 comments on commit 9ec1380

Please sign in to comment.