Update docs, remove leftovers

This commit is contained in:
Matej Bačo 2022-07-03 10:05:49 +02:00 committed by GitHub
parent 6e8b11113e
commit e26dc9a2b7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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,