langleyfoxall / xero-laravel

💸 Access the Xero accounting system using an Eloquent-like syntax
https://packagist.org/packages/langleyfoxall/xero-laravel
GNU Lesser General Public License v3.0
85 stars 40 forks source link

Should `getTenants()` be in `OAuth2.php`? #63

Open bilogic opened 9 months ago

bilogic commented 9 months ago

https://github.com/langleyfoxall/xero-laravel/blob/abf58477c02c57e2d00e0e8aa33ec0f4b70ab736/src/OAuth2.php#L121

I was trying to see if we could use Socialite instead of replicating oauth2 implementation and found getTenants(). Strictly speaking, is it part of the OAuth2 specification?