From 2af7195f06205c09d350834b5475fd00a835d436 Mon Sep 17 00:00:00 2001 From: Ivan Enderlin Date: Tue, 2 Dec 2014 11:28:55 +0100 Subject: [PATCH] Do not forget to set the expire time. --- examples/relational/Storage/AuthCodeStorage.php | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/relational/Storage/AuthCodeStorage.php b/examples/relational/Storage/AuthCodeStorage.php index c744c081..6a44a714 100644 --- a/examples/relational/Storage/AuthCodeStorage.php +++ b/examples/relational/Storage/AuthCodeStorage.php @@ -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; }