mirror of
https://github.com/elyby/oauth2-server.git
synced 2026-11-29 18:53:25 +05:30
Do not forget to set the expire time.
This commit is contained in:
1 parent
8c6fd6c05a
commit
2af7195f06
1 file changed
+1
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user