Remove leftovers

This commit is contained in:
Matej Bačo
2022-07-03 10:09:26 +02:00
committed by GitHub
parent e26dc9a2b7
commit 7b5a35cbc6
+1 -5
View File
@@ -36,7 +36,7 @@ class Podio extends OAuth2
/**
* @var array
*/
protected array $scopes = [];
protected array $scopes = []; // No scopes required
/**
* @return string
@@ -70,8 +70,6 @@ class Podio extends OAuth2
*/
protected function getTokens(string $code): array
{
// /token?grant_type=refresh_token&client_id=YOUR_APP_ID&client_secret=YOUR_APP_SECRET&refresh_token=REFRESH_TOKEN
if (empty($this->tokens)) {
$this->tokens = \json_decode($this->request(
'POST',
@@ -144,8 +142,6 @@ class Podio extends OAuth2
/**
* Check if the OAuth email is verified
*
* @link https://discord.com/developers/docs/resources/user
*
* @param string $accessToken
*
* @return bool