{"action":"created","comment":{"url":"https://api.github.com/repos/google/identity-toolkit-java-client/pulls/comments/42918987","id":42918987,"diff_hunk":"@@ -95,20 +96,31 @@ public GitkitClient(\n    * @return Gitkit client\n    */\n   public static GitkitClient createFromJson(String configPath) throws JSONException, IOException {\n+    return createFromJson(configPath, null);\n+  }\n+\n+    /**\n+     * Constructs a Gitkit client from a JSON config file\n+     *\n+     * @param configPath Path to JSON configuration file\n+     * @return Gitkit client\n+     */\n+  public static GitkitClient createFromJson(String configPath, Proxy proxy) throws JSONException, IOException {\n     JSONObject configData =\n-        new JSONObject(","path":"src/main/java/com/google/identitytoolkit/GitkitClient.java","position":23,"original_position":23,"commit_id":"091fe37fdbc56abe3f56e42dffb1c27b2824cfd6","original_commit_id":"091fe37fdbc56abe3f56e42dffb1c27b2824cfd6","user":{"login":"liujin-google","id":8702079,"avatar_url":"https://avatars.githubusercontent.com/u/8702079?v=3","gravatar_id":"","url":"https://api.github.com/users/liujin-google","html_url":"https://github.com/liujin-google","followers_url":"https://api.github.com/users/liujin-google/followers","following_url":"https://api.github.com/users/liujin-google/following{/other_user}","gists_url":"https://api.github.com/users/liujin-google/gists{/gist_id}","starred_url":"https://api.github.com/users/liujin-google/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liujin-google/subscriptions","organizations_url":"https://api.github.com/users/liujin-google/orgs","repos_url":"https://api.github.com/users/liujin-google/repos","events_url":"https://api.github.com/users/liujin-google/events{/privacy}","received_events_url":"https://api.github.com/users/liujin-google/received_events","type":"User","site_admin":false},"body":"These format changes could be reverted.","created_at":"2015-10-23T21:58:46Z","updated_at":"2015-10-23T21:58:46Z","html_url":"https://github.com/google/identity-toolkit-java-client/pull/27#discussion_r42918987","pull_request_url":"https://api.github.com/repos/google/identity-toolkit-java-client/pulls/27","_links":{"self":{"href":"https://api.github.com/repos/google/identity-toolkit-java-client/pulls/comments/42918987"},"html":{"href":"https://github.com/google/identity-toolkit-java-client/pull/27#discussion_r42918987"},"pull_request":{"href":"https://api.github.com/repos/google/identity-toolkit-java-client/pulls/27"}}},"pull_request":{"url":"https://api.github.com/repos/google/identity-toolkit-java-client/pulls/27","id":47039179,"html_url":"https://github.com/google/identity-toolkit-java-client/pull/27","diff_url":"https://github.com/google/identity-toolkit-java-client/pull/27.diff","patch_url":"https://github.com/google/identity-toolkit-java-client/pull/27.patch","issue_url":"https://api.github.com/repos/google/identity-toolkit-java-client/issues/27","number":27,"state":"open","locked":false,"title":"added proxy capability to the client","user":{"login":"Erni","id":725315,"avatar_url":"https://avatars.githubusercontent.com/u/725315?v=3","gravatar_id":"","url":"https://api.github.com/users/Erni","html_url":"https://github.com/Erni","followers_url":"https://api.github.com/users/Erni/followers","following_url":"https://api.github.com/users/Erni/following{/other_user}","gists_url":"https://api.github.com/users/Erni/gists{/gist_id}","starred_url":"https://api.github.com/users/Erni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Erni/subscriptions","organizations_url":"https://api.github.com/users/Erni/orgs","repos_url":"https://api.github.com/users/Erni/repos","events_url":"https://api.github.com/users/Erni/events{/privacy}","received_events_url":"https://api.github.com/users/Erni/received_events","type":"User","site_admin":false},"body":"Identity client doesn´t  allow the user to use the library behind a proxy. This does not happen in libraries like the Java client for Google sign-in in which you can set the proxy via NetHttpTransport.\r\nTherefore it would be really usefull to merge this branch in which you can set your proxy with:\r\n`Proxy proxy = new Proxy(Proxy.Type.HTTP, new InetSocketAddress(host, port));`\r\n`GitkitClient gitkitClient = GitkitClient.createFromJson(\"conf/gitkit-server-config.json\",proxy);`","created_at":"2015-10-07T15:03:23Z","updated_at":"2015-10-23T21:58:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":"62a0d03792671a18f6e3daa16d9fc9b4d221dc06","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/google/identity-toolkit-java-client/pulls/27/commits","review_comments_url":"https://api.github.com/repos/google/identity-toolkit-java-client/pulls/27/comments","review_comment_url":"https://api.github.com/repos/google/identity-toolkit-java-client/pulls/comments{/number}","comments_url":"https://api.github.com/repos/google/identity-toolkit-java-client/issues/27/comments","statuses_url":"https://api.github.com/repos/google/identity-toolkit-java-client/statuses/091fe37fdbc56abe3f56e42dffb1c27b2824cfd6","head":{"label":"Erni:issue26","ref":"issue26","sha":"091fe37fdbc56abe3f56e42dffb1c27b2824cfd6","user":{"login":"Erni","id":725315,"avatar_url":"https://avatars.githubusercontent.com/u/725315?v=3","gravatar_id":"","url":"https://api.github.com/users/Erni","html_url":"https://github.com/Erni","followers_url":"https://api.github.com/users/Erni/followers","following_url":"https://api.github.com/users/Erni/following{/other_user}","gists_url":"https://api.github.com/users/Erni/gists{/gist_id}","starred_url":"https://api.github.com/users/Erni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Erni/subscriptions","organizations_url":"https://api.github.com/users/Erni/orgs","repos_url":"https://api.github.com/users/Erni/repos","events_url":"https://api.github.com/users/Erni/events{/privacy}","received_events_url":"https://api.github.com/users/Erni/received_events","type":"User","site_admin":false},"repo":{"id":43822798,"name":"identity-toolkit-java-client","full_name":"Erni/identity-toolkit-java-client","owner":{"login":"Erni","id":725315,"avatar_url":"https://avatars.githubusercontent.com/u/725315?v=3","gravatar_id":"","url":"https://api.github.com/users/Erni","html_url":"https://github.com/Erni","followers_url":"https://api.github.com/users/Erni/followers","following_url":"https://api.github.com/users/Erni/following{/other_user}","gists_url":"https://api.github.com/users/Erni/gists{/gist_id}","starred_url":"https://api.github.com/users/Erni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Erni/subscriptions","organizations_url":"https://api.github.com/users/Erni/orgs","repos_url":"https://api.github.com/users/Erni/repos","events_url":"https://api.github.com/users/Erni/events{/privacy}","received_events_url":"https://api.github.com/users/Erni/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Erni/identity-toolkit-java-client","description":"Google Identity Toolkit client library for Java","fork":true,"url":"https://api.github.com/repos/Erni/identity-toolkit-java-client","forks_url":"https://api.github.com/repos/Erni/identity-toolkit-java-client/forks","keys_url":"https://api.github.com/repos/Erni/identity-toolkit-java-client/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Erni/identity-toolkit-java-client/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Erni/identity-toolkit-java-client/teams","hooks_url":"https://api.github.com/repos/Erni/identity-toolkit-java-client/hooks","issue_events_url":"https://api.github.com/repos/Erni/identity-toolkit-java-client/issues/events{/number}","events_url":"https://api.github.com/repos/Erni/identity-toolkit-java-client/events","assignees_url":"https://api.github.com/repos/Erni/identity-toolkit-java-client/assignees{/user}","branches_url":"https://api.github.com/repos/Erni/identity-toolkit-java-client/branches{/branch}","tags_url":"https://api.github.com/repos/Erni/identity-toolkit-java-client/tags","blobs_url":"https://api.github.com/repos/Erni/identity-toolkit-java-client/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Erni/identity-toolkit-java-client/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Erni/identity-toolkit-java-client/git/refs{/sha}","trees_url":"https://api.github.com/repos/Erni/identity-toolkit-java-client/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Erni/identity-toolkit-java-client/statuses/{sha}","languages_url":"https://api.github.com/repos/Erni/identity-toolkit-java-client/languages","stargazers_url":"https://api.github.com/repos/Erni/identity-toolkit-java-client/stargazers","contributors_url":"https://api.github.com/repos/Erni/identity-toolkit-java-client/contributors","subscribers_url":"https://api.github.com/repos/Erni/identity-toolkit-java-client/subscribers","subscription_url":"https://api.github.com/repos/Erni/identity-toolkit-java-client/subscription","commits_url":"https://api.github.com/repos/Erni/identity-toolkit-java-client/commits{/sha}","git_commits_url":"https://api.github.com/repos/Erni/identity-toolkit-java-client/git/commits{/sha}","comments_url":"https://api.github.com/repos/Erni/identity-toolkit-java-client/comments{/number}","issue_comment_url":"https://api.github.com/repos/Erni/identity-toolkit-java-client/issues/comments{/number}","contents_url":"https://api.github.com/repos/Erni/identity-toolkit-java-client/contents/{+path}","compare_url":"https://api.github.com/repos/Erni/identity-toolkit-java-client/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Erni/identity-toolkit-java-client/merges","archive_url":"https://api.github.com/repos/Erni/identity-toolkit-java-client/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Erni/identity-toolkit-java-client/downloads","issues_url":"https://api.github.com/repos/Erni/identity-toolkit-java-client/issues{/number}","pulls_url":"https://api.github.com/repos/Erni/identity-toolkit-java-client/pulls{/number}","milestones_url":"https://api.github.com/repos/Erni/identity-toolkit-java-client/milestones{/number}","notifications_url":"https://api.github.com/repos/Erni/identity-toolkit-java-client/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Erni/identity-toolkit-java-client/labels{/name}","releases_url":"https://api.github.com/repos/Erni/identity-toolkit-java-client/releases{/id}","created_at":"2015-10-07T14:48:31Z","updated_at":"2015-10-07T14:48:31Z","pushed_at":"2015-10-14T08:21:24Z","git_url":"git://github.com/Erni/identity-toolkit-java-client.git","ssh_url":"git@github.com:Erni/identity-toolkit-java-client.git","clone_url":"https://github.com/Erni/identity-toolkit-java-client.git","svn_url":"https://github.com/Erni/identity-toolkit-java-client","homepage":"","size":142,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"google:master","ref":"master","sha":"b1387d43e3ffeda4bf6794f5f5a58410b63d829e","user":{"login":"google","id":1342004,"avatar_url":"https://avatars.githubusercontent.com/u/1342004?v=3","gravatar_id":"","url":"https://api.github.com/users/google","html_url":"https://github.com/google","followers_url":"https://api.github.com/users/google/followers","following_url":"https://api.github.com/users/google/following{/other_user}","gists_url":"https://api.github.com/users/google/gists{/gist_id}","starred_url":"https://api.github.com/users/google/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/google/subscriptions","organizations_url":"https://api.github.com/users/google/orgs","repos_url":"https://api.github.com/users/google/repos","events_url":"https://api.github.com/users/google/events{/privacy}","received_events_url":"https://api.github.com/users/google/received_events","type":"Organization","site_admin":false},"repo":{"id":23970000,"name":"identity-toolkit-java-client","full_name":"google/identity-toolkit-java-client","owner":{"login":"google","id":1342004,"avatar_url":"https://avatars.githubusercontent.com/u/1342004?v=3","gravatar_id":"","url":"https://api.github.com/users/google","html_url":"https://github.com/google","followers_url":"https://api.github.com/users/google/followers","following_url":"https://api.github.com/users/google/following{/other_user}","gists_url":"https://api.github.com/users/google/gists{/gist_id}","starred_url":"https://api.github.com/users/google/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/google/subscriptions","organizations_url":"https://api.github.com/users/google/orgs","repos_url":"https://api.github.com/users/google/repos","events_url":"https://api.github.com/users/google/events{/privacy}","received_events_url":"https://api.github.com/users/google/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/google/identity-toolkit-java-client","description":"Google Identity Toolkit client library for Java","fork":false,"url":"https://api.github.com/repos/google/identity-toolkit-java-client","forks_url":"https://api.github.com/repos/google/identity-toolkit-java-client/forks","keys_url":"https://api.github.com/repos/google/identity-toolkit-java-client/keys{/key_id}","collaborators_url":"https://api.github.com/repos/google/identity-toolkit-java-client/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/google/identity-toolkit-java-client/teams","hooks_url":"https://api.github.com/repos/google/identity-toolkit-java-client/hooks","issue_events_url":"https://api.github.com/repos/google/identity-toolkit-java-client/issues/events{/number}","events_url":"https://api.github.com/repos/google/identity-toolkit-java-client/events","assignees_url":"https://api.github.com/repos/google/identity-toolkit-java-client/assignees{/user}","branches_url":"https://api.github.com/repos/google/identity-toolkit-java-client/branches{/branch}","tags_url":"https://api.github.com/repos/google/identity-toolkit-java-client/tags","blobs_url":"https://api.github.com/repos/google/identity-toolkit-java-client/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/google/identity-toolkit-java-client/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/google/identity-toolkit-java-client/git/refs{/sha}","trees_url":"https://api.github.com/repos/google/identity-toolkit-java-client/git/trees{/sha}","statuses_url":"https://api.github.com/repos/google/identity-toolkit-java-client/statuses/{sha}","languages_url":"https://api.github.com/repos/google/identity-toolkit-java-client/languages","stargazers_url":"https://api.github.com/repos/google/identity-toolkit-java-client/stargazers","contributors_url":"https://api.github.com/repos/google/identity-toolkit-java-client/contributors","subscribers_url":"https://api.github.com/repos/google/identity-toolkit-java-client/subscribers","subscription_url":"https://api.github.com/repos/google/identity-toolkit-java-client/subscription","commits_url":"https://api.github.com/repos/google/identity-toolkit-java-client/commits{/sha}","git_commits_url":"https://api.github.com/repos/google/identity-toolkit-java-client/git/commits{/sha}","comments_url":"https://api.github.com/repos/google/identity-toolkit-java-client/comments{/number}","issue_comment_url":"https://api.github.com/repos/google/identity-toolkit-java-client/issues/comments{/number}","contents_url":"https://api.github.com/repos/google/identity-toolkit-java-client/contents/{+path}","compare_url":"https://api.github.com/repos/google/identity-toolkit-java-client/compare/{base}...{head}","merges_url":"https://api.github.com/repos/google/identity-toolkit-java-client/merges","archive_url":"https://api.github.com/repos/google/identity-toolkit-java-client/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/google/identity-toolkit-java-client/downloads","issues_url":"https://api.github.com/repos/google/identity-toolkit-java-client/issues{/number}","pulls_url":"https://api.github.com/repos/google/identity-toolkit-java-client/pulls{/number}","milestones_url":"https://api.github.com/repos/google/identity-toolkit-java-client/milestones{/number}","notifications_url":"https://api.github.com/repos/google/identity-toolkit-java-client/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/google/identity-toolkit-java-client/labels{/name}","releases_url":"https://api.github.com/repos/google/identity-toolkit-java-client/releases{/id}","created_at":"2014-09-12T17:28:10Z","updated_at":"2015-10-08T08:00:26Z","pushed_at":"2015-10-14T08:21:24Z","git_url":"git://github.com/google/identity-toolkit-java-client.git","ssh_url":"git@github.com:google/identity-toolkit-java-client.git","clone_url":"https://github.com/google/identity-toolkit-java-client.git","svn_url":"https://github.com/google/identity-toolkit-java-client","homepage":"","size":420,"stargazers_count":23,"watchers_count":23,"language":"Java","has_issues":true,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":23,"mirror_url":null,"open_issues_count":6,"forks":23,"open_issues":6,"watchers":23,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/google/identity-toolkit-java-client/pulls/27"},"html":{"href":"https://github.com/google/identity-toolkit-java-client/pull/27"},"issue":{"href":"https://api.github.com/repos/google/identity-toolkit-java-client/issues/27"},"comments":{"href":"https://api.github.com/repos/google/identity-toolkit-java-client/issues/27/comments"},"review_comments":{"href":"https://api.github.com/repos/google/identity-toolkit-java-client/pulls/27/comments"},"review_comment":{"href":"https://api.github.com/repos/google/identity-toolkit-java-client/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/google/identity-toolkit-java-client/pulls/27/commits"},"statuses":{"href":"https://api.github.com/repos/google/identity-toolkit-java-client/statuses/091fe37fdbc56abe3f56e42dffb1c27b2824cfd6"}}}}