You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+15Lines changed: 15 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -600,6 +600,21 @@ public class TokenRefresh {
600
600
}
601
601
```
602
602
603
+
**Revoking Tokens**
604
+
You can revoke a user's refresh token and remove all their connections to your app by making a request to the revocation endpoint.
605
+
606
+
We've added a helpful method to the ApiClient class. The code below shows how to pass the id, secret and refresh token to execute the revoke method. Success
The Xero Java SDK contains Client classes (AccountingApi, etc) which have helper methods to perform (Create, Read, Update and Delete) actions on each endpoints. AccountingApi is designed as a Singleton. Use the getInstance method of the class class and use with API models to interact with Java Objects.
System.err.println("Exception when calling AccountingApi#getContacts");
@@ -22279,6 +22279,26 @@ <h2>Parameters</h2>
22279
22279
</div>
22280
22280
</div>
22281
22281
</td>
22282
+
</tr>
22283
+
22284
+
<tr><td style="width:150px;">summaryOnly</td>
22285
+
<td>
22286
+
22287
+
22288
+
<div id="d2e199_getContacts_summaryOnly">
22289
+
<div class="json-schema-view">
22290
+
<div class="primitive">
22291
+
<span class="type">
22292
+
Boolean
22293
+
</span>
22294
+
22295
+
<div class="inner description marked">
22296
+
Use summaryOnly=true in GET Contacts endpoint to retrieve a smaller version of the response object. This returns only lightweight fields, excluding computation-heavy fields from the response, making the API calls quick and efficient.
Copy file name to clipboardExpand all lines: src/main/java/com/xero/api/client/AssetApi.java
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
* Xero Assets API
3
3
* The Assets API exposes fixed asset related functions of the Xero Accounting application and can be used for a variety of purposes such as creating assets, retrieving asset valuations etc.
Copy file name to clipboardExpand all lines: src/main/java/com/xero/api/client/BankFeedsApi.java
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
* Xero Bank Feeds API
3
3
* The Bank Feeds API is a closed API that is only available to financial institutions that have an established financial services partnership with Xero. If you're an existing financial services partner that wants access, contact your local Partner Manager. If you're a financial institution who wants to provide bank feeds to your business customers, contact us to become a financial services partner.
0 commit comments