mirror of
https://github.com/appwrite/appwrite
synced 2026-05-23 08:58:35 +00:00
feat: renamed adapter variable to scope
This commit is contained in:
parent
6bc1668877
commit
9a5b0098a6
1 changed files with 1 additions and 5 deletions
|
|
@ -17,7 +17,7 @@ class Bitbucket extends OAuth
|
|||
/**
|
||||
* @var array
|
||||
*/
|
||||
protected $requiredScope = [];
|
||||
protected $scope = [];
|
||||
|
||||
/**
|
||||
* @return string
|
||||
|
|
@ -32,10 +32,6 @@ class Bitbucket extends OAuth
|
|||
*/
|
||||
public function getLoginURL(): string
|
||||
{
|
||||
foreach ($this->requiredScope as $item) {
|
||||
$this->addScope($item);
|
||||
}
|
||||
|
||||
return 'https://bitbucket.org/site/oauth2/authorize?'.http_build_query([
|
||||
'response_type' => 'code',
|
||||
'client_id' => $this->appID,
|
||||
|
|
|
|||
Loading…
Reference in a new issue