Skip to content

Commit 14cab1d

Browse files
committed
remove Resource Servers entity
1 parent f889ca5 commit 14cab1d

12 files changed

Lines changed: 1 addition & 500 deletions

File tree

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,6 @@ The Management API is divided into different entities. Each of them have the lis
226226
* **Connections:** See [Docs](https://auth0.com/docs/api/management/v2#!/Connections/get_connections). Access the methods by calling `mgmt.connections()`.
227227
* **Device Credentials:** See [Docs](https://auth0.com/docs/api/management/v2#!/Device_Credentials/get_device_credentials). Access the methods by calling `mgmt.deviceCredentials()`.
228228
* **Logs:** See [Docs](https://auth0.com/docs/api/management/v2#!/Logs/get_logs). Access the methods by calling `mgmt.logEvents()`.
229-
* **Resource Servers:** See [Docs](https://auth0.com/docs/api/management/v2#!/Resource_Servers/get_resource_servers). Access the methods by calling `mgmt.resourceServers()`.
230229
* **Rules:** See [Docs](https://auth0.com/docs/api/management/v2#!/Rules/get_rules). Access the methods by calling `mgmt.rules()`.
231230
* **User Blocks:** See [Docs](https://auth0.com/docs/api/management/v2#!/User_Blocks/get_user_blocks). Access the methods by calling `mgmt.userBlocks()`.
232231
* **Users:** See [Docs](https://auth0.com/docs/api/management/v2#!/Users/get_users). Access the methods by calling `mgmt.users()`.

src/main/java/com/auth0/client/mgmt/ManagementAPI.java

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -123,15 +123,6 @@ public LogEventsEntity logEvents() {
123123
return new LogEventsEntity(client, baseUrl, apiToken);
124124
}
125125

126-
/**
127-
* Getter for the Resource Servers entity.
128-
*
129-
* @return the Resource Servers entity.
130-
*/
131-
public ResourceServersEntity resourceServers() {
132-
return new ResourceServersEntity(client, baseUrl, apiToken);
133-
}
134-
135126
/**
136127
* Getter for the Rules entity.
137128
*

src/main/java/com/auth0/client/mgmt/ResourceServersEntity.java

Lines changed: 0 additions & 142 deletions
This file was deleted.

src/main/java/com/auth0/json/mgmt/client/Client.java

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,6 @@ public class Client {
6464
private Addons addons;
6565
@JsonProperty("token_endpoint_auth_method")
6666
private String tokenEndpointAuthMethod;
67-
@JsonProperty("resource_servers")
68-
private List<ResourceServer> resourceServers;
6967
@JsonProperty("client_metadata")
7068
private Map<String, Object> clientMetadata;
7169
@JsonProperty("mobile")
@@ -521,14 +519,6 @@ public void setTokenEndpointAuthMethod(String authMethod) {
521519
this.tokenEndpointAuthMethod = authMethod;
522520
}
523521

524-
public List<ResourceServer> getResourceServers() {
525-
return resourceServers;
526-
}
527-
528-
public void setResourceServers(List<ResourceServer> resourceServers) {
529-
this.resourceServers = resourceServers;
530-
}
531-
532522
/**
533523
* Getter for the metadata associated with the client.
534524
*

src/main/java/com/auth0/json/mgmt/client/ResourceServer.java

Lines changed: 0 additions & 79 deletions
This file was deleted.

src/test/java/com/auth0/client/mgmt/ManagementAPITest.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -168,11 +168,6 @@ public void shouldGetLogEvents() throws Exception {
168168
assertThat(api.logEvents(), notNullValue());
169169
}
170170

171-
@Test
172-
public void shouldGetResourceServers() throws Exception {
173-
assertThat(api.resourceServers(), notNullValue());
174-
}
175-
176171
@Test
177172
public void shouldGetRules() throws Exception {
178173
assertThat(api.rules(), notNullValue());

0 commit comments

Comments
 (0)