{"action":"created","comment":{"url":"https://api.github.com/repos/kathHen/Bingo-Practise/pulls/comments/45989773","id":45989773,"diff_hunk":"@@ -0,0 +1,39 @@\n+(function () {\n+    'use strict';\n+        angular.module('Tombola.BingoClient')\n+            .service('AuthenticationService',['$state', 'BingoAuthenticationProxy', 'UserData',\n+                function($state, bingoAuthenticationProxy, userData){\n+                var me = this,\n+                    clearAuthenticationDetails = function(){\n+                        me.username = '';\n+                        me.password = '';\n+                    };\n+\n+                clearAuthenticationDetails();\n+                me.token = '';\n+\n+                me.isAuthenticated = function(){\n+                    console.log('********');","path":"main-app/app/scripts/authenticate/services/authenticate-service.js","position":16,"original_position":16,"commit_id":"4414f1b9c44edc7f415f867c6a9c5f586d651807","original_commit_id":"4414f1b9c44edc7f415f867c6a9c5f586d651807","user":{"login":"keithbarrow","id":8112111,"avatar_url":"https://avatars.githubusercontent.com/u/8112111?v=3","gravatar_id":"","url":"https://api.github.com/users/keithbarrow","html_url":"https://github.com/keithbarrow","followers_url":"https://api.github.com/users/keithbarrow/followers","following_url":"https://api.github.com/users/keithbarrow/following{/other_user}","gists_url":"https://api.github.com/users/keithbarrow/gists{/gist_id}","starred_url":"https://api.github.com/users/keithbarrow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/keithbarrow/subscriptions","organizations_url":"https://api.github.com/users/keithbarrow/orgs","repos_url":"https://api.github.com/users/keithbarrow/repos","events_url":"https://api.github.com/users/keithbarrow/events{/privacy}","received_events_url":"https://api.github.com/users/keithbarrow/received_events","type":"User","site_admin":false},"body":"![image](https://cloud.githubusercontent.com/assets/8112111/11426387/bafc0f38-9453-11e5-8efe-f3e4382f6e13.png)\r\n","created_at":"2015-11-26T15:38:27Z","updated_at":"2015-11-26T15:38:27Z","html_url":"https://github.com/kathHen/Bingo-Practise/pull/5#discussion_r45989773","pull_request_url":"https://api.github.com/repos/kathHen/Bingo-Practise/pulls/5","_links":{"self":{"href":"https://api.github.com/repos/kathHen/Bingo-Practise/pulls/comments/45989773"},"html":{"href":"https://github.com/kathHen/Bingo-Practise/pull/5#discussion_r45989773"},"pull_request":{"href":"https://api.github.com/repos/kathHen/Bingo-Practise/pulls/5"}}},"pull_request":{"url":"https://api.github.com/repos/kathHen/Bingo-Practise/pulls/5","id":51360706,"html_url":"https://github.com/kathHen/Bingo-Practise/pull/5","diff_url":"https://github.com/kathHen/Bingo-Practise/pull/5.diff","patch_url":"https://github.com/kathHen/Bingo-Practise/pull/5.patch","issue_url":"https://api.github.com/repos/kathHen/Bingo-Practise/issues/5","number":5,"state":"open","locked":false,"title":"Refactoring authentication","user":{"login":"kathHen","id":13646028,"avatar_url":"https://avatars.githubusercontent.com/u/13646028?v=3","gravatar_id":"","url":"https://api.github.com/users/kathHen","html_url":"https://github.com/kathHen","followers_url":"https://api.github.com/users/kathHen/followers","following_url":"https://api.github.com/users/kathHen/following{/other_user}","gists_url":"https://api.github.com/users/kathHen/gists{/gist_id}","starred_url":"https://api.github.com/users/kathHen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kathHen/subscriptions","organizations_url":"https://api.github.com/users/kathHen/orgs","repos_url":"https://api.github.com/users/kathHen/repos","events_url":"https://api.github.com/users/kathHen/events{/privacy}","received_events_url":"https://api.github.com/users/kathHen/received_events","type":"User","site_admin":false},"body":"This is all the refactoring done with Keith. Its got nearly all of the testing done so far for the code available along with renaming and redoing a few of the processes (like all the converter stuff)","created_at":"2015-11-20T14:14:10Z","updated_at":"2015-11-26T15:38:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":"cbb0b0ac2fb555e1d8d9f1eab137f33f22108950","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/kathHen/Bingo-Practise/pulls/5/commits","review_comments_url":"https://api.github.com/repos/kathHen/Bingo-Practise/pulls/5/comments","review_comment_url":"https://api.github.com/repos/kathHen/Bingo-Practise/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kathHen/Bingo-Practise/issues/5/comments","statuses_url":"https://api.github.com/repos/kathHen/Bingo-Practise/statuses/4414f1b9c44edc7f415f867c6a9c5f586d651807","head":{"label":"kathHen:RefactoringAuthentication","ref":"RefactoringAuthentication","sha":"4414f1b9c44edc7f415f867c6a9c5f586d651807","user":{"login":"kathHen","id":13646028,"avatar_url":"https://avatars.githubusercontent.com/u/13646028?v=3","gravatar_id":"","url":"https://api.github.com/users/kathHen","html_url":"https://github.com/kathHen","followers_url":"https://api.github.com/users/kathHen/followers","following_url":"https://api.github.com/users/kathHen/following{/other_user}","gists_url":"https://api.github.com/users/kathHen/gists{/gist_id}","starred_url":"https://api.github.com/users/kathHen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kathHen/subscriptions","organizations_url":"https://api.github.com/users/kathHen/orgs","repos_url":"https://api.github.com/users/kathHen/repos","events_url":"https://api.github.com/users/kathHen/events{/privacy}","received_events_url":"https://api.github.com/users/kathHen/received_events","type":"User","site_admin":false},"repo":{"id":45264465,"name":"Bingo-Practise","full_name":"kathHen/Bingo-Practise","owner":{"login":"kathHen","id":13646028,"avatar_url":"https://avatars.githubusercontent.com/u/13646028?v=3","gravatar_id":"","url":"https://api.github.com/users/kathHen","html_url":"https://github.com/kathHen","followers_url":"https://api.github.com/users/kathHen/followers","following_url":"https://api.github.com/users/kathHen/following{/other_user}","gists_url":"https://api.github.com/users/kathHen/gists{/gist_id}","starred_url":"https://api.github.com/users/kathHen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kathHen/subscriptions","organizations_url":"https://api.github.com/users/kathHen/orgs","repos_url":"https://api.github.com/users/kathHen/repos","events_url":"https://api.github.com/users/kathHen/events{/privacy}","received_events_url":"https://api.github.com/users/kathHen/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kathHen/Bingo-Practise","description":"","fork":false,"url":"https://api.github.com/repos/kathHen/Bingo-Practise","forks_url":"https://api.github.com/repos/kathHen/Bingo-Practise/forks","keys_url":"https://api.github.com/repos/kathHen/Bingo-Practise/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kathHen/Bingo-Practise/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kathHen/Bingo-Practise/teams","hooks_url":"https://api.github.com/repos/kathHen/Bingo-Practise/hooks","issue_events_url":"https://api.github.com/repos/kathHen/Bingo-Practise/issues/events{/number}","events_url":"https://api.github.com/repos/kathHen/Bingo-Practise/events","assignees_url":"https://api.github.com/repos/kathHen/Bingo-Practise/assignees{/user}","branches_url":"https://api.github.com/repos/kathHen/Bingo-Practise/branches{/branch}","tags_url":"https://api.github.com/repos/kathHen/Bingo-Practise/tags","blobs_url":"https://api.github.com/repos/kathHen/Bingo-Practise/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kathHen/Bingo-Practise/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kathHen/Bingo-Practise/git/refs{/sha}","trees_url":"https://api.github.com/repos/kathHen/Bingo-Practise/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kathHen/Bingo-Practise/statuses/{sha}","languages_url":"https://api.github.com/repos/kathHen/Bingo-Practise/languages","stargazers_url":"https://api.github.com/repos/kathHen/Bingo-Practise/stargazers","contributors_url":"https://api.github.com/repos/kathHen/Bingo-Practise/contributors","subscribers_url":"https://api.github.com/repos/kathHen/Bingo-Practise/subscribers","subscription_url":"https://api.github.com/repos/kathHen/Bingo-Practise/subscription","commits_url":"https://api.github.com/repos/kathHen/Bingo-Practise/commits{/sha}","git_commits_url":"https://api.github.com/repos/kathHen/Bingo-Practise/git/commits{/sha}","comments_url":"https://api.github.com/repos/kathHen/Bingo-Practise/comments{/number}","issue_comment_url":"https://api.github.com/repos/kathHen/Bingo-Practise/issues/comments{/number}","contents_url":"https://api.github.com/repos/kathHen/Bingo-Practise/contents/{+path}","compare_url":"https://api.github.com/repos/kathHen/Bingo-Practise/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kathHen/Bingo-Practise/merges","archive_url":"https://api.github.com/repos/kathHen/Bingo-Practise/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kathHen/Bingo-Practise/downloads","issues_url":"https://api.github.com/repos/kathHen/Bingo-Practise/issues{/number}","pulls_url":"https://api.github.com/repos/kathHen/Bingo-Practise/pulls{/number}","milestones_url":"https://api.github.com/repos/kathHen/Bingo-Practise/milestones{/number}","notifications_url":"https://api.github.com/repos/kathHen/Bingo-Practise/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kathHen/Bingo-Practise/labels{/name}","releases_url":"https://api.github.com/repos/kathHen/Bingo-Practise/releases{/id}","created_at":"2015-10-30T16:56:01Z","updated_at":"2015-10-30T17:25:54Z","pushed_at":"2015-11-25T12:11:12Z","git_url":"git://github.com/kathHen/Bingo-Practise.git","ssh_url":"git@github.com:kathHen/Bingo-Practise.git","clone_url":"https://github.com/kathHen/Bingo-Practise.git","svn_url":"https://github.com/kathHen/Bingo-Practise","homepage":null,"size":52,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"kathHen:master","ref":"master","sha":"29c45c2c4e22dfc3276027e40797495471ca4f27","user":{"login":"kathHen","id":13646028,"avatar_url":"https://avatars.githubusercontent.com/u/13646028?v=3","gravatar_id":"","url":"https://api.github.com/users/kathHen","html_url":"https://github.com/kathHen","followers_url":"https://api.github.com/users/kathHen/followers","following_url":"https://api.github.com/users/kathHen/following{/other_user}","gists_url":"https://api.github.com/users/kathHen/gists{/gist_id}","starred_url":"https://api.github.com/users/kathHen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kathHen/subscriptions","organizations_url":"https://api.github.com/users/kathHen/orgs","repos_url":"https://api.github.com/users/kathHen/repos","events_url":"https://api.github.com/users/kathHen/events{/privacy}","received_events_url":"https://api.github.com/users/kathHen/received_events","type":"User","site_admin":false},"repo":{"id":45264465,"name":"Bingo-Practise","full_name":"kathHen/Bingo-Practise","owner":{"login":"kathHen","id":13646028,"avatar_url":"https://avatars.githubusercontent.com/u/13646028?v=3","gravatar_id":"","url":"https://api.github.com/users/kathHen","html_url":"https://github.com/kathHen","followers_url":"https://api.github.com/users/kathHen/followers","following_url":"https://api.github.com/users/kathHen/following{/other_user}","gists_url":"https://api.github.com/users/kathHen/gists{/gist_id}","starred_url":"https://api.github.com/users/kathHen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kathHen/subscriptions","organizations_url":"https://api.github.com/users/kathHen/orgs","repos_url":"https://api.github.com/users/kathHen/repos","events_url":"https://api.github.com/users/kathHen/events{/privacy}","received_events_url":"https://api.github.com/users/kathHen/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kathHen/Bingo-Practise","description":"","fork":false,"url":"https://api.github.com/repos/kathHen/Bingo-Practise","forks_url":"https://api.github.com/repos/kathHen/Bingo-Practise/forks","keys_url":"https://api.github.com/repos/kathHen/Bingo-Practise/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kathHen/Bingo-Practise/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kathHen/Bingo-Practise/teams","hooks_url":"https://api.github.com/repos/kathHen/Bingo-Practise/hooks","issue_events_url":"https://api.github.com/repos/kathHen/Bingo-Practise/issues/events{/number}","events_url":"https://api.github.com/repos/kathHen/Bingo-Practise/events","assignees_url":"https://api.github.com/repos/kathHen/Bingo-Practise/assignees{/user}","branches_url":"https://api.github.com/repos/kathHen/Bingo-Practise/branches{/branch}","tags_url":"https://api.github.com/repos/kathHen/Bingo-Practise/tags","blobs_url":"https://api.github.com/repos/kathHen/Bingo-Practise/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kathHen/Bingo-Practise/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kathHen/Bingo-Practise/git/refs{/sha}","trees_url":"https://api.github.com/repos/kathHen/Bingo-Practise/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kathHen/Bingo-Practise/statuses/{sha}","languages_url":"https://api.github.com/repos/kathHen/Bingo-Practise/languages","stargazers_url":"https://api.github.com/repos/kathHen/Bingo-Practise/stargazers","contributors_url":"https://api.github.com/repos/kathHen/Bingo-Practise/contributors","subscribers_url":"https://api.github.com/repos/kathHen/Bingo-Practise/subscribers","subscription_url":"https://api.github.com/repos/kathHen/Bingo-Practise/subscription","commits_url":"https://api.github.com/repos/kathHen/Bingo-Practise/commits{/sha}","git_commits_url":"https://api.github.com/repos/kathHen/Bingo-Practise/git/commits{/sha}","comments_url":"https://api.github.com/repos/kathHen/Bingo-Practise/comments{/number}","issue_comment_url":"https://api.github.com/repos/kathHen/Bingo-Practise/issues/comments{/number}","contents_url":"https://api.github.com/repos/kathHen/Bingo-Practise/contents/{+path}","compare_url":"https://api.github.com/repos/kathHen/Bingo-Practise/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kathHen/Bingo-Practise/merges","archive_url":"https://api.github.com/repos/kathHen/Bingo-Practise/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kathHen/Bingo-Practise/downloads","issues_url":"https://api.github.com/repos/kathHen/Bingo-Practise/issues{/number}","pulls_url":"https://api.github.com/repos/kathHen/Bingo-Practise/pulls{/number}","milestones_url":"https://api.github.com/repos/kathHen/Bingo-Practise/milestones{/number}","notifications_url":"https://api.github.com/repos/kathHen/Bingo-Practise/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kathHen/Bingo-Practise/labels{/name}","releases_url":"https://api.github.com/repos/kathHen/Bingo-Practise/releases{/id}","created_at":"2015-10-30T16:56:01Z","updated_at":"2015-10-30T17:25:54Z","pushed_at":"2015-11-25T12:11:12Z","git_url":"git://github.com/kathHen/Bingo-Practise.git","ssh_url":"git@github.com:kathHen/Bingo-Practise.git","clone_url":"https://github.com/kathHen/Bingo-Practise.git","svn_url":"https://github.com/kathHen/Bingo-Practise","homepage":null,"size":52,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/kathHen/Bingo-Practise/pulls/5"},"html":{"href":"https://github.com/kathHen/Bingo-Practise/pull/5"},"issue":{"href":"https://api.github.com/repos/kathHen/Bingo-Practise/issues/5"},"comments":{"href":"https://api.github.com/repos/kathHen/Bingo-Practise/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/kathHen/Bingo-Practise/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/kathHen/Bingo-Practise/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kathHen/Bingo-Practise/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/kathHen/Bingo-Practise/statuses/4414f1b9c44edc7f415f867c6a9c5f586d651807"}}}}