-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support revoke function #6
Comments
@judgej That'd be wonderful, thanks! |
Documentation yet to be added.
PR #7 created. |
Some additional useful properties and also the ability to access them as camelCase (without changing the underlying property names to avoid a BC break)
The additional properties on the resource owner allow me to strip out some JWT parsing from my fork of the https://github.com/XeroAPI/xero-php-oauth2-app app that introduces the revoke function. That may or may not be accepted as a PR, but it's all code I need to be sure works for me anyway. Just tring to get rid of the noise in the demo app so we can see the OAuth flow implemented with maximum features and minimum effort. Also learning much that is not clearly documented: The different bewteen xero id and subscriber ( The The |
Xero has an endpoint, with basic authorisation, that takes a renewal token and will revoke all granted scopes and connected tenants for the token. This is the only way to revoke all grants at this time (even disconnecting all the tenants leaves the scopes intact, and they all appear when you reconnect tenants).
I was about to write a Xero provider, then found this, so happy to add that function this weekend if you would like to include it. I'll add this provider to the League page too, since there is a gap waiting for it there.
The text was updated successfully, but these errors were encountered: