1
0
Fork 0
mirror of synced 2024-09-28 07:21:35 +12:00

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:
Wess Cope 2022-07-21 12:18:38 -04:00 committed by GitHub
parent 6b089d35a9
commit 0653d99e4d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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