{"action":"created","comment":{"url":"https://api.github.com/repos/driftyco/custom-auth-examples/pulls/comments/76879994","id":76879994,"diff_hunk":"@@ -19,6 +19,6 @@ Start the server:\n $ php -S localhost:8000 routing.php\n ```\n \n-For testing you can use follow this [link](http://localhost:8000/auth?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJkYXRhIjp7InVzZXJuYW1lIjoiVXNlcm5hbWUiLCJwYXNzd29yZCI6IlBhc3N3b3JkIn0sImV4cCI6MjQ3MjIxNjQ0NywiYXBwX2lkIjoiPFlPVVIgQVBQIElEPiJ9.J7nG8iM2eschTAjG882QBO-FXcO8hlwkkTGyB-hdS5k&redirect_uri=https://api.ionic.io/auth/integrations/custom?app_id=f028dfca). \n+For testing you can use follow this [link](http://localhost:8000/auth?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJkYXRhIjp7InVzZXJuYW1lIjoiVXNlcm5hbWUiLCJwYXNzd29yZCI6IlBhc3N3b3JkIn0sImV4cCI6MjQ3MjIxNjQ0NywiYXBwX2lkIjoiPFlPVVIgQVBQIElEPiJ9.J7nG8iM2eschTAjG882QBO-FXcO8hlwkkTGyB-hdS5k&redirect_uri=https://api.ionic.io/auth/integrations/custom?app_id=f028dfca&state=123ABC). ","path":"php/README.md","position":null,"original_position":5,"commit_id":"6fdae3375225beb2d17f1f3375e0601ba94281f8","original_commit_id":"6fdae3375225beb2d17f1f3375e0601ba94281f8","user":{"login":"wcatron","id":5385284,"avatar_url":"https://avatars.githubusercontent.com/u/5385284?v=3","gravatar_id":"","url":"https://api.github.com/users/wcatron","html_url":"https://github.com/wcatron","followers_url":"https://api.github.com/users/wcatron/followers","following_url":"https://api.github.com/users/wcatron/following{/other_user}","gists_url":"https://api.github.com/users/wcatron/gists{/gist_id}","starred_url":"https://api.github.com/users/wcatron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wcatron/subscriptions","organizations_url":"https://api.github.com/users/wcatron/orgs","repos_url":"https://api.github.com/users/wcatron/repos","events_url":"https://api.github.com/users/wcatron/events{/privacy}","received_events_url":"https://api.github.com/users/wcatron/received_events","type":"User","site_admin":false},"body":"I don't really like this test link. I added it because I felt like I needed *something* to test whether it was working. I'm open to suggestions.","created_at":"2016-08-30T21:12:16Z","updated_at":"2016-08-30T21:12:16Z","html_url":"https://github.com/driftyco/custom-auth-examples/pull/10#discussion_r76879994","pull_request_url":"https://api.github.com/repos/driftyco/custom-auth-examples/pulls/10","_links":{"self":{"href":"https://api.github.com/repos/driftyco/custom-auth-examples/pulls/comments/76879994"},"html":{"href":"https://github.com/driftyco/custom-auth-examples/pull/10#discussion_r76879994"},"pull_request":{"href":"https://api.github.com/repos/driftyco/custom-auth-examples/pulls/10"}}},"pull_request":{"url":"https://api.github.com/repos/driftyco/custom-auth-examples/pulls/10","id":82902463,"html_url":"https://github.com/driftyco/custom-auth-examples/pull/10","diff_url":"https://github.com/driftyco/custom-auth-examples/pull/10.diff","patch_url":"https://github.com/driftyco/custom-auth-examples/pull/10.patch","issue_url":"https://api.github.com/repos/driftyco/custom-auth-examples/issues/10","number":10,"state":"open","locked":false,"title":"Add example for custom authentication with php.","user":{"login":"wcatron","id":5385284,"avatar_url":"https://avatars.githubusercontent.com/u/5385284?v=3","gravatar_id":"","url":"https://api.github.com/users/wcatron","html_url":"https://github.com/wcatron","followers_url":"https://api.github.com/users/wcatron/followers","following_url":"https://api.github.com/users/wcatron/following{/other_user}","gists_url":"https://api.github.com/users/wcatron/gists{/gist_id}","starred_url":"https://api.github.com/users/wcatron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wcatron/subscriptions","organizations_url":"https://api.github.com/users/wcatron/orgs","repos_url":"https://api.github.com/users/wcatron/repos","events_url":"https://api.github.com/users/wcatron/events{/privacy}","received_events_url":"https://api.github.com/users/wcatron/received_events","type":"User","site_admin":false},"body":"PHP Example for custom authentication.","created_at":"2016-08-26T14:57:43Z","updated_at":"2016-08-30T21:12:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":"99e87aab65ee62f9f146044fedb44ac6352aa5f7","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/driftyco/custom-auth-examples/pulls/10/commits","review_comments_url":"https://api.github.com/repos/driftyco/custom-auth-examples/pulls/10/comments","review_comment_url":"https://api.github.com/repos/driftyco/custom-auth-examples/pulls/comments{/number}","comments_url":"https://api.github.com/repos/driftyco/custom-auth-examples/issues/10/comments","statuses_url":"https://api.github.com/repos/driftyco/custom-auth-examples/statuses/6fdae3375225beb2d17f1f3375e0601ba94281f8","head":{"label":"wcatron:php-example","ref":"php-example","sha":"6fdae3375225beb2d17f1f3375e0601ba94281f8","user":{"login":"wcatron","id":5385284,"avatar_url":"https://avatars.githubusercontent.com/u/5385284?v=3","gravatar_id":"","url":"https://api.github.com/users/wcatron","html_url":"https://github.com/wcatron","followers_url":"https://api.github.com/users/wcatron/followers","following_url":"https://api.github.com/users/wcatron/following{/other_user}","gists_url":"https://api.github.com/users/wcatron/gists{/gist_id}","starred_url":"https://api.github.com/users/wcatron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wcatron/subscriptions","organizations_url":"https://api.github.com/users/wcatron/orgs","repos_url":"https://api.github.com/users/wcatron/repos","events_url":"https://api.github.com/users/wcatron/events{/privacy}","received_events_url":"https://api.github.com/users/wcatron/received_events","type":"User","site_admin":false},"repo":{"id":66651762,"name":"custom-auth-examples","full_name":"wcatron/custom-auth-examples","owner":{"login":"wcatron","id":5385284,"avatar_url":"https://avatars.githubusercontent.com/u/5385284?v=3","gravatar_id":"","url":"https://api.github.com/users/wcatron","html_url":"https://github.com/wcatron","followers_url":"https://api.github.com/users/wcatron/followers","following_url":"https://api.github.com/users/wcatron/following{/other_user}","gists_url":"https://api.github.com/users/wcatron/gists{/gist_id}","starred_url":"https://api.github.com/users/wcatron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wcatron/subscriptions","organizations_url":"https://api.github.com/users/wcatron/orgs","repos_url":"https://api.github.com/users/wcatron/repos","events_url":"https://api.github.com/users/wcatron/events{/privacy}","received_events_url":"https://api.github.com/users/wcatron/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/wcatron/custom-auth-examples","description":null,"fork":true,"url":"https://api.github.com/repos/wcatron/custom-auth-examples","forks_url":"https://api.github.com/repos/wcatron/custom-auth-examples/forks","keys_url":"https://api.github.com/repos/wcatron/custom-auth-examples/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wcatron/custom-auth-examples/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wcatron/custom-auth-examples/teams","hooks_url":"https://api.github.com/repos/wcatron/custom-auth-examples/hooks","issue_events_url":"https://api.github.com/repos/wcatron/custom-auth-examples/issues/events{/number}","events_url":"https://api.github.com/repos/wcatron/custom-auth-examples/events","assignees_url":"https://api.github.com/repos/wcatron/custom-auth-examples/assignees{/user}","branches_url":"https://api.github.com/repos/wcatron/custom-auth-examples/branches{/branch}","tags_url":"https://api.github.com/repos/wcatron/custom-auth-examples/tags","blobs_url":"https://api.github.com/repos/wcatron/custom-auth-examples/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wcatron/custom-auth-examples/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wcatron/custom-auth-examples/git/refs{/sha}","trees_url":"https://api.github.com/repos/wcatron/custom-auth-examples/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wcatron/custom-auth-examples/statuses/{sha}","languages_url":"https://api.github.com/repos/wcatron/custom-auth-examples/languages","stargazers_url":"https://api.github.com/repos/wcatron/custom-auth-examples/stargazers","contributors_url":"https://api.github.com/repos/wcatron/custom-auth-examples/contributors","subscribers_url":"https://api.github.com/repos/wcatron/custom-auth-examples/subscribers","subscription_url":"https://api.github.com/repos/wcatron/custom-auth-examples/subscription","commits_url":"https://api.github.com/repos/wcatron/custom-auth-examples/commits{/sha}","git_commits_url":"https://api.github.com/repos/wcatron/custom-auth-examples/git/commits{/sha}","comments_url":"https://api.github.com/repos/wcatron/custom-auth-examples/comments{/number}","issue_comment_url":"https://api.github.com/repos/wcatron/custom-auth-examples/issues/comments{/number}","contents_url":"https://api.github.com/repos/wcatron/custom-auth-examples/contents/{+path}","compare_url":"https://api.github.com/repos/wcatron/custom-auth-examples/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wcatron/custom-auth-examples/merges","archive_url":"https://api.github.com/repos/wcatron/custom-auth-examples/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wcatron/custom-auth-examples/downloads","issues_url":"https://api.github.com/repos/wcatron/custom-auth-examples/issues{/number}","pulls_url":"https://api.github.com/repos/wcatron/custom-auth-examples/pulls{/number}","milestones_url":"https://api.github.com/repos/wcatron/custom-auth-examples/milestones{/number}","notifications_url":"https://api.github.com/repos/wcatron/custom-auth-examples/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wcatron/custom-auth-examples/labels{/name}","releases_url":"https://api.github.com/repos/wcatron/custom-auth-examples/releases{/id}","deployments_url":"https://api.github.com/repos/wcatron/custom-auth-examples/deployments","created_at":"2016-08-26T13:56:35Z","updated_at":"2016-08-26T13:56:36Z","pushed_at":"2016-08-30T21:10:31Z","git_url":"git://github.com/wcatron/custom-auth-examples.git","ssh_url":"git@github.com:wcatron/custom-auth-examples.git","clone_url":"https://github.com/wcatron/custom-auth-examples.git","svn_url":"https://github.com/wcatron/custom-auth-examples","homepage":null,"size":29,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_downloads":true,"has_wiki":true,"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":"driftyco:master","ref":"master","sha":"d9d777acdd16229e10594679147c0dd3f442d708","user":{"login":"driftyco","id":3171503,"avatar_url":"https://avatars.githubusercontent.com/u/3171503?v=3","gravatar_id":"","url":"https://api.github.com/users/driftyco","html_url":"https://github.com/driftyco","followers_url":"https://api.github.com/users/driftyco/followers","following_url":"https://api.github.com/users/driftyco/following{/other_user}","gists_url":"https://api.github.com/users/driftyco/gists{/gist_id}","starred_url":"https://api.github.com/users/driftyco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/driftyco/subscriptions","organizations_url":"https://api.github.com/users/driftyco/orgs","repos_url":"https://api.github.com/users/driftyco/repos","events_url":"https://api.github.com/users/driftyco/events{/privacy}","received_events_url":"https://api.github.com/users/driftyco/received_events","type":"Organization","site_admin":false},"repo":{"id":53454912,"name":"custom-auth-examples","full_name":"driftyco/custom-auth-examples","owner":{"login":"driftyco","id":3171503,"avatar_url":"https://avatars.githubusercontent.com/u/3171503?v=3","gravatar_id":"","url":"https://api.github.com/users/driftyco","html_url":"https://github.com/driftyco","followers_url":"https://api.github.com/users/driftyco/followers","following_url":"https://api.github.com/users/driftyco/following{/other_user}","gists_url":"https://api.github.com/users/driftyco/gists{/gist_id}","starred_url":"https://api.github.com/users/driftyco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/driftyco/subscriptions","organizations_url":"https://api.github.com/users/driftyco/orgs","repos_url":"https://api.github.com/users/driftyco/repos","events_url":"https://api.github.com/users/driftyco/events{/privacy}","received_events_url":"https://api.github.com/users/driftyco/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/driftyco/custom-auth-examples","description":"","fork":false,"url":"https://api.github.com/repos/driftyco/custom-auth-examples","forks_url":"https://api.github.com/repos/driftyco/custom-auth-examples/forks","keys_url":"https://api.github.com/repos/driftyco/custom-auth-examples/keys{/key_id}","collaborators_url":"https://api.github.com/repos/driftyco/custom-auth-examples/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/driftyco/custom-auth-examples/teams","hooks_url":"https://api.github.com/repos/driftyco/custom-auth-examples/hooks","issue_events_url":"https://api.github.com/repos/driftyco/custom-auth-examples/issues/events{/number}","events_url":"https://api.github.com/repos/driftyco/custom-auth-examples/events","assignees_url":"https://api.github.com/repos/driftyco/custom-auth-examples/assignees{/user}","branches_url":"https://api.github.com/repos/driftyco/custom-auth-examples/branches{/branch}","tags_url":"https://api.github.com/repos/driftyco/custom-auth-examples/tags","blobs_url":"https://api.github.com/repos/driftyco/custom-auth-examples/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/driftyco/custom-auth-examples/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/driftyco/custom-auth-examples/git/refs{/sha}","trees_url":"https://api.github.com/repos/driftyco/custom-auth-examples/git/trees{/sha}","statuses_url":"https://api.github.com/repos/driftyco/custom-auth-examples/statuses/{sha}","languages_url":"https://api.github.com/repos/driftyco/custom-auth-examples/languages","stargazers_url":"https://api.github.com/repos/driftyco/custom-auth-examples/stargazers","contributors_url":"https://api.github.com/repos/driftyco/custom-auth-examples/contributors","subscribers_url":"https://api.github.com/repos/driftyco/custom-auth-examples/subscribers","subscription_url":"https://api.github.com/repos/driftyco/custom-auth-examples/subscription","commits_url":"https://api.github.com/repos/driftyco/custom-auth-examples/commits{/sha}","git_commits_url":"https://api.github.com/repos/driftyco/custom-auth-examples/git/commits{/sha}","comments_url":"https://api.github.com/repos/driftyco/custom-auth-examples/comments{/number}","issue_comment_url":"https://api.github.com/repos/driftyco/custom-auth-examples/issues/comments{/number}","contents_url":"https://api.github.com/repos/driftyco/custom-auth-examples/contents/{+path}","compare_url":"https://api.github.com/repos/driftyco/custom-auth-examples/compare/{base}...{head}","merges_url":"https://api.github.com/repos/driftyco/custom-auth-examples/merges","archive_url":"https://api.github.com/repos/driftyco/custom-auth-examples/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/driftyco/custom-auth-examples/downloads","issues_url":"https://api.github.com/repos/driftyco/custom-auth-examples/issues{/number}","pulls_url":"https://api.github.com/repos/driftyco/custom-auth-examples/pulls{/number}","milestones_url":"https://api.github.com/repos/driftyco/custom-auth-examples/milestones{/number}","notifications_url":"https://api.github.com/repos/driftyco/custom-auth-examples/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/driftyco/custom-auth-examples/labels{/name}","releases_url":"https://api.github.com/repos/driftyco/custom-auth-examples/releases{/id}","deployments_url":"https://api.github.com/repos/driftyco/custom-auth-examples/deployments","created_at":"2016-03-09T00:16:34Z","updated_at":"2016-07-27T00:55:19Z","pushed_at":"2016-08-30T21:10:31Z","git_url":"git://github.com/driftyco/custom-auth-examples.git","ssh_url":"git@github.com:driftyco/custom-auth-examples.git","clone_url":"https://github.com/driftyco/custom-auth-examples.git","svn_url":"https://github.com/driftyco/custom-auth-examples","homepage":null,"size":24,"stargazers_count":9,"watchers_count":9,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":3,"forks":5,"open_issues":3,"watchers":9,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/driftyco/custom-auth-examples/pulls/10"},"html":{"href":"https://github.com/driftyco/custom-auth-examples/pull/10"},"issue":{"href":"https://api.github.com/repos/driftyco/custom-auth-examples/issues/10"},"comments":{"href":"https://api.github.com/repos/driftyco/custom-auth-examples/issues/10/comments"},"review_comments":{"href":"https://api.github.com/repos/driftyco/custom-auth-examples/pulls/10/comments"},"review_comment":{"href":"https://api.github.com/repos/driftyco/custom-auth-examples/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/driftyco/custom-auth-examples/pulls/10/commits"},"statuses":{"href":"https://api.github.com/repos/driftyco/custom-auth-examples/statuses/6fdae3375225beb2d17f1f3375e0601ba94281f8"}}}}
{"actor":{"display_login":"wcatron"}}