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
(Note that the simplified should have error handling, and ideally cache the obtained token until it expires instead of requesting one access token for each Management API v2 invocation).
267
+
(Note that the snippet above should have error handling, and ideally cache the obtained token until it expires instead of requesting one access token for each Management API v2 invocation).
268
+
269
+
An expired token for an existing `ManagementAPI` instance can be replaced by calling the `setApiToken` method with the new token.
268
270
269
271
Click [here](https://auth0.com/docs/api/management/v2/tokens) for more information on how to obtain API Tokens.
270
272
273
+
271
274
The Management API is divided into different entities. Each of them have the list, create, update, delete and update methods plus a few more if corresponds. The calls are authenticated using the API Token given in the `ManagementAPI` instance creation and must contain the `scope` required by each entity. See the javadoc for details on which `scope` is expected for each call.
272
275
273
276
***Blacklists:** See [Docs](https://auth0.com/docs/api/management/v2#!/Blacklists/get_tokens). Access the methods by calling `mgmt.blacklists()`.
Copy file name to clipboardExpand all lines: src/main/java/com/auth0/client/mgmt/ResourceServerEntity.java
+2-7Lines changed: 2 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -17,15 +17,10 @@
17
17
/**
18
18
* Class that provides an implementation of the Resource Server methods of the Management API as defined in https://auth0.com/docs/api/management/v2#!/Resource_Servers
0 commit comments