{"action":"closed","number":1,"pull_request":{"url":"https://api.github.com/repos/CruGlobal/angular-cas-auth-api/pulls/1","id":64726617,"html_url":"https://github.com/CruGlobal/angular-cas-auth-api/pull/1","diff_url":"https://github.com/CruGlobal/angular-cas-auth-api/pull/1.diff","patch_url":"https://github.com/CruGlobal/angular-cas-auth-api/pull/1.patch","issue_url":"https://api.github.com/repos/CruGlobal/angular-cas-auth-api/issues/1","number":1,"state":"closed","locked":false,"title":"Use OAuth CAS Flow","user":{"login":"ardation","id":802117,"avatar_url":"https://avatars.githubusercontent.com/u/802117?v=3","gravatar_id":"","url":"https://api.github.com/users/ardation","html_url":"https://github.com/ardation","followers_url":"https://api.github.com/users/ardation/followers","following_url":"https://api.github.com/users/ardation/following{/other_user}","gists_url":"https://api.github.com/users/ardation/gists{/gist_id}","starred_url":"https://api.github.com/users/ardation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ardation/subscriptions","organizations_url":"https://api.github.com/users/ardation/orgs","repos_url":"https://api.github.com/users/ardation/repos","events_url":"https://api.github.com/users/ardation/events{/privacy}","received_events_url":"https://api.github.com/users/ardation/received_events","type":"User","site_admin":false},"body":"This PR primary goal is to **add new OAuth support without breaking existing flows**.\r\n\r\nOn the way I added in a few bonus features which will make this package easier to use:\r\n- apply JSLinting styles to files\r\n- refactor configuration while still supporting old method\r\n- refactor StartAuthentication method to reduce code duplication\r\n- refactor errors to support events rather than callbacks while still supporting old method\r\n- add a README to speed up on-boarding for developers using this package\r\n- add in some smart defaults for Cru developers\r\n\r\n@Omicron7 Please code-review. Thanks.","created_at":"2016-03-31T02:34:26Z","updated_at":"2016-03-31T22:42:43Z","closed_at":"2016-03-31T22:42:43Z","merged_at":"2016-03-31T22:42:43Z","merge_commit_sha":"cbb4803769e0ce556074f998ad7cfea31acf27e4","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/CruGlobal/angular-cas-auth-api/pulls/1/commits","review_comments_url":"https://api.github.com/repos/CruGlobal/angular-cas-auth-api/pulls/1/comments","review_comment_url":"https://api.github.com/repos/CruGlobal/angular-cas-auth-api/pulls/comments{/number}","comments_url":"https://api.github.com/repos/CruGlobal/angular-cas-auth-api/issues/1/comments","statuses_url":"https://api.github.com/repos/CruGlobal/angular-cas-auth-api/statuses/4144a0327e10cc78a02e3f95cd3d15278aa5792a","head":{"label":"CruGlobal:use-oauth-cas-flow","ref":"use-oauth-cas-flow","sha":"4144a0327e10cc78a02e3f95cd3d15278aa5792a","user":{"login":"CruGlobal","id":1785912,"avatar_url":"https://avatars.githubusercontent.com/u/1785912?v=3","gravatar_id":"","url":"https://api.github.com/users/CruGlobal","html_url":"https://github.com/CruGlobal","followers_url":"https://api.github.com/users/CruGlobal/followers","following_url":"https://api.github.com/users/CruGlobal/following{/other_user}","gists_url":"https://api.github.com/users/CruGlobal/gists{/gist_id}","starred_url":"https://api.github.com/users/CruGlobal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CruGlobal/subscriptions","organizations_url":"https://api.github.com/users/CruGlobal/orgs","repos_url":"https://api.github.com/users/CruGlobal/repos","events_url":"https://api.github.com/users/CruGlobal/events{/privacy}","received_events_url":"https://api.github.com/users/CruGlobal/received_events","type":"Organization","site_admin":false},"repo":{"id":45493879,"name":"angular-cas-auth-api","full_name":"CruGlobal/angular-cas-auth-api","owner":{"login":"CruGlobal","id":1785912,"avatar_url":"https://avatars.githubusercontent.com/u/1785912?v=3","gravatar_id":"","url":"https://api.github.com/users/CruGlobal","html_url":"https://github.com/CruGlobal","followers_url":"https://api.github.com/users/CruGlobal/followers","following_url":"https://api.github.com/users/CruGlobal/following{/other_user}","gists_url":"https://api.github.com/users/CruGlobal/gists{/gist_id}","starred_url":"https://api.github.com/users/CruGlobal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CruGlobal/subscriptions","organizations_url":"https://api.github.com/users/CruGlobal/orgs","repos_url":"https://api.github.com/users/CruGlobal/repos","events_url":"https://api.github.com/users/CruGlobal/events{/privacy}","received_events_url":"https://api.github.com/users/CruGlobal/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CruGlobal/angular-cas-auth-api","description":"CAS Authenticated API Angular Module - Manages Authentication with APIs","fork":false,"url":"https://api.github.com/repos/CruGlobal/angular-cas-auth-api","forks_url":"https://api.github.com/repos/CruGlobal/angular-cas-auth-api/forks","keys_url":"https://api.github.com/repos/CruGlobal/angular-cas-auth-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CruGlobal/angular-cas-auth-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CruGlobal/angular-cas-auth-api/teams","hooks_url":"https://api.github.com/repos/CruGlobal/angular-cas-auth-api/hooks","issue_events_url":"https://api.github.com/repos/CruGlobal/angular-cas-auth-api/issues/events{/number}","events_url":"https://api.github.com/repos/CruGlobal/angular-cas-auth-api/events","assignees_url":"https://api.github.com/repos/CruGlobal/angular-cas-auth-api/assignees{/user}","branches_url":"https://api.github.com/repos/CruGlobal/angular-cas-auth-api/branches{/branch}","tags_url":"https://api.github.com/repos/CruGlobal/angular-cas-auth-api/tags","blobs_url":"https://api.github.com/repos/CruGlobal/angular-cas-auth-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CruGlobal/angular-cas-auth-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CruGlobal/angular-cas-auth-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/CruGlobal/angular-cas-auth-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CruGlobal/angular-cas-auth-api/statuses/{sha}","languages_url":"https://api.github.com/repos/CruGlobal/angular-cas-auth-api/languages","stargazers_url":"https://api.github.com/repos/CruGlobal/angular-cas-auth-api/stargazers","contributors_url":"https://api.github.com/repos/CruGlobal/angular-cas-auth-api/contributors","subscribers_url":"https://api.github.com/repos/CruGlobal/angular-cas-auth-api/subscribers","subscription_url":"https://api.github.com/repos/CruGlobal/angular-cas-auth-api/subscription","commits_url":"https://api.github.com/repos/CruGlobal/angular-cas-auth-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/CruGlobal/angular-cas-auth-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/CruGlobal/angular-cas-auth-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/CruGlobal/angular-cas-auth-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/CruGlobal/angular-cas-auth-api/contents/{+path}","compare_url":"https://api.github.com/repos/CruGlobal/angular-cas-auth-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CruGlobal/angular-cas-auth-api/merges","archive_url":"https://api.github.com/repos/CruGlobal/angular-cas-auth-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CruGlobal/angular-cas-auth-api/downloads","issues_url":"https://api.github.com/repos/CruGlobal/angular-cas-auth-api/issues{/number}","pulls_url":"https://api.github.com/repos/CruGlobal/angular-cas-auth-api/pulls{/number}","milestones_url":"https://api.github.com/repos/CruGlobal/angular-cas-auth-api/milestones{/number}","notifications_url":"https://api.github.com/repos/CruGlobal/angular-cas-auth-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CruGlobal/angular-cas-auth-api/labels{/name}","releases_url":"https://api.github.com/repos/CruGlobal/angular-cas-auth-api/releases{/id}","deployments_url":"https://api.github.com/repos/CruGlobal/angular-cas-auth-api/deployments","created_at":"2015-11-03T20:35:26Z","updated_at":"2016-01-21T19:44:22Z","pushed_at":"2016-03-31T22:42:43Z","git_url":"git://github.com/CruGlobal/angular-cas-auth-api.git","ssh_url":"git@github.com:CruGlobal/angular-cas-auth-api.git","clone_url":"https://github.com/CruGlobal/angular-cas-auth-api.git","svn_url":"https://github.com/CruGlobal/angular-cas-auth-api","homepage":null,"size":51,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"staging"}},"base":{"label":"CruGlobal:staging","ref":"staging","sha":"8a2d59803038eae07dafbd97fcae07dd77fd694f","user":{"login":"CruGlobal","id":1785912,"avatar_url":"https://avatars.githubusercontent.com/u/1785912?v=3","gravatar_id":"","url":"https://api.github.com/users/CruGlobal","html_url":"https://github.com/CruGlobal","followers_url":"https://api.github.com/users/CruGlobal/followers","following_url":"https://api.github.com/users/CruGlobal/following{/other_user}","gists_url":"https://api.github.com/users/CruGlobal/gists{/gist_id}","starred_url":"https://api.github.com/users/CruGlobal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CruGlobal/subscriptions","organizations_url":"https://api.github.com/users/CruGlobal/orgs","repos_url":"https://api.github.com/users/CruGlobal/repos","events_url":"https://api.github.com/users/CruGlobal/events{/privacy}","received_events_url":"https://api.github.com/users/CruGlobal/received_events","type":"Organization","site_admin":false},"repo":{"id":45493879,"name":"angular-cas-auth-api","full_name":"CruGlobal/angular-cas-auth-api","owner":{"login":"CruGlobal","id":1785912,"avatar_url":"https://avatars.githubusercontent.com/u/1785912?v=3","gravatar_id":"","url":"https://api.github.com/users/CruGlobal","html_url":"https://github.com/CruGlobal","followers_url":"https://api.github.com/users/CruGlobal/followers","following_url":"https://api.github.com/users/CruGlobal/following{/other_user}","gists_url":"https://api.github.com/users/CruGlobal/gists{/gist_id}","starred_url":"https://api.github.com/users/CruGlobal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CruGlobal/subscriptions","organizations_url":"https://api.github.com/users/CruGlobal/orgs","repos_url":"https://api.github.com/users/CruGlobal/repos","events_url":"https://api.github.com/users/CruGlobal/events{/privacy}","received_events_url":"https://api.github.com/users/CruGlobal/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CruGlobal/angular-cas-auth-api","description":"CAS Authenticated API Angular Module - Manages Authentication with APIs","fork":false,"url":"https://api.github.com/repos/CruGlobal/angular-cas-auth-api","forks_url":"https://api.github.com/repos/CruGlobal/angular-cas-auth-api/forks","keys_url":"https://api.github.com/repos/CruGlobal/angular-cas-auth-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CruGlobal/angular-cas-auth-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CruGlobal/angular-cas-auth-api/teams","hooks_url":"https://api.github.com/repos/CruGlobal/angular-cas-auth-api/hooks","issue_events_url":"https://api.github.com/repos/CruGlobal/angular-cas-auth-api/issues/events{/number}","events_url":"https://api.github.com/repos/CruGlobal/angular-cas-auth-api/events","assignees_url":"https://api.github.com/repos/CruGlobal/angular-cas-auth-api/assignees{/user}","branches_url":"https://api.github.com/repos/CruGlobal/angular-cas-auth-api/branches{/branch}","tags_url":"https://api.github.com/repos/CruGlobal/angular-cas-auth-api/tags","blobs_url":"https://api.github.com/repos/CruGlobal/angular-cas-auth-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CruGlobal/angular-cas-auth-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CruGlobal/angular-cas-auth-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/CruGlobal/angular-cas-auth-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CruGlobal/angular-cas-auth-api/statuses/{sha}","languages_url":"https://api.github.com/repos/CruGlobal/angular-cas-auth-api/languages","stargazers_url":"https://api.github.com/repos/CruGlobal/angular-cas-auth-api/stargazers","contributors_url":"https://api.github.com/repos/CruGlobal/angular-cas-auth-api/contributors","subscribers_url":"https://api.github.com/repos/CruGlobal/angular-cas-auth-api/subscribers","subscription_url":"https://api.github.com/repos/CruGlobal/angular-cas-auth-api/subscription","commits_url":"https://api.github.com/repos/CruGlobal/angular-cas-auth-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/CruGlobal/angular-cas-auth-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/CruGlobal/angular-cas-auth-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/CruGlobal/angular-cas-auth-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/CruGlobal/angular-cas-auth-api/contents/{+path}","compare_url":"https://api.github.com/repos/CruGlobal/angular-cas-auth-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CruGlobal/angular-cas-auth-api/merges","archive_url":"https://api.github.com/repos/CruGlobal/angular-cas-auth-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CruGlobal/angular-cas-auth-api/downloads","issues_url":"https://api.github.com/repos/CruGlobal/angular-cas-auth-api/issues{/number}","pulls_url":"https://api.github.com/repos/CruGlobal/angular-cas-auth-api/pulls{/number}","milestones_url":"https://api.github.com/repos/CruGlobal/angular-cas-auth-api/milestones{/number}","notifications_url":"https://api.github.com/repos/CruGlobal/angular-cas-auth-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CruGlobal/angular-cas-auth-api/labels{/name}","releases_url":"https://api.github.com/repos/CruGlobal/angular-cas-auth-api/releases{/id}","deployments_url":"https://api.github.com/repos/CruGlobal/angular-cas-auth-api/deployments","created_at":"2015-11-03T20:35:26Z","updated_at":"2016-01-21T19:44:22Z","pushed_at":"2016-03-31T22:42:43Z","git_url":"git://github.com/CruGlobal/angular-cas-auth-api.git","ssh_url":"git@github.com:CruGlobal/angular-cas-auth-api.git","clone_url":"https://github.com/CruGlobal/angular-cas-auth-api.git","svn_url":"https://github.com/CruGlobal/angular-cas-auth-api","homepage":null,"size":51,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"staging"}},"_links":{"self":{"href":"https://api.github.com/repos/CruGlobal/angular-cas-auth-api/pulls/1"},"html":{"href":"https://github.com/CruGlobal/angular-cas-auth-api/pull/1"},"issue":{"href":"https://api.github.com/repos/CruGlobal/angular-cas-auth-api/issues/1"},"comments":{"href":"https://api.github.com/repos/CruGlobal/angular-cas-auth-api/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/CruGlobal/angular-cas-auth-api/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/CruGlobal/angular-cas-auth-api/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/CruGlobal/angular-cas-auth-api/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/CruGlobal/angular-cas-auth-api/statuses/4144a0327e10cc78a02e3f95cd3d15278aa5792a"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"ardation","id":802117,"avatar_url":"https://avatars.githubusercontent.com/u/802117?v=3","gravatar_id":"","url":"https://api.github.com/users/ardation","html_url":"https://github.com/ardation","followers_url":"https://api.github.com/users/ardation/followers","following_url":"https://api.github.com/users/ardation/following{/other_user}","gists_url":"https://api.github.com/users/ardation/gists{/gist_id}","starred_url":"https://api.github.com/users/ardation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ardation/subscriptions","organizations_url":"https://api.github.com/users/ardation/orgs","repos_url":"https://api.github.com/users/ardation/repos","events_url":"https://api.github.com/users/ardation/events{/privacy}","received_events_url":"https://api.github.com/users/ardation/received_events","type":"User","site_admin":false},"comments":3,"review_comments":6,"commits":9,"additions":842,"deletions":446,"changed_files":8}}