From e26dc9a2b7f3de624b47c34086ab6ad7a74bdded Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matej=20Ba=C4=8Do?= Date: Sun, 3 Jul 2022 10:05:49 +0200 Subject: [PATCH] Update docs, remove leftovers --- src/Appwrite/Auth/OAuth2/Podio.php | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/src/Appwrite/Auth/OAuth2/Podio.php b/src/Appwrite/Auth/OAuth2/Podio.php index 7bb7244d7c..dc87dd72ad 100644 --- a/src/Appwrite/Auth/OAuth2/Podio.php +++ b/src/Appwrite/Auth/OAuth2/Podio.php @@ -10,16 +10,15 @@ use Appwrite\Auth\OAuth2; class Podio extends OAuth2 { /** + * Endpoint used for initiating OAuth flow + * * @var string */ - private string $endpoint = 'http://oauth.net/2'; - - /** - * @var string - */ - private string $authEndpoint = 'https://podio.com/oauth'; + private string $endpoint = 'https://podio.com/oauth'; /** + * Endpoint for communication with API server + * * @var string */ private string $apiEndpoint = 'https://api.podio.com'; @@ -52,7 +51,7 @@ class Podio extends OAuth2 */ public function getLoginURL(): string { - $url = $this->authEndpoint . '/authorize?' . + $url = $this->endpoint . '/authorize?' . \http_build_query([ // 'response_type' => 'code', 'client_id' => $this->appID,