# identity-toolkit-java-client **Repository Path**: RepoMirror/identity-toolkit-java-client ## Basic Information - **Project Name**: identity-toolkit-java-client - **Description**: No description available - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2022-03-12 - **Last Updated**: 2022-03-12 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README This is Java client library for Google Identity Toolkit services. Sample usage ===================== /* * initialize Gitkit client instance */ GitkitClient gitkitClient = GitkitClient.newBuilder() .setGoogleClientId("your-oauth2-web-client-id-at-Google") .setServiceAccountEmail("your-service-account-email-at-Google-developer-console") .setKeyStream(new FileInputStream("path-to-your-service-account-private-file")) .setWidgetUrl("/gitkit.jsp") .setCookieName("gtoken") .build(); // Verifies a GitkitToken GitkitUser gitkitUser = gitkitClient.validateTokenInRequest(request); // Download all accounts from Google Identity Toolkit Iterator userIterator = gitkitClient.getAllUsers(); while (userIterator.hasNext()) { // individual user info is returned in userIterator.next() }