1
0
Fork 0
mirror of synced 2024-09-30 17:26:48 +13:00

chore: modified amazon adapter

This commit is contained in:
Christy Jacob 2020-01-18 09:18:47 +05:30
parent 2c937f8221
commit a7f0d16596
2 changed files with 2 additions and 6 deletions

View file

@ -18,7 +18,7 @@ class Amazon extends OAuth
/**
* @var array
*/
protected $requiredScope = [
protected $scopes = [
"profile"
];
@ -46,10 +46,6 @@ class Amazon extends OAuth
*/
public function getLoginURL(): string
{
foreach ($this->requiredScope as $item) {
$this->addScope($item);
}
return 'https://www.amazon.com/ap/oa?'.http_build_query([
'response_type' => 'code',
'client_id' => $this->appID,

View file

@ -17,7 +17,7 @@ class Bitbucket extends OAuth
/**
* @var array
*/
protected $scope = [];
protected $scopes = [];
/**
* @return string