{"action":"created","comment":{"url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/pulls/comments/76136357","id":76136357,"diff_hunk":"@@ -0,0 +1,44 @@\n+/*\n+ * Copyright 2016 Stormpath, Inc.\n+ *\n+ * Licensed under the Apache License, Version 2.0 (the \"License\");\n+ * you may not use this file except in compliance with the License.\n+ * You may obtain a copy of the License at\n+ *\n+ *     http://www.apache.org/licenses/LICENSE-2.0\n+ *\n+ * Unless required by applicable law or agreed to in writing, software\n+ * distributed under the License is distributed on an \"AS IS\" BASIS,\n+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n+ * See the License for the specific language governing permissions and\n+ * limitations under the License.\n+ */\n+package com.stormpath.sdk.impl.authc.credentials;\n+\n+/**\n+ * Credentials to be used when authenticating requests to the Stormpath API server.\n+ * @since 1.0.4\n+ */\n+public interface ClientCredentials {","path":"impl/src/main/java/com/stormpath/sdk/impl/authc/credentials/ClientCredentials.java","position":22,"original_position":22,"commit_id":"50bd6e440b07999e12ea4475b8e5bcad7acb83f5","original_commit_id":"50bd6e440b07999e12ea4475b8e5bcad7acb83f5","user":{"login":"iancorcoran","id":20431778,"avatar_url":"https://avatars.githubusercontent.com/u/20431778?v=3","gravatar_id":"","url":"https://api.github.com/users/iancorcoran","html_url":"https://github.com/iancorcoran","followers_url":"https://api.github.com/users/iancorcoran/followers","following_url":"https://api.github.com/users/iancorcoran/following{/other_user}","gists_url":"https://api.github.com/users/iancorcoran/gists{/gist_id}","starred_url":"https://api.github.com/users/iancorcoran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iancorcoran/subscriptions","organizations_url":"https://api.github.com/users/iancorcoran/orgs","repos_url":"https://api.github.com/users/iancorcoran/repos","events_url":"https://api.github.com/users/iancorcoran/events{/privacy}","received_events_url":"https://api.github.com/users/iancorcoran/received_events","type":"User","site_admin":false},"body":"Right now the SDK is reliant on having an ApiKey to talk to Stormpath. Abstracting out the idea of credentials will allow other types of credentials to be used (ping me on hipchat if you want to talk more of the business scenario for that). Pretty much anywhere ApiKeys are used today can be replaced by the equivalent ApiKeyCredentials. ","created_at":"2016-08-24T20:51:11Z","updated_at":"2016-08-24T20:51:11Z","html_url":"https://github.com/stormpath/stormpath-sdk-java/pull/940#discussion_r76136357","pull_request_url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/pulls/940","_links":{"self":{"href":"https://api.github.com/repos/stormpath/stormpath-sdk-java/pulls/comments/76136357"},"html":{"href":"https://github.com/stormpath/stormpath-sdk-java/pull/940#discussion_r76136357"},"pull_request":{"href":"https://api.github.com/repos/stormpath/stormpath-sdk-java/pulls/940"}}},"pull_request":{"url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/pulls/940","id":82578325,"html_url":"https://github.com/stormpath/stormpath-sdk-java/pull/940","diff_url":"https://github.com/stormpath/stormpath-sdk-java/pull/940.diff","patch_url":"https://github.com/stormpath/stormpath-sdk-java/pull/940.patch","issue_url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/issues/940","number":940,"state":"open","locked":false,"title":"Issue 877 set request auth factory clientbuilder","user":{"login":"iancorcoran","id":20431778,"avatar_url":"https://avatars.githubusercontent.com/u/20431778?v=3","gravatar_id":"","url":"https://api.github.com/users/iancorcoran","html_url":"https://github.com/iancorcoran","followers_url":"https://api.github.com/users/iancorcoran/followers","following_url":"https://api.github.com/users/iancorcoran/following{/other_user}","gists_url":"https://api.github.com/users/iancorcoran/gists{/gist_id}","starred_url":"https://api.github.com/users/iancorcoran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iancorcoran/subscriptions","organizations_url":"https://api.github.com/users/iancorcoran/orgs","repos_url":"https://api.github.com/users/iancorcoran/repos","events_url":"https://api.github.com/users/iancorcoran/events{/privacy}","received_events_url":"https://api.github.com/users/iancorcoran/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-08-24T16:49:01Z","updated_at":"2016-08-24T20:51:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":"82b0b3f67b38f2d355f553ef2d3d53b28cfae930","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/pulls/940/commits","review_comments_url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/pulls/940/comments","review_comment_url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/pulls/comments{/number}","comments_url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/issues/940/comments","statuses_url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/statuses/50bd6e440b07999e12ea4475b8e5bcad7acb83f5","head":{"label":"stormpath:issue-877-set-request-auth-factory-clientbuilder","ref":"issue-877-set-request-auth-factory-clientbuilder","sha":"50bd6e440b07999e12ea4475b8e5bcad7acb83f5","user":{"login":"stormpath","id":1377453,"avatar_url":"https://avatars.githubusercontent.com/u/1377453?v=3","gravatar_id":"","url":"https://api.github.com/users/stormpath","html_url":"https://github.com/stormpath","followers_url":"https://api.github.com/users/stormpath/followers","following_url":"https://api.github.com/users/stormpath/following{/other_user}","gists_url":"https://api.github.com/users/stormpath/gists{/gist_id}","starred_url":"https://api.github.com/users/stormpath/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stormpath/subscriptions","organizations_url":"https://api.github.com/users/stormpath/orgs","repos_url":"https://api.github.com/users/stormpath/repos","events_url":"https://api.github.com/users/stormpath/events{/privacy}","received_events_url":"https://api.github.com/users/stormpath/received_events","type":"Organization","site_admin":false},"repo":{"id":3913468,"name":"stormpath-sdk-java","full_name":"stormpath/stormpath-sdk-java","owner":{"login":"stormpath","id":1377453,"avatar_url":"https://avatars.githubusercontent.com/u/1377453?v=3","gravatar_id":"","url":"https://api.github.com/users/stormpath","html_url":"https://github.com/stormpath","followers_url":"https://api.github.com/users/stormpath/followers","following_url":"https://api.github.com/users/stormpath/following{/other_user}","gists_url":"https://api.github.com/users/stormpath/gists{/gist_id}","starred_url":"https://api.github.com/users/stormpath/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stormpath/subscriptions","organizations_url":"https://api.github.com/users/stormpath/orgs","repos_url":"https://api.github.com/users/stormpath/repos","events_url":"https://api.github.com/users/stormpath/events{/privacy}","received_events_url":"https://api.github.com/users/stormpath/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/stormpath/stormpath-sdk-java","description":"Official Java SDK for the Stormpath User Management REST API","fork":false,"url":"https://api.github.com/repos/stormpath/stormpath-sdk-java","forks_url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/forks","keys_url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/keys{/key_id}","collaborators_url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/teams","hooks_url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/hooks","issue_events_url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/issues/events{/number}","events_url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/events","assignees_url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/assignees{/user}","branches_url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/branches{/branch}","tags_url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/tags","blobs_url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/git/refs{/sha}","trees_url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/git/trees{/sha}","statuses_url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/statuses/{sha}","languages_url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/languages","stargazers_url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/stargazers","contributors_url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/contributors","subscribers_url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/subscribers","subscription_url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/subscription","commits_url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/commits{/sha}","git_commits_url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/git/commits{/sha}","comments_url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/comments{/number}","issue_comment_url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/issues/comments{/number}","contents_url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/contents/{+path}","compare_url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/compare/{base}...{head}","merges_url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/merges","archive_url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/downloads","issues_url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/issues{/number}","pulls_url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/pulls{/number}","milestones_url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/milestones{/number}","notifications_url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/labels{/name}","releases_url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/releases{/id}","deployments_url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/deployments","created_at":"2012-04-03T01:22:09Z","updated_at":"2016-08-23T09:37:56Z","pushed_at":"2016-08-24T19:10:33Z","git_url":"git://github.com/stormpath/stormpath-sdk-java.git","ssh_url":"git@github.com:stormpath/stormpath-sdk-java.git","clone_url":"https://github.com/stormpath/stormpath-sdk-java.git","svn_url":"https://github.com/stormpath/stormpath-sdk-java","homepage":"","size":25281,"stargazers_count":107,"watchers_count":107,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":92,"mirror_url":null,"open_issues_count":114,"forks":92,"open_issues":114,"watchers":107,"default_branch":"master"}},"base":{"label":"stormpath:master","ref":"master","sha":"dc5e911ee4713a56ea5e8512fcd2754568638772","user":{"login":"stormpath","id":1377453,"avatar_url":"https://avatars.githubusercontent.com/u/1377453?v=3","gravatar_id":"","url":"https://api.github.com/users/stormpath","html_url":"https://github.com/stormpath","followers_url":"https://api.github.com/users/stormpath/followers","following_url":"https://api.github.com/users/stormpath/following{/other_user}","gists_url":"https://api.github.com/users/stormpath/gists{/gist_id}","starred_url":"https://api.github.com/users/stormpath/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stormpath/subscriptions","organizations_url":"https://api.github.com/users/stormpath/orgs","repos_url":"https://api.github.com/users/stormpath/repos","events_url":"https://api.github.com/users/stormpath/events{/privacy}","received_events_url":"https://api.github.com/users/stormpath/received_events","type":"Organization","site_admin":false},"repo":{"id":3913468,"name":"stormpath-sdk-java","full_name":"stormpath/stormpath-sdk-java","owner":{"login":"stormpath","id":1377453,"avatar_url":"https://avatars.githubusercontent.com/u/1377453?v=3","gravatar_id":"","url":"https://api.github.com/users/stormpath","html_url":"https://github.com/stormpath","followers_url":"https://api.github.com/users/stormpath/followers","following_url":"https://api.github.com/users/stormpath/following{/other_user}","gists_url":"https://api.github.com/users/stormpath/gists{/gist_id}","starred_url":"https://api.github.com/users/stormpath/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stormpath/subscriptions","organizations_url":"https://api.github.com/users/stormpath/orgs","repos_url":"https://api.github.com/users/stormpath/repos","events_url":"https://api.github.com/users/stormpath/events{/privacy}","received_events_url":"https://api.github.com/users/stormpath/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/stormpath/stormpath-sdk-java","description":"Official Java SDK for the Stormpath User Management REST API","fork":false,"url":"https://api.github.com/repos/stormpath/stormpath-sdk-java","forks_url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/forks","keys_url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/keys{/key_id}","collaborators_url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/teams","hooks_url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/hooks","issue_events_url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/issues/events{/number}","events_url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/events","assignees_url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/assignees{/user}","branches_url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/branches{/branch}","tags_url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/tags","blobs_url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/git/refs{/sha}","trees_url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/git/trees{/sha}","statuses_url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/statuses/{sha}","languages_url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/languages","stargazers_url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/stargazers","contributors_url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/contributors","subscribers_url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/subscribers","subscription_url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/subscription","commits_url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/commits{/sha}","git_commits_url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/git/commits{/sha}","comments_url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/comments{/number}","issue_comment_url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/issues/comments{/number}","contents_url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/contents/{+path}","compare_url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/compare/{base}...{head}","merges_url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/merges","archive_url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/downloads","issues_url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/issues{/number}","pulls_url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/pulls{/number}","milestones_url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/milestones{/number}","notifications_url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/labels{/name}","releases_url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/releases{/id}","deployments_url":"https://api.github.com/repos/stormpath/stormpath-sdk-java/deployments","created_at":"2012-04-03T01:22:09Z","updated_at":"2016-08-23T09:37:56Z","pushed_at":"2016-08-24T19:10:33Z","git_url":"git://github.com/stormpath/stormpath-sdk-java.git","ssh_url":"git@github.com:stormpath/stormpath-sdk-java.git","clone_url":"https://github.com/stormpath/stormpath-sdk-java.git","svn_url":"https://github.com/stormpath/stormpath-sdk-java","homepage":"","size":25281,"stargazers_count":107,"watchers_count":107,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":92,"mirror_url":null,"open_issues_count":114,"forks":92,"open_issues":114,"watchers":107,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/stormpath/stormpath-sdk-java/pulls/940"},"html":{"href":"https://github.com/stormpath/stormpath-sdk-java/pull/940"},"issue":{"href":"https://api.github.com/repos/stormpath/stormpath-sdk-java/issues/940"},"comments":{"href":"https://api.github.com/repos/stormpath/stormpath-sdk-java/issues/940/comments"},"review_comments":{"href":"https://api.github.com/repos/stormpath/stormpath-sdk-java/pulls/940/comments"},"review_comment":{"href":"https://api.github.com/repos/stormpath/stormpath-sdk-java/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/stormpath/stormpath-sdk-java/pulls/940/commits"},"statuses":{"href":"https://api.github.com/repos/stormpath/stormpath-sdk-java/statuses/50bd6e440b07999e12ea4475b8e5bcad7acb83f5"}}}}
{"actor":{"display_login":"iancorcoran"}}