{"action":"created","comment":{"url":"https://api.github.com/repos/kamax-io/matrix-java-sdk/pulls/comments/146144517","pull_request_review_id":71045010,"id":146144517,"diff_hunk":"@@ -0,0 +1,41 @@\n+/*\n+ * matrix-java-sdk - Matrix Client SDK for Java\n+ * Copyright (C) 2017 Arne Augenstein\n+ *\n+ * https://max.kamax.io/\n+ *\n+ * This program is free software: you can redistribute it and/or modify\n+ * it under the terms of the GNU Affero General Public License as\n+ * published by the Free Software Foundation, either version 3 of the\n+ * License, or (at your option) any later version.\n+ *\n+ * This program is distributed in the hope that it will be useful,\n+ * but WITHOUT ANY WARRANTY; without even the implied warranty of\n+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n+ * GNU Affero General Public License for more details.\n+ *\n+ * You should have received a copy of the GNU Affero General Public License\n+ * along with this program. If not, see <http://www.gnu.org/licenses/>.\n+ */\n+\n+package io.kamax.matrix.client;\n+\n+import io.kamax.matrix._MatrixID;\n+\n+public class MatrixHttpLoginCredentials {\n+    private final _MatrixID user;\n+    private final String password;\n+\n+    public MatrixHttpLoginCredentials(_MatrixID user, String password) {","path":"src/main/java/io/kamax/matrix/client/MatrixHttpLoginCredentials.java","position":29,"original_position":29,"commit_id":"00cafb514ccf153a9d891cbdf03d8125298399dd","original_commit_id":"00cafb514ccf153a9d891cbdf03d8125298399dd","user":{"login":"maxidor","id":10545559,"avatar_url":"https://avatars2.githubusercontent.com/u/10545559?v=4","gravatar_id":"","url":"https://api.github.com/users/maxidor","html_url":"https://github.com/maxidor","followers_url":"https://api.github.com/users/maxidor/followers","following_url":"https://api.github.com/users/maxidor/following{/other_user}","gists_url":"https://api.github.com/users/maxidor/gists{/gist_id}","starred_url":"https://api.github.com/users/maxidor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maxidor/subscriptions","organizations_url":"https://api.github.com/users/maxidor/orgs","repos_url":"https://api.github.com/users/maxidor/repos","events_url":"https://api.github.com/users/maxidor/events{/privacy}","received_events_url":"https://api.github.com/users/maxidor/received_events","type":"User","site_admin":false},"body":"The CS spec only asks for the localpart, not a full Matrix ID.","created_at":"2017-10-22T21:14:55Z","updated_at":"2017-10-22T21:20:07Z","html_url":"https://github.com/kamax-io/matrix-java-sdk/pull/10#discussion_r146144517","pull_request_url":"https://api.github.com/repos/kamax-io/matrix-java-sdk/pulls/10","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/kamax-io/matrix-java-sdk/pulls/comments/146144517"},"html":{"href":"https://github.com/kamax-io/matrix-java-sdk/pull/10#discussion_r146144517"},"pull_request":{"href":"https://api.github.com/repos/kamax-io/matrix-java-sdk/pulls/10"}}},"pull_request":{"url":"https://api.github.com/repos/kamax-io/matrix-java-sdk/pulls/10","id":147997434,"html_url":"https://github.com/kamax-io/matrix-java-sdk/pull/10","diff_url":"https://github.com/kamax-io/matrix-java-sdk/pull/10.diff","patch_url":"https://github.com/kamax-io/matrix-java-sdk/pull/10.patch","issue_url":"https://api.github.com/repos/kamax-io/matrix-java-sdk/issues/10","number":10,"state":"open","locked":false,"title":"Login with password","user":{"login":"MrCustomizer","id":3456161,"avatar_url":"https://avatars1.githubusercontent.com/u/3456161?v=4","gravatar_id":"","url":"https://api.github.com/users/MrCustomizer","html_url":"https://github.com/MrCustomizer","followers_url":"https://api.github.com/users/MrCustomizer/followers","following_url":"https://api.github.com/users/MrCustomizer/following{/other_user}","gists_url":"https://api.github.com/users/MrCustomizer/gists{/gist_id}","starred_url":"https://api.github.com/users/MrCustomizer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MrCustomizer/subscriptions","organizations_url":"https://api.github.com/users/MrCustomizer/orgs","repos_url":"https://api.github.com/users/MrCustomizer/repos","events_url":"https://api.github.com/users/MrCustomizer/events{/privacy}","received_events_url":"https://api.github.com/users/MrCustomizer/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-10-22T14:57:35Z","updated_at":"2017-10-22T21:20:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":"aaab5650aa8d1ca581516d93c8e5e203ea32a8b9","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/kamax-io/matrix-java-sdk/pulls/10/commits","review_comments_url":"https://api.github.com/repos/kamax-io/matrix-java-sdk/pulls/10/comments","review_comment_url":"https://api.github.com/repos/kamax-io/matrix-java-sdk/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kamax-io/matrix-java-sdk/issues/10/comments","statuses_url":"https://api.github.com/repos/kamax-io/matrix-java-sdk/statuses/00cafb514ccf153a9d891cbdf03d8125298399dd","head":{"label":"MrCustomizer:loginWithPassword","ref":"loginWithPassword","sha":"00cafb514ccf153a9d891cbdf03d8125298399dd","user":{"login":"MrCustomizer","id":3456161,"avatar_url":"https://avatars1.githubusercontent.com/u/3456161?v=4","gravatar_id":"","url":"https://api.github.com/users/MrCustomizer","html_url":"https://github.com/MrCustomizer","followers_url":"https://api.github.com/users/MrCustomizer/followers","following_url":"https://api.github.com/users/MrCustomizer/following{/other_user}","gists_url":"https://api.github.com/users/MrCustomizer/gists{/gist_id}","starred_url":"https://api.github.com/users/MrCustomizer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MrCustomizer/subscriptions","organizations_url":"https://api.github.com/users/MrCustomizer/orgs","repos_url":"https://api.github.com/users/MrCustomizer/repos","events_url":"https://api.github.com/users/MrCustomizer/events{/privacy}","received_events_url":"https://api.github.com/users/MrCustomizer/received_events","type":"User","site_admin":false},"repo":{"id":103835870,"name":"matrix-java-sdk","full_name":"MrCustomizer/matrix-java-sdk","owner":{"login":"MrCustomizer","id":3456161,"avatar_url":"https://avatars1.githubusercontent.com/u/3456161?v=4","gravatar_id":"","url":"https://api.github.com/users/MrCustomizer","html_url":"https://github.com/MrCustomizer","followers_url":"https://api.github.com/users/MrCustomizer/followers","following_url":"https://api.github.com/users/MrCustomizer/following{/other_user}","gists_url":"https://api.github.com/users/MrCustomizer/gists{/gist_id}","starred_url":"https://api.github.com/users/MrCustomizer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MrCustomizer/subscriptions","organizations_url":"https://api.github.com/users/MrCustomizer/orgs","repos_url":"https://api.github.com/users/MrCustomizer/repos","events_url":"https://api.github.com/users/MrCustomizer/events{/privacy}","received_events_url":"https://api.github.com/users/MrCustomizer/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/MrCustomizer/matrix-java-sdk","description":"Matrix Client SDK for Java","fork":true,"url":"https://api.github.com/repos/MrCustomizer/matrix-java-sdk","forks_url":"https://api.github.com/repos/MrCustomizer/matrix-java-sdk/forks","keys_url":"https://api.github.com/repos/MrCustomizer/matrix-java-sdk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MrCustomizer/matrix-java-sdk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MrCustomizer/matrix-java-sdk/teams","hooks_url":"https://api.github.com/repos/MrCustomizer/matrix-java-sdk/hooks","issue_events_url":"https://api.github.com/repos/MrCustomizer/matrix-java-sdk/issues/events{/number}","events_url":"https://api.github.com/repos/MrCustomizer/matrix-java-sdk/events","assignees_url":"https://api.github.com/repos/MrCustomizer/matrix-java-sdk/assignees{/user}","branches_url":"https://api.github.com/repos/MrCustomizer/matrix-java-sdk/branches{/branch}","tags_url":"https://api.github.com/repos/MrCustomizer/matrix-java-sdk/tags","blobs_url":"https://api.github.com/repos/MrCustomizer/matrix-java-sdk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MrCustomizer/matrix-java-sdk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MrCustomizer/matrix-java-sdk/git/refs{/sha}","trees_url":"https://api.github.com/repos/MrCustomizer/matrix-java-sdk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MrCustomizer/matrix-java-sdk/statuses/{sha}","languages_url":"https://api.github.com/repos/MrCustomizer/matrix-java-sdk/languages","stargazers_url":"https://api.github.com/repos/MrCustomizer/matrix-java-sdk/stargazers","contributors_url":"https://api.github.com/repos/MrCustomizer/matrix-java-sdk/contributors","subscribers_url":"https://api.github.com/repos/MrCustomizer/matrix-java-sdk/subscribers","subscription_url":"https://api.github.com/repos/MrCustomizer/matrix-java-sdk/subscription","commits_url":"https://api.github.com/repos/MrCustomizer/matrix-java-sdk/commits{/sha}","git_commits_url":"https://api.github.com/repos/MrCustomizer/matrix-java-sdk/git/commits{/sha}","comments_url":"https://api.github.com/repos/MrCustomizer/matrix-java-sdk/comments{/number}","issue_comment_url":"https://api.github.com/repos/MrCustomizer/matrix-java-sdk/issues/comments{/number}","contents_url":"https://api.github.com/repos/MrCustomizer/matrix-java-sdk/contents/{+path}","compare_url":"https://api.github.com/repos/MrCustomizer/matrix-java-sdk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MrCustomizer/matrix-java-sdk/merges","archive_url":"https://api.github.com/repos/MrCustomizer/matrix-java-sdk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MrCustomizer/matrix-java-sdk/downloads","issues_url":"https://api.github.com/repos/MrCustomizer/matrix-java-sdk/issues{/number}","pulls_url":"https://api.github.com/repos/MrCustomizer/matrix-java-sdk/pulls{/number}","milestones_url":"https://api.github.com/repos/MrCustomizer/matrix-java-sdk/milestones{/number}","notifications_url":"https://api.github.com/repos/MrCustomizer/matrix-java-sdk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MrCustomizer/matrix-java-sdk/labels{/name}","releases_url":"https://api.github.com/repos/MrCustomizer/matrix-java-sdk/releases{/id}","deployments_url":"https://api.github.com/repos/MrCustomizer/matrix-java-sdk/deployments","created_at":"2017-09-17T14:38:11Z","updated_at":"2017-09-17T14:38:13Z","pushed_at":"2017-10-22T15:08:26Z","git_url":"git://github.com/MrCustomizer/matrix-java-sdk.git","ssh_url":"git@github.com:MrCustomizer/matrix-java-sdk.git","clone_url":"https://github.com/MrCustomizer/matrix-java-sdk.git","svn_url":"https://github.com/MrCustomizer/matrix-java-sdk","homepage":null,"size":315,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"kamax-io:master","ref":"master","sha":"14c1e36923dc96a3b703b0af4a0d9b996c09506d","user":{"login":"kamax-io","id":25289324,"avatar_url":"https://avatars1.githubusercontent.com/u/25289324?v=4","gravatar_id":"","url":"https://api.github.com/users/kamax-io","html_url":"https://github.com/kamax-io","followers_url":"https://api.github.com/users/kamax-io/followers","following_url":"https://api.github.com/users/kamax-io/following{/other_user}","gists_url":"https://api.github.com/users/kamax-io/gists{/gist_id}","starred_url":"https://api.github.com/users/kamax-io/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kamax-io/subscriptions","organizations_url":"https://api.github.com/users/kamax-io/orgs","repos_url":"https://api.github.com/users/kamax-io/repos","events_url":"https://api.github.com/users/kamax-io/events{/privacy}","received_events_url":"https://api.github.com/users/kamax-io/received_events","type":"Organization","site_admin":false},"repo":{"id":89532073,"name":"matrix-java-sdk","full_name":"kamax-io/matrix-java-sdk","owner":{"login":"kamax-io","id":25289324,"avatar_url":"https://avatars1.githubusercontent.com/u/25289324?v=4","gravatar_id":"","url":"https://api.github.com/users/kamax-io","html_url":"https://github.com/kamax-io","followers_url":"https://api.github.com/users/kamax-io/followers","following_url":"https://api.github.com/users/kamax-io/following{/other_user}","gists_url":"https://api.github.com/users/kamax-io/gists{/gist_id}","starred_url":"https://api.github.com/users/kamax-io/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kamax-io/subscriptions","organizations_url":"https://api.github.com/users/kamax-io/orgs","repos_url":"https://api.github.com/users/kamax-io/repos","events_url":"https://api.github.com/users/kamax-io/events{/privacy}","received_events_url":"https://api.github.com/users/kamax-io/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/kamax-io/matrix-java-sdk","description":"Matrix Client SDK for Java","fork":false,"url":"https://api.github.com/repos/kamax-io/matrix-java-sdk","forks_url":"https://api.github.com/repos/kamax-io/matrix-java-sdk/forks","keys_url":"https://api.github.com/repos/kamax-io/matrix-java-sdk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kamax-io/matrix-java-sdk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kamax-io/matrix-java-sdk/teams","hooks_url":"https://api.github.com/repos/kamax-io/matrix-java-sdk/hooks","issue_events_url":"https://api.github.com/repos/kamax-io/matrix-java-sdk/issues/events{/number}","events_url":"https://api.github.com/repos/kamax-io/matrix-java-sdk/events","assignees_url":"https://api.github.com/repos/kamax-io/matrix-java-sdk/assignees{/user}","branches_url":"https://api.github.com/repos/kamax-io/matrix-java-sdk/branches{/branch}","tags_url":"https://api.github.com/repos/kamax-io/matrix-java-sdk/tags","blobs_url":"https://api.github.com/repos/kamax-io/matrix-java-sdk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kamax-io/matrix-java-sdk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kamax-io/matrix-java-sdk/git/refs{/sha}","trees_url":"https://api.github.com/repos/kamax-io/matrix-java-sdk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kamax-io/matrix-java-sdk/statuses/{sha}","languages_url":"https://api.github.com/repos/kamax-io/matrix-java-sdk/languages","stargazers_url":"https://api.github.com/repos/kamax-io/matrix-java-sdk/stargazers","contributors_url":"https://api.github.com/repos/kamax-io/matrix-java-sdk/contributors","subscribers_url":"https://api.github.com/repos/kamax-io/matrix-java-sdk/subscribers","subscription_url":"https://api.github.com/repos/kamax-io/matrix-java-sdk/subscription","commits_url":"https://api.github.com/repos/kamax-io/matrix-java-sdk/commits{/sha}","git_commits_url":"https://api.github.com/repos/kamax-io/matrix-java-sdk/git/commits{/sha}","comments_url":"https://api.github.com/repos/kamax-io/matrix-java-sdk/comments{/number}","issue_comment_url":"https://api.github.com/repos/kamax-io/matrix-java-sdk/issues/comments{/number}","contents_url":"https://api.github.com/repos/kamax-io/matrix-java-sdk/contents/{+path}","compare_url":"https://api.github.com/repos/kamax-io/matrix-java-sdk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kamax-io/matrix-java-sdk/merges","archive_url":"https://api.github.com/repos/kamax-io/matrix-java-sdk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kamax-io/matrix-java-sdk/downloads","issues_url":"https://api.github.com/repos/kamax-io/matrix-java-sdk/issues{/number}","pulls_url":"https://api.github.com/repos/kamax-io/matrix-java-sdk/pulls{/number}","milestones_url":"https://api.github.com/repos/kamax-io/matrix-java-sdk/milestones{/number}","notifications_url":"https://api.github.com/repos/kamax-io/matrix-java-sdk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kamax-io/matrix-java-sdk/labels{/name}","releases_url":"https://api.github.com/repos/kamax-io/matrix-java-sdk/releases{/id}","deployments_url":"https://api.github.com/repos/kamax-io/matrix-java-sdk/deployments","created_at":"2017-04-26T22:26:48Z","updated_at":"2017-09-11T20:20:53Z","pushed_at":"2017-10-22T15:08:27Z","git_url":"git://github.com/kamax-io/matrix-java-sdk.git","ssh_url":"git@github.com:kamax-io/matrix-java-sdk.git","clone_url":"https://github.com/kamax-io/matrix-java-sdk.git","svn_url":"https://github.com/kamax-io/matrix-java-sdk","homepage":null,"size":271,"stargazers_count":5,"watchers_count":5,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/kamax-io/matrix-java-sdk/pulls/10"},"html":{"href":"https://github.com/kamax-io/matrix-java-sdk/pull/10"},"issue":{"href":"https://api.github.com/repos/kamax-io/matrix-java-sdk/issues/10"},"comments":{"href":"https://api.github.com/repos/kamax-io/matrix-java-sdk/issues/10/comments"},"review_comments":{"href":"https://api.github.com/repos/kamax-io/matrix-java-sdk/pulls/10/comments"},"review_comment":{"href":"https://api.github.com/repos/kamax-io/matrix-java-sdk/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kamax-io/matrix-java-sdk/pulls/10/commits"},"statuses":{"href":"https://api.github.com/repos/kamax-io/matrix-java-sdk/statuses/00cafb514ccf153a9d891cbdf03d8125298399dd"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"maxidor"}}