<dependency>
<groupId>com.zoominfo</groupId>
<artifactId>api-auth-java-client</artifactId>
<version>1.0</version>
</dependency>
AuthClient authClient = new AuthClient("username", "clientId", "privateKey");
String accessToken = authClient.getAccessToken();
AuthClient authClient = new AuthClient("username", "password");
String accessToken = authClient.getAccessToken();