Skip to content

Commit 5ef4c49

Browse files
committed
update authentication example
1 parent 26751e3 commit 5ef4c49

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/authentication/src/main/java/cloud/stackit/sdk/authentication/examples/AuthenticationExample.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package cloud.stackit.sdk.authentication.examples;
22

33
import cloud.stackit.sdk.core.config.CoreConfiguration;
4-
import cloud.stackit.sdk.resourcemanager.api.DefaultApi;
4+
import cloud.stackit.sdk.resourcemanager.api.ResourceManagerApi;
55
import cloud.stackit.sdk.resourcemanager.model.ListOrganizationsResponse;
66

77
class AuthenticationExample {
@@ -13,7 +13,7 @@ public static void main(String[] args) {
1313
new CoreConfiguration().serviceAccountKeyPath(SERVICE_ACCOUNT_KEY_PATH);
1414

1515
try {
16-
DefaultApi api = new DefaultApi(config);
16+
ResourceManagerApi api = new ResourceManagerApi(config);
1717

1818
/* list all organizations */
1919
ListOrganizationsResponse response =

0 commit comments

Comments
 (0)