mirror of
https://github.com/elyby/oauth2-server.git
synced 2024-12-26 15:00:19 +05:30
revoke an used auth code
This commit is contained in:
parent
7b803365f9
commit
03e8eb6157
@ -110,6 +110,9 @@ class AuthCodeGrant extends AbstractAuthorizeGrant
|
|||||||
$responseType->setAccessToken($accessToken);
|
$responseType->setAccessToken($accessToken);
|
||||||
$responseType->setRefreshToken($refreshToken);
|
$responseType->setRefreshToken($refreshToken);
|
||||||
|
|
||||||
|
// Revoke used auth code
|
||||||
|
$this->authCodeRepository->revokeAuthCode($authCodePayload->auth_code_id);
|
||||||
|
|
||||||
return $responseType;
|
return $responseType;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user