Update Etsy.php
- Reduces scope to only profile and email - Updates comment for isEmailVerified informing that etsy.com handles verification itself.
This commit is contained in:
parent
6b089d35a9
commit
0653d99e4d
1 changed files with 1 additions and 19 deletions
|
@ -30,26 +30,8 @@ class Etsy extends OAuth2
|
||||||
* @var array
|
* @var array
|
||||||
*/
|
*/
|
||||||
protected array $scopes = [
|
protected array $scopes = [
|
||||||
"address_r",
|
|
||||||
"address_w",
|
|
||||||
"billing_r",
|
|
||||||
"cart_r",
|
|
||||||
"cart_w",
|
|
||||||
"email_r",
|
"email_r",
|
||||||
"favorites_r",
|
|
||||||
"favorites_w",
|
|
||||||
"feedback_r",
|
|
||||||
"listings_d",
|
|
||||||
"listings_r",
|
|
||||||
"listings_w",
|
|
||||||
"profile_r",
|
"profile_r",
|
||||||
"profile_w",
|
|
||||||
"recommend_r",
|
|
||||||
"recommend_w",
|
|
||||||
"shops_r",
|
|
||||||
"shops_w",
|
|
||||||
"transactions_r",
|
|
||||||
"transactions_w",
|
|
||||||
];
|
];
|
||||||
|
|
||||||
private $pkce = '';
|
private $pkce = '';
|
||||||
|
@ -166,7 +148,7 @@ class Etsy extends OAuth2
|
||||||
/**
|
/**
|
||||||
* Check if the OAuth email is verified
|
* Check if the OAuth email is verified
|
||||||
*
|
*
|
||||||
* If present, the email is verified. This was verfied through a manual Stripe sign up process
|
* OAuth is only allowed if account has been verified through Etsy, itself.
|
||||||
*
|
*
|
||||||
* @param string $accessToken
|
* @param string $accessToken
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in a new issue