{"action":"opened","number":48,"pull_request":{"url":"https://api.github.com/repos/brunofarache/liferay-mobile-sdk/pulls/48","id":75865392,"html_url":"https://github.com/brunofarache/liferay-mobile-sdk/pull/48","diff_url":"https://github.com/brunofarache/liferay-mobile-sdk/pull/48.diff","patch_url":"https://github.com/brunofarache/liferay-mobile-sdk/pull/48.patch","issue_url":"https://api.github.com/repos/brunofarache/liferay-mobile-sdk/issues/48","number":48,"state":"open","locked":false,"title":"Cookie authentication","user":{"login":"nhpatt","id":340653,"avatar_url":"https://avatars.githubusercontent.com/u/340653?v=3","gravatar_id":"","url":"https://api.github.com/users/nhpatt","html_url":"https://github.com/nhpatt","followers_url":"https://api.github.com/users/nhpatt/followers","following_url":"https://api.github.com/users/nhpatt/following{/other_user}","gists_url":"https://api.github.com/users/nhpatt/gists{/gist_id}","starred_url":"https://api.github.com/users/nhpatt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nhpatt/subscriptions","organizations_url":"https://api.github.com/users/nhpatt/orgs","repos_url":"https://api.github.com/users/nhpatt/repos","events_url":"https://api.github.com/users/nhpatt/events{/privacy}","received_events_url":"https://api.github.com/users/nhpatt/received_events","type":"User","site_admin":false},"body":"I think this pull belongs here instead of liferay-mobile repo. I copy the description:\r\n\r\nI need two new methods in request to expose follow redirects (to get the auth token for XSS) and media type (to send the login information in the body).\r\n\r\nThe SignIn method is a bit convoluted... we talked about moving that login to the CookieAuthentication class but it isn't easy because of the asynchronous nature of getting the cookie and token.","created_at":"2016-06-30T18:13:19Z","updated_at":"2016-06-30T18:13:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/brunofarache/liferay-mobile-sdk/pulls/48/commits","review_comments_url":"https://api.github.com/repos/brunofarache/liferay-mobile-sdk/pulls/48/comments","review_comment_url":"https://api.github.com/repos/brunofarache/liferay-mobile-sdk/pulls/comments{/number}","comments_url":"https://api.github.com/repos/brunofarache/liferay-mobile-sdk/issues/48/comments","statuses_url":"https://api.github.com/repos/brunofarache/liferay-mobile-sdk/statuses/6f13f5d1a1c91a3a68c26f274715aadf16967122","head":{"label":"nhpatt:cookie_authentication","ref":"cookie_authentication","sha":"6f13f5d1a1c91a3a68c26f274715aadf16967122","user":{"login":"nhpatt","id":340653,"avatar_url":"https://avatars.githubusercontent.com/u/340653?v=3","gravatar_id":"","url":"https://api.github.com/users/nhpatt","html_url":"https://github.com/nhpatt","followers_url":"https://api.github.com/users/nhpatt/followers","following_url":"https://api.github.com/users/nhpatt/following{/other_user}","gists_url":"https://api.github.com/users/nhpatt/gists{/gist_id}","starred_url":"https://api.github.com/users/nhpatt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nhpatt/subscriptions","organizations_url":"https://api.github.com/users/nhpatt/orgs","repos_url":"https://api.github.com/users/nhpatt/repos","events_url":"https://api.github.com/users/nhpatt/events{/privacy}","received_events_url":"https://api.github.com/users/nhpatt/received_events","type":"User","site_admin":false},"repo":{"id":37450905,"name":"liferay-mobile-sdk","full_name":"nhpatt/liferay-mobile-sdk","owner":{"login":"nhpatt","id":340653,"avatar_url":"https://avatars.githubusercontent.com/u/340653?v=3","gravatar_id":"","url":"https://api.github.com/users/nhpatt","html_url":"https://github.com/nhpatt","followers_url":"https://api.github.com/users/nhpatt/followers","following_url":"https://api.github.com/users/nhpatt/following{/other_user}","gists_url":"https://api.github.com/users/nhpatt/gists{/gist_id}","starred_url":"https://api.github.com/users/nhpatt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nhpatt/subscriptions","organizations_url":"https://api.github.com/users/nhpatt/orgs","repos_url":"https://api.github.com/users/nhpatt/repos","events_url":"https://api.github.com/users/nhpatt/events{/privacy}","received_events_url":"https://api.github.com/users/nhpatt/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nhpatt/liferay-mobile-sdk","description":"","fork":true,"url":"https://api.github.com/repos/nhpatt/liferay-mobile-sdk","forks_url":"https://api.github.com/repos/nhpatt/liferay-mobile-sdk/forks","keys_url":"https://api.github.com/repos/nhpatt/liferay-mobile-sdk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nhpatt/liferay-mobile-sdk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nhpatt/liferay-mobile-sdk/teams","hooks_url":"https://api.github.com/repos/nhpatt/liferay-mobile-sdk/hooks","issue_events_url":"https://api.github.com/repos/nhpatt/liferay-mobile-sdk/issues/events{/number}","events_url":"https://api.github.com/repos/nhpatt/liferay-mobile-sdk/events","assignees_url":"https://api.github.com/repos/nhpatt/liferay-mobile-sdk/assignees{/user}","branches_url":"https://api.github.com/repos/nhpatt/liferay-mobile-sdk/branches{/branch}","tags_url":"https://api.github.com/repos/nhpatt/liferay-mobile-sdk/tags","blobs_url":"https://api.github.com/repos/nhpatt/liferay-mobile-sdk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nhpatt/liferay-mobile-sdk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nhpatt/liferay-mobile-sdk/git/refs{/sha}","trees_url":"https://api.github.com/repos/nhpatt/liferay-mobile-sdk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nhpatt/liferay-mobile-sdk/statuses/{sha}","languages_url":"https://api.github.com/repos/nhpatt/liferay-mobile-sdk/languages","stargazers_url":"https://api.github.com/repos/nhpatt/liferay-mobile-sdk/stargazers","contributors_url":"https://api.github.com/repos/nhpatt/liferay-mobile-sdk/contributors","subscribers_url":"https://api.github.com/repos/nhpatt/liferay-mobile-sdk/subscribers","subscription_url":"https://api.github.com/repos/nhpatt/liferay-mobile-sdk/subscription","commits_url":"https://api.github.com/repos/nhpatt/liferay-mobile-sdk/commits{/sha}","git_commits_url":"https://api.github.com/repos/nhpatt/liferay-mobile-sdk/git/commits{/sha}","comments_url":"https://api.github.com/repos/nhpatt/liferay-mobile-sdk/comments{/number}","issue_comment_url":"https://api.github.com/repos/nhpatt/liferay-mobile-sdk/issues/comments{/number}","contents_url":"https://api.github.com/repos/nhpatt/liferay-mobile-sdk/contents/{+path}","compare_url":"https://api.github.com/repos/nhpatt/liferay-mobile-sdk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nhpatt/liferay-mobile-sdk/merges","archive_url":"https://api.github.com/repos/nhpatt/liferay-mobile-sdk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nhpatt/liferay-mobile-sdk/downloads","issues_url":"https://api.github.com/repos/nhpatt/liferay-mobile-sdk/issues{/number}","pulls_url":"https://api.github.com/repos/nhpatt/liferay-mobile-sdk/pulls{/number}","milestones_url":"https://api.github.com/repos/nhpatt/liferay-mobile-sdk/milestones{/number}","notifications_url":"https://api.github.com/repos/nhpatt/liferay-mobile-sdk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nhpatt/liferay-mobile-sdk/labels{/name}","releases_url":"https://api.github.com/repos/nhpatt/liferay-mobile-sdk/releases{/id}","deployments_url":"https://api.github.com/repos/nhpatt/liferay-mobile-sdk/deployments","created_at":"2015-06-15T07:45:18Z","updated_at":"2015-06-15T07:45:19Z","pushed_at":"2016-06-14T09:44:03Z","git_url":"git://github.com/nhpatt/liferay-mobile-sdk.git","ssh_url":"git@github.com:nhpatt/liferay-mobile-sdk.git","clone_url":"https://github.com/nhpatt/liferay-mobile-sdk.git","svn_url":"https://github.com/nhpatt/liferay-mobile-sdk","homepage":null,"size":21627,"stargazers_count":0,"watchers_count":0,"language":"Objective-C","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":"master"}},"base":{"label":"brunofarache:master","ref":"master","sha":"5860de34917c6ae091503544e637ac3df3bed48e","user":{"login":"brunofarache","id":275916,"avatar_url":"https://avatars.githubusercontent.com/u/275916?v=3","gravatar_id":"","url":"https://api.github.com/users/brunofarache","html_url":"https://github.com/brunofarache","followers_url":"https://api.github.com/users/brunofarache/followers","following_url":"https://api.github.com/users/brunofarache/following{/other_user}","gists_url":"https://api.github.com/users/brunofarache/gists{/gist_id}","starred_url":"https://api.github.com/users/brunofarache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brunofarache/subscriptions","organizations_url":"https://api.github.com/users/brunofarache/orgs","repos_url":"https://api.github.com/users/brunofarache/repos","events_url":"https://api.github.com/users/brunofarache/events{/privacy}","received_events_url":"https://api.github.com/users/brunofarache/received_events","type":"User","site_admin":false},"repo":{"id":17868658,"name":"liferay-mobile-sdk","full_name":"brunofarache/liferay-mobile-sdk","owner":{"login":"brunofarache","id":275916,"avatar_url":"https://avatars.githubusercontent.com/u/275916?v=3","gravatar_id":"","url":"https://api.github.com/users/brunofarache","html_url":"https://github.com/brunofarache","followers_url":"https://api.github.com/users/brunofarache/followers","following_url":"https://api.github.com/users/brunofarache/following{/other_user}","gists_url":"https://api.github.com/users/brunofarache/gists{/gist_id}","starred_url":"https://api.github.com/users/brunofarache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brunofarache/subscriptions","organizations_url":"https://api.github.com/users/brunofarache/orgs","repos_url":"https://api.github.com/users/brunofarache/repos","events_url":"https://api.github.com/users/brunofarache/events{/privacy}","received_events_url":"https://api.github.com/users/brunofarache/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/brunofarache/liferay-mobile-sdk","description":"","fork":true,"url":"https://api.github.com/repos/brunofarache/liferay-mobile-sdk","forks_url":"https://api.github.com/repos/brunofarache/liferay-mobile-sdk/forks","keys_url":"https://api.github.com/repos/brunofarache/liferay-mobile-sdk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/brunofarache/liferay-mobile-sdk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/brunofarache/liferay-mobile-sdk/teams","hooks_url":"https://api.github.com/repos/brunofarache/liferay-mobile-sdk/hooks","issue_events_url":"https://api.github.com/repos/brunofarache/liferay-mobile-sdk/issues/events{/number}","events_url":"https://api.github.com/repos/brunofarache/liferay-mobile-sdk/events","assignees_url":"https://api.github.com/repos/brunofarache/liferay-mobile-sdk/assignees{/user}","branches_url":"https://api.github.com/repos/brunofarache/liferay-mobile-sdk/branches{/branch}","tags_url":"https://api.github.com/repos/brunofarache/liferay-mobile-sdk/tags","blobs_url":"https://api.github.com/repos/brunofarache/liferay-mobile-sdk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/brunofarache/liferay-mobile-sdk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/brunofarache/liferay-mobile-sdk/git/refs{/sha}","trees_url":"https://api.github.com/repos/brunofarache/liferay-mobile-sdk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/brunofarache/liferay-mobile-sdk/statuses/{sha}","languages_url":"https://api.github.com/repos/brunofarache/liferay-mobile-sdk/languages","stargazers_url":"https://api.github.com/repos/brunofarache/liferay-mobile-sdk/stargazers","contributors_url":"https://api.github.com/repos/brunofarache/liferay-mobile-sdk/contributors","subscribers_url":"https://api.github.com/repos/brunofarache/liferay-mobile-sdk/subscribers","subscription_url":"https://api.github.com/repos/brunofarache/liferay-mobile-sdk/subscription","commits_url":"https://api.github.com/repos/brunofarache/liferay-mobile-sdk/commits{/sha}","git_commits_url":"https://api.github.com/repos/brunofarache/liferay-mobile-sdk/git/commits{/sha}","comments_url":"https://api.github.com/repos/brunofarache/liferay-mobile-sdk/comments{/number}","issue_comment_url":"https://api.github.com/repos/brunofarache/liferay-mobile-sdk/issues/comments{/number}","contents_url":"https://api.github.com/repos/brunofarache/liferay-mobile-sdk/contents/{+path}","compare_url":"https://api.github.com/repos/brunofarache/liferay-mobile-sdk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/brunofarache/liferay-mobile-sdk/merges","archive_url":"https://api.github.com/repos/brunofarache/liferay-mobile-sdk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/brunofarache/liferay-mobile-sdk/downloads","issues_url":"https://api.github.com/repos/brunofarache/liferay-mobile-sdk/issues{/number}","pulls_url":"https://api.github.com/repos/brunofarache/liferay-mobile-sdk/pulls{/number}","milestones_url":"https://api.github.com/repos/brunofarache/liferay-mobile-sdk/milestones{/number}","notifications_url":"https://api.github.com/repos/brunofarache/liferay-mobile-sdk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/brunofarache/liferay-mobile-sdk/labels{/name}","releases_url":"https://api.github.com/repos/brunofarache/liferay-mobile-sdk/releases{/id}","deployments_url":"https://api.github.com/repos/brunofarache/liferay-mobile-sdk/deployments","created_at":"2014-03-18T14:24:50Z","updated_at":"2016-06-23T04:04:46Z","pushed_at":"2016-06-30T18:13:19Z","git_url":"git://github.com/brunofarache/liferay-mobile-sdk.git","ssh_url":"git@github.com:brunofarache/liferay-mobile-sdk.git","clone_url":"https://github.com/brunofarache/liferay-mobile-sdk.git","svn_url":"https://github.com/brunofarache/liferay-mobile-sdk","homepage":null,"size":22448,"stargazers_count":2,"watchers_count":2,"language":"Objective-C","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/brunofarache/liferay-mobile-sdk/pulls/48"},"html":{"href":"https://github.com/brunofarache/liferay-mobile-sdk/pull/48"},"issue":{"href":"https://api.github.com/repos/brunofarache/liferay-mobile-sdk/issues/48"},"comments":{"href":"https://api.github.com/repos/brunofarache/liferay-mobile-sdk/issues/48/comments"},"review_comments":{"href":"https://api.github.com/repos/brunofarache/liferay-mobile-sdk/pulls/48/comments"},"review_comment":{"href":"https://api.github.com/repos/brunofarache/liferay-mobile-sdk/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/brunofarache/liferay-mobile-sdk/pulls/48/commits"},"statuses":{"href":"https://api.github.com/repos/brunofarache/liferay-mobile-sdk/statuses/6f13f5d1a1c91a3a68c26f274715aadf16967122"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":4,"additions":214,"deletions":8,"changed_files":4}}
{"actor":{"display_login":"nhpatt"}}