{"action":"created","comment":{"url":"https://api.github.com/repos/stormpath/stormpath-sdk-php/pulls/comments/40114754","id":40114754,"diff_hunk":"@@ -0,0 +1,37 @@\n+<?php\n+\n+namespace Stormpath\\Resource;\n+\n+/*\n+ * Copyright 2013 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+\n+class LinkedInProviderData extends ProviderData\n+{\n+    const PROVIDER_ID   = 'linkedin';\n+\n+    const ACCESS_TOKEN  = 'accessToken';\n+\n+    public function getAccessToken()\n+    {\n+        return $this->getProperty(self::ACCESS_TOKEN);\n+    }\n+\n+    public function setAccessToken($accessToken)\n+    {\n+        $this->setProperty(self::ACCESS_TOKEN, $accessToken);\n+    }\n+\n+}","path":"src/Stormpath/Resource/LinkedInProviderData.php","position":37,"original_position":37,"commit_id":"9ba786a14e1718f672d89a696b051500bcf0ab24","original_commit_id":"9ba786a14e1718f672d89a696b051500bcf0ab24","user":{"login":"Nitpick-CI","id":12626182,"avatar_url":"https://avatars.githubusercontent.com/u/12626182?v=3","gravatar_id":"","url":"https://api.github.com/users/Nitpick-CI","html_url":"https://github.com/Nitpick-CI","followers_url":"https://api.github.com/users/Nitpick-CI/followers","following_url":"https://api.github.com/users/Nitpick-CI/following{/other_user}","gists_url":"https://api.github.com/users/Nitpick-CI/gists{/gist_id}","starred_url":"https://api.github.com/users/Nitpick-CI/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nitpick-CI/subscriptions","organizations_url":"https://api.github.com/users/Nitpick-CI/orgs","repos_url":"https://api.github.com/users/Nitpick-CI/repos","events_url":"https://api.github.com/users/Nitpick-CI/events{/privacy}","received_events_url":"https://api.github.com/users/Nitpick-CI/received_events","type":"User","site_admin":false},"body":"- Expected 1 newline at end of file; 0 found\n- The closing brace for the class must go on the next line after the body\n","created_at":"2015-09-22T17:19:44Z","updated_at":"2015-09-22T17:19:44Z","html_url":"https://github.com/stormpath/stormpath-sdk-php/pull/91#discussion_r40114754","pull_request_url":"https://api.github.com/repos/stormpath/stormpath-sdk-php/pulls/91","_links":{"self":{"href":"https://api.github.com/repos/stormpath/stormpath-sdk-php/pulls/comments/40114754"},"html":{"href":"https://github.com/stormpath/stormpath-sdk-php/pull/91#discussion_r40114754"},"pull_request":{"href":"https://api.github.com/repos/stormpath/stormpath-sdk-php/pulls/91"}}},"pull_request":{"url":"https://api.github.com/repos/stormpath/stormpath-sdk-php/pulls/91","id":44500249,"html_url":"https://github.com/stormpath/stormpath-sdk-php/pull/91","diff_url":"https://github.com/stormpath/stormpath-sdk-php/pull/91.diff","patch_url":"https://github.com/stormpath/stormpath-sdk-php/pull/91.patch","issue_url":"https://api.github.com/repos/stormpath/stormpath-sdk-php/issues/91","number":91,"state":"open","locked":false,"title":"Add Github and Linkedin to the providers.","user":{"login":"bretterer","id":1906920,"avatar_url":"https://avatars.githubusercontent.com/u/1906920?v=3","gravatar_id":"","url":"https://api.github.com/users/bretterer","html_url":"https://github.com/bretterer","followers_url":"https://api.github.com/users/bretterer/followers","following_url":"https://api.github.com/users/bretterer/following{/other_user}","gists_url":"https://api.github.com/users/bretterer/gists{/gist_id}","starred_url":"https://api.github.com/users/bretterer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bretterer/subscriptions","organizations_url":"https://api.github.com/users/bretterer/orgs","repos_url":"https://api.github.com/users/bretterer/repos","events_url":"https://api.github.com/users/bretterer/events{/privacy}","received_events_url":"https://api.github.com/users/bretterer/received_events","type":"User","site_admin":false},"body":"Since we offer Github and Linked in account stores from the Stormpath Dashboard, we should offer them in the SDK.","created_at":"2015-09-09T00:57:57Z","updated_at":"2015-09-22T17:19:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0f7dc76c16a101be3ff364d913d8cfb97aa1b71c","assignee":null,"milestone":{"url":"https://api.github.com/repos/stormpath/stormpath-sdk-php/milestones/12","html_url":"https://github.com/stormpath/stormpath-sdk-php/milestones/Version%201.11.0.beta","labels_url":"https://api.github.com/repos/stormpath/stormpath-sdk-php/milestones/12/labels","id":1284755,"number":12,"title":"Version 1.11.0.beta","description":"","creator":{"login":"bretterer","id":1906920,"avatar_url":"https://avatars.githubusercontent.com/u/1906920?v=3","gravatar_id":"","url":"https://api.github.com/users/bretterer","html_url":"https://github.com/bretterer","followers_url":"https://api.github.com/users/bretterer/followers","following_url":"https://api.github.com/users/bretterer/following{/other_user}","gists_url":"https://api.github.com/users/bretterer/gists{/gist_id}","starred_url":"https://api.github.com/users/bretterer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bretterer/subscriptions","organizations_url":"https://api.github.com/users/bretterer/orgs","repos_url":"https://api.github.com/users/bretterer/repos","events_url":"https://api.github.com/users/bretterer/events{/privacy}","received_events_url":"https://api.github.com/users/bretterer/received_events","type":"User","site_admin":false},"open_issues":4,"closed_issues":2,"state":"open","created_at":"2015-09-01T19:51:28Z","updated_at":"2015-09-15T19:58:32Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/stormpath/stormpath-sdk-php/pulls/91/commits","review_comments_url":"https://api.github.com/repos/stormpath/stormpath-sdk-php/pulls/91/comments","review_comment_url":"https://api.github.com/repos/stormpath/stormpath-sdk-php/pulls/comments{/number}","comments_url":"https://api.github.com/repos/stormpath/stormpath-sdk-php/issues/91/comments","statuses_url":"https://api.github.com/repos/stormpath/stormpath-sdk-php/statuses/9ba786a14e1718f672d89a696b051500bcf0ab24","head":{"label":"stormpath:feature/Add_Github_and_LinkedIn","ref":"feature/Add_Github_and_LinkedIn","sha":"9ba786a14e1718f672d89a696b051500bcf0ab24","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":5237662,"name":"stormpath-sdk-php","full_name":"stormpath/stormpath-sdk-php","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-php","description":"PHP SDK for the Stormpath User Management and Authentication REST+JSON API","fork":false,"url":"https://api.github.com/repos/stormpath/stormpath-sdk-php","forks_url":"https://api.github.com/repos/stormpath/stormpath-sdk-php/forks","keys_url":"https://api.github.com/repos/stormpath/stormpath-sdk-php/keys{/key_id}","collaborators_url":"https://api.github.com/repos/stormpath/stormpath-sdk-php/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/stormpath/stormpath-sdk-php/teams","hooks_url":"https://api.github.com/repos/stormpath/stormpath-sdk-php/hooks","issue_events_url":"https://api.github.com/repos/stormpath/stormpath-sdk-php/issues/events{/number}","events_url":"https://api.github.com/repos/stormpath/stormpath-sdk-php/events","assignees_url":"https://api.github.com/repos/stormpath/stormpath-sdk-php/assignees{/user}","branches_url":"https://api.github.com/repos/stormpath/stormpath-sdk-php/branches{/branch}","tags_url":"https://api.github.com/repos/stormpath/stormpath-sdk-php/tags","blobs_url":"https://api.github.com/repos/stormpath/stormpath-sdk-php/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/stormpath/stormpath-sdk-php/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/stormpath/stormpath-sdk-php/git/refs{/sha}","trees_url":"https://api.github.com/repos/stormpath/stormpath-sdk-php/git/trees{/sha}","statuses_url":"https://api.github.com/repos/stormpath/stormpath-sdk-php/statuses/{sha}","languages_url":"https://api.github.com/repos/stormpath/stormpath-sdk-php/languages","stargazers_url":"https://api.github.com/repos/stormpath/stormpath-sdk-php/stargazers","contributors_url":"https://api.github.com/repos/stormpath/stormpath-sdk-php/contributors","subscribers_url":"https://api.github.com/repos/stormpath/stormpath-sdk-php/subscribers","subscription_url":"https://api.github.com/repos/stormpath/stormpath-sdk-php/subscription","commits_url":"https://api.github.com/repos/stormpath/stormpath-sdk-php/commits{/sha}","git_commits_url":"https://api.github.com/repos/stormpath/stormpath-sdk-php/git/commits{/sha}","comments_url":"https://api.github.com/repos/stormpath/stormpath-sdk-php/comments{/number}","issue_comment_url":"https://api.github.com/repos/stormpath/stormpath-sdk-php/issues/comments{/number}","contents_url":"https://api.github.com/repos/stormpath/stormpath-sdk-php/contents/{+path}","compare_url":"https://api.github.com/repos/stormpath/stormpath-sdk-php/compare/{base}...{head}","merges_url":"https://api.github.com/repos/stormpath/stormpath-sdk-php/merges","archive_url":"https://api.github.com/repos/stormpath/stormpath-sdk-php/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/stormpath/stormpath-sdk-php/downloads","issues_url":"https://api.github.com/repos/stormpath/stormpath-sdk-php/issues{/number}","pulls_url":"https://api.github.com/repos/stormpath/stormpath-sdk-php/pulls{/number}","milestones_url":"https://api.github.com/repos/stormpath/stormpath-sdk-php/milestones{/number}","notifications_url":"https://api.github.com/repos/stormpath/stormpath-sdk-php/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/stormpath/stormpath-sdk-php/labels{/name}","releases_url":"https://api.github.com/repos/stormpath/stormpath-sdk-php/releases{/id}","created_at":"2012-07-30T20:47:09Z","updated_at":"2015-09-19T11:25:17Z","pushed_at":"2015-09-22T17:19:41Z","git_url":"git://github.com/stormpath/stormpath-sdk-php.git","ssh_url":"git@github.com:stormpath/stormpath-sdk-php.git","clone_url":"https://github.com/stormpath/stormpath-sdk-php.git","svn_url":"https://github.com/stormpath/stormpath-sdk-php","homepage":"","size":1734,"stargazers_count":30,"watchers_count":30,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":22,"mirror_url":null,"open_issues_count":12,"forks":22,"open_issues":12,"watchers":30,"default_branch":"master"}},"base":{"label":"stormpath:dev","ref":"dev","sha":"43c66bcc3fa564efc606afada67bf33524499ccb","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":5237662,"name":"stormpath-sdk-php","full_name":"stormpath/stormpath-sdk-php","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-php","description":"PHP SDK for the Stormpath User Management and Authentication REST+JSON API","fork":false,"url":"https://api.github.com/repos/stormpath/stormpath-sdk-php","forks_url":"https://api.github.com/repos/stormpath/stormpath-sdk-php/forks","keys_url":"https://api.github.com/repos/stormpath/stormpath-sdk-php/keys{/key_id}","collaborators_url":"https://api.github.com/repos/stormpath/stormpath-sdk-php/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/stormpath/stormpath-sdk-php/teams","hooks_url":"https://api.github.com/repos/stormpath/stormpath-sdk-php/hooks","issue_events_url":"https://api.github.com/repos/stormpath/stormpath-sdk-php/issues/events{/number}","events_url":"https://api.github.com/repos/stormpath/stormpath-sdk-php/events","assignees_url":"https://api.github.com/repos/stormpath/stormpath-sdk-php/assignees{/user}","branches_url":"https://api.github.com/repos/stormpath/stormpath-sdk-php/branches{/branch}","tags_url":"https://api.github.com/repos/stormpath/stormpath-sdk-php/tags","blobs_url":"https://api.github.com/repos/stormpath/stormpath-sdk-php/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/stormpath/stormpath-sdk-php/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/stormpath/stormpath-sdk-php/git/refs{/sha}","trees_url":"https://api.github.com/repos/stormpath/stormpath-sdk-php/git/trees{/sha}","statuses_url":"https://api.github.com/repos/stormpath/stormpath-sdk-php/statuses/{sha}","languages_url":"https://api.github.com/repos/stormpath/stormpath-sdk-php/languages","stargazers_url":"https://api.github.com/repos/stormpath/stormpath-sdk-php/stargazers","contributors_url":"https://api.github.com/repos/stormpath/stormpath-sdk-php/contributors","subscribers_url":"https://api.github.com/repos/stormpath/stormpath-sdk-php/subscribers","subscription_url":"https://api.github.com/repos/stormpath/stormpath-sdk-php/subscription","commits_url":"https://api.github.com/repos/stormpath/stormpath-sdk-php/commits{/sha}","git_commits_url":"https://api.github.com/repos/stormpath/stormpath-sdk-php/git/commits{/sha}","comments_url":"https://api.github.com/repos/stormpath/stormpath-sdk-php/comments{/number}","issue_comment_url":"https://api.github.com/repos/stormpath/stormpath-sdk-php/issues/comments{/number}","contents_url":"https://api.github.com/repos/stormpath/stormpath-sdk-php/contents/{+path}","compare_url":"https://api.github.com/repos/stormpath/stormpath-sdk-php/compare/{base}...{head}","merges_url":"https://api.github.com/repos/stormpath/stormpath-sdk-php/merges","archive_url":"https://api.github.com/repos/stormpath/stormpath-sdk-php/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/stormpath/stormpath-sdk-php/downloads","issues_url":"https://api.github.com/repos/stormpath/stormpath-sdk-php/issues{/number}","pulls_url":"https://api.github.com/repos/stormpath/stormpath-sdk-php/pulls{/number}","milestones_url":"https://api.github.com/repos/stormpath/stormpath-sdk-php/milestones{/number}","notifications_url":"https://api.github.com/repos/stormpath/stormpath-sdk-php/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/stormpath/stormpath-sdk-php/labels{/name}","releases_url":"https://api.github.com/repos/stormpath/stormpath-sdk-php/releases{/id}","created_at":"2012-07-30T20:47:09Z","updated_at":"2015-09-19T11:25:17Z","pushed_at":"2015-09-22T17:19:41Z","git_url":"git://github.com/stormpath/stormpath-sdk-php.git","ssh_url":"git@github.com:stormpath/stormpath-sdk-php.git","clone_url":"https://github.com/stormpath/stormpath-sdk-php.git","svn_url":"https://github.com/stormpath/stormpath-sdk-php","homepage":"","size":1734,"stargazers_count":30,"watchers_count":30,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":22,"mirror_url":null,"open_issues_count":12,"forks":22,"open_issues":12,"watchers":30,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/stormpath/stormpath-sdk-php/pulls/91"},"html":{"href":"https://github.com/stormpath/stormpath-sdk-php/pull/91"},"issue":{"href":"https://api.github.com/repos/stormpath/stormpath-sdk-php/issues/91"},"comments":{"href":"https://api.github.com/repos/stormpath/stormpath-sdk-php/issues/91/comments"},"review_comments":{"href":"https://api.github.com/repos/stormpath/stormpath-sdk-php/pulls/91/comments"},"review_comment":{"href":"https://api.github.com/repos/stormpath/stormpath-sdk-php/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/stormpath/stormpath-sdk-php/pulls/91/commits"},"statuses":{"href":"https://api.github.com/repos/stormpath/stormpath-sdk-php/statuses/9ba786a14e1718f672d89a696b051500bcf0ab24"}}}}