mirror of
https://github.com/elyby/oauth2-server.git
synced 2025-01-11 14:22:19 +05:30
Do not forget to set the expire time.
This commit is contained in:
parent
8c6fd6c05a
commit
2af7195f06
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user