mirror of
https://github.com/elyby/oauth2-server.git
synced 2026-11-22 23:53:18 +05:30
Lotsa bug fixes and updates
This commit is contained in:
1 parent
c6bc1b0cfc
commit
1e78f62823
17 files changed
+61
-121
No files matched your search
@@ -55,7 +55,7 @@ class AuthCodeEntity extends AbstractTokenEntity
|
||||
$uri .= (strstr($this->getRedirectUri(), $queryDelimeter) === false) ? $queryDelimeter : '&';
|
||||
|
||||
return $uri.http_build_query([
|
||||
'code' => $this->getToken(),
|
||||
'code' => $this->getId(),
|
||||
'state' => $state
|
||||
]);
|
||||
}
|
||||
@@ -94,7 +94,7 @@ class AuthCodeEntity extends AbstractTokenEntity
|
||||
public function save()
|
||||
{
|
||||
$this->server->getStorage('auth_code')->create(
|
||||
$this->getToken(),
|
||||
$this->getId(),
|
||||
$this->getExpireTime(),
|
||||
$this->getSession()->getId()
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user