-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
yacut
committed
May 29, 2018
1 parent
3bd39e0
commit 9302fa8
Showing
1 changed file
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,7 +28,7 @@ public class GoogleAdminService { | |
DirectoryScopes.ADMIN_DIRECTORY_GROUP_READONLY | ||
); | ||
|
||
GoogleAdminService(String credentialsFolder, String clientSecretFile, String adminAccountEmail) throws GeneralSecurityException, IOException { | ||
GoogleAdminService(String clientSecretFile, String adminAccountEmail) throws GeneralSecurityException, IOException { | ||
|
||
final String applicationName = "Google Admin Service @ Jenkins"; | ||
final NetHttpTransport httpTransport = GoogleNetHttpTransport.newTrustedTransport(); | ||
|
@@ -64,7 +64,7 @@ public List<String> getGroupMembers(String groupKey) throws IOException { | |
|
||
// public static void main(String[] args) { | ||
// try { | ||
// List<String> members = new GoogleAdminService(".credentials/", ".credentials/credentials.json", "[email protected]").getGroupMembers("[email protected]"); | ||
// List<String> members = new GoogleAdminService(".credentials/credentials.json", "[email protected]").getGroupMembers("[email protected]"); | ||
// System.out.println(members); | ||
// } catch (Exception e) { | ||
// System.out.println("error"); | ||
|