{"action":"created","comment":{"url":"https://api.github.com/repos/Sage-Bionetworks/BridgeAppSDK/pulls/comments/120183684","pull_request_review_id":42125545,"id":120183684,"diff_hunk":"@@ -517,7 +517,14 @@ public extension SBAUserWrapper {\n         }\n     }\n     \n-    fileprivate func updateFromUserSession(_ response: SBAUserSessionInfoWrapper) {\n+    /**\n+     Call this any time the user session info gets updated.\n+     */\n+    public func updateFromUserSessionInfo(_ info: SBBUserSessionInfo) {\n+        self.updateFromUserSession(info)\n+    }\n+    \n+    private func updateFromUserSession(_ response: SBAUserSessionInfoWrapper) {","path":"BridgeAppSDK/SBAUserWrapper+Bridge.swift","position":12,"original_position":12,"commit_id":"63a4180a1fedaaafa33fa52164da05f314950100","original_commit_id":"63a4180a1fedaaafa33fa52164da05f314950100","user":{"login":"syoung-smallwisdom","id":5649217,"avatar_url":"https://avatars2.githubusercontent.com/u/5649217?v=3","gravatar_id":"","url":"https://api.github.com/users/syoung-smallwisdom","html_url":"https://github.com/syoung-smallwisdom","followers_url":"https://api.github.com/users/syoung-smallwisdom/followers","following_url":"https://api.github.com/users/syoung-smallwisdom/following{/other_user}","gists_url":"https://api.github.com/users/syoung-smallwisdom/gists{/gist_id}","starred_url":"https://api.github.com/users/syoung-smallwisdom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/syoung-smallwisdom/subscriptions","organizations_url":"https://api.github.com/users/syoung-smallwisdom/orgs","repos_url":"https://api.github.com/users/syoung-smallwisdom/repos","events_url":"https://api.github.com/users/syoung-smallwisdom/events{/privacy}","received_events_url":"https://api.github.com/users/syoung-smallwisdom/received_events","type":"User","site_admin":false},"body":"Ah, right. Why do either need to be public? What's the reason for an app to call this method?","created_at":"2017-06-05T19:00:07Z","updated_at":"2017-06-05T19:00:07Z","html_url":"https://github.com/Sage-Bionetworks/BridgeAppSDK/pull/244#discussion_r120183684","pull_request_url":"https://api.github.com/repos/Sage-Bionetworks/BridgeAppSDK/pulls/244","_links":{"self":{"href":"https://api.github.com/repos/Sage-Bionetworks/BridgeAppSDK/pulls/comments/120183684"},"html":{"href":"https://github.com/Sage-Bionetworks/BridgeAppSDK/pull/244#discussion_r120183684"},"pull_request":{"href":"https://api.github.com/repos/Sage-Bionetworks/BridgeAppSDK/pulls/244"}}},"pull_request":{"url":"https://api.github.com/repos/Sage-Bionetworks/BridgeAppSDK/pulls/244","id":123821478,"html_url":"https://github.com/Sage-Bionetworks/BridgeAppSDK/pull/244","diff_url":"https://github.com/Sage-Bionetworks/BridgeAppSDK/pull/244.diff","patch_url":"https://github.com/Sage-Bionetworks/BridgeAppSDK/pull/244.patch","issue_url":"https://api.github.com/repos/Sage-Bionetworks/BridgeAppSDK/issues/244","number":244,"state":"open","locked":false,"title":"Update user info from auth delegate callback","user":{"login":"Erin-Mounts","id":952606,"avatar_url":"https://avatars2.githubusercontent.com/u/952606?v=3","gravatar_id":"","url":"https://api.github.com/users/Erin-Mounts","html_url":"https://github.com/Erin-Mounts","followers_url":"https://api.github.com/users/Erin-Mounts/followers","following_url":"https://api.github.com/users/Erin-Mounts/following{/other_user}","gists_url":"https://api.github.com/users/Erin-Mounts/gists{/gist_id}","starred_url":"https://api.github.com/users/Erin-Mounts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Erin-Mounts/subscriptions","organizations_url":"https://api.github.com/users/Erin-Mounts/orgs","repos_url":"https://api.github.com/users/Erin-Mounts/repos","events_url":"https://api.github.com/users/Erin-Mounts/events{/privacy}","received_events_url":"https://api.github.com/users/Erin-Mounts/received_events","type":"User","site_admin":false},"body":"requires https://github.com/Sage-Bionetworks/Bridge-iOS-SDK/pull/155","created_at":"2017-06-03T00:34:08Z","updated_at":"2017-06-05T19:00:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d1bb08c16855892a3424ca104fbe865aa3897646","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/Sage-Bionetworks/BridgeAppSDK/pulls/244/commits","review_comments_url":"https://api.github.com/repos/Sage-Bionetworks/BridgeAppSDK/pulls/244/comments","review_comment_url":"https://api.github.com/repos/Sage-Bionetworks/BridgeAppSDK/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Sage-Bionetworks/BridgeAppSDK/issues/244/comments","statuses_url":"https://api.github.com/repos/Sage-Bionetworks/BridgeAppSDK/statuses/63a4180a1fedaaafa33fa52164da05f314950100","head":{"label":"Erin-Mounts:update-user-from-auth-delegate","ref":"update-user-from-auth-delegate","sha":"63a4180a1fedaaafa33fa52164da05f314950100","user":{"login":"Erin-Mounts","id":952606,"avatar_url":"https://avatars2.githubusercontent.com/u/952606?v=3","gravatar_id":"","url":"https://api.github.com/users/Erin-Mounts","html_url":"https://github.com/Erin-Mounts","followers_url":"https://api.github.com/users/Erin-Mounts/followers","following_url":"https://api.github.com/users/Erin-Mounts/following{/other_user}","gists_url":"https://api.github.com/users/Erin-Mounts/gists{/gist_id}","starred_url":"https://api.github.com/users/Erin-Mounts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Erin-Mounts/subscriptions","organizations_url":"https://api.github.com/users/Erin-Mounts/orgs","repos_url":"https://api.github.com/users/Erin-Mounts/repos","events_url":"https://api.github.com/users/Erin-Mounts/events{/privacy}","received_events_url":"https://api.github.com/users/Erin-Mounts/received_events","type":"User","site_admin":false},"repo":{"id":52571243,"name":"BridgeAppSDK","full_name":"Erin-Mounts/BridgeAppSDK","owner":{"login":"Erin-Mounts","id":952606,"avatar_url":"https://avatars2.githubusercontent.com/u/952606?v=3","gravatar_id":"","url":"https://api.github.com/users/Erin-Mounts","html_url":"https://github.com/Erin-Mounts","followers_url":"https://api.github.com/users/Erin-Mounts/followers","following_url":"https://api.github.com/users/Erin-Mounts/following{/other_user}","gists_url":"https://api.github.com/users/Erin-Mounts/gists{/gist_id}","starred_url":"https://api.github.com/users/Erin-Mounts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Erin-Mounts/subscriptions","organizations_url":"https://api.github.com/users/Erin-Mounts/orgs","repos_url":"https://api.github.com/users/Erin-Mounts/repos","events_url":"https://api.github.com/users/Erin-Mounts/events{/privacy}","received_events_url":"https://api.github.com/users/Erin-Mounts/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Erin-Mounts/BridgeAppSDK","description":"SDK for creating ResearchKit-based Bridge apps for iOS","fork":true,"url":"https://api.github.com/repos/Erin-Mounts/BridgeAppSDK","forks_url":"https://api.github.com/repos/Erin-Mounts/BridgeAppSDK/forks","keys_url":"https://api.github.com/repos/Erin-Mounts/BridgeAppSDK/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Erin-Mounts/BridgeAppSDK/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Erin-Mounts/BridgeAppSDK/teams","hooks_url":"https://api.github.com/repos/Erin-Mounts/BridgeAppSDK/hooks","issue_events_url":"https://api.github.com/repos/Erin-Mounts/BridgeAppSDK/issues/events{/number}","events_url":"https://api.github.com/repos/Erin-Mounts/BridgeAppSDK/events","assignees_url":"https://api.github.com/repos/Erin-Mounts/BridgeAppSDK/assignees{/user}","branches_url":"https://api.github.com/repos/Erin-Mounts/BridgeAppSDK/branches{/branch}","tags_url":"https://api.github.com/repos/Erin-Mounts/BridgeAppSDK/tags","blobs_url":"https://api.github.com/repos/Erin-Mounts/BridgeAppSDK/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Erin-Mounts/BridgeAppSDK/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Erin-Mounts/BridgeAppSDK/git/refs{/sha}","trees_url":"https://api.github.com/repos/Erin-Mounts/BridgeAppSDK/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Erin-Mounts/BridgeAppSDK/statuses/{sha}","languages_url":"https://api.github.com/repos/Erin-Mounts/BridgeAppSDK/languages","stargazers_url":"https://api.github.com/repos/Erin-Mounts/BridgeAppSDK/stargazers","contributors_url":"https://api.github.com/repos/Erin-Mounts/BridgeAppSDK/contributors","subscribers_url":"https://api.github.com/repos/Erin-Mounts/BridgeAppSDK/subscribers","subscription_url":"https://api.github.com/repos/Erin-Mounts/BridgeAppSDK/subscription","commits_url":"https://api.github.com/repos/Erin-Mounts/BridgeAppSDK/commits{/sha}","git_commits_url":"https://api.github.com/repos/Erin-Mounts/BridgeAppSDK/git/commits{/sha}","comments_url":"https://api.github.com/repos/Erin-Mounts/BridgeAppSDK/comments{/number}","issue_comment_url":"https://api.github.com/repos/Erin-Mounts/BridgeAppSDK/issues/comments{/number}","contents_url":"https://api.github.com/repos/Erin-Mounts/BridgeAppSDK/contents/{+path}","compare_url":"https://api.github.com/repos/Erin-Mounts/BridgeAppSDK/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Erin-Mounts/BridgeAppSDK/merges","archive_url":"https://api.github.com/repos/Erin-Mounts/BridgeAppSDK/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Erin-Mounts/BridgeAppSDK/downloads","issues_url":"https://api.github.com/repos/Erin-Mounts/BridgeAppSDK/issues{/number}","pulls_url":"https://api.github.com/repos/Erin-Mounts/BridgeAppSDK/pulls{/number}","milestones_url":"https://api.github.com/repos/Erin-Mounts/BridgeAppSDK/milestones{/number}","notifications_url":"https://api.github.com/repos/Erin-Mounts/BridgeAppSDK/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Erin-Mounts/BridgeAppSDK/labels{/name}","releases_url":"https://api.github.com/repos/Erin-Mounts/BridgeAppSDK/releases{/id}","deployments_url":"https://api.github.com/repos/Erin-Mounts/BridgeAppSDK/deployments","created_at":"2016-02-26T02:03:14Z","updated_at":"2016-08-21T21:05:18Z","pushed_at":"2017-06-03T00:36:26Z","git_url":"git://github.com/Erin-Mounts/BridgeAppSDK.git","ssh_url":"git@github.com:Erin-Mounts/BridgeAppSDK.git","clone_url":"https://github.com/Erin-Mounts/BridgeAppSDK.git","svn_url":"https://github.com/Erin-Mounts/BridgeAppSDK","homepage":null,"size":7265,"stargazers_count":1,"watchers_count":1,"language":"Swift","has_issues":false,"has_projects":true,"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":1,"default_branch":"master"}},"base":{"label":"Sage-Bionetworks:master","ref":"master","sha":"0c83708220a8ef1b3682642cad3450faefdfc561","user":{"login":"Sage-Bionetworks","id":1250897,"avatar_url":"https://avatars1.githubusercontent.com/u/1250897?v=3","gravatar_id":"","url":"https://api.github.com/users/Sage-Bionetworks","html_url":"https://github.com/Sage-Bionetworks","followers_url":"https://api.github.com/users/Sage-Bionetworks/followers","following_url":"https://api.github.com/users/Sage-Bionetworks/following{/other_user}","gists_url":"https://api.github.com/users/Sage-Bionetworks/gists{/gist_id}","starred_url":"https://api.github.com/users/Sage-Bionetworks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sage-Bionetworks/subscriptions","organizations_url":"https://api.github.com/users/Sage-Bionetworks/orgs","repos_url":"https://api.github.com/users/Sage-Bionetworks/repos","events_url":"https://api.github.com/users/Sage-Bionetworks/events{/privacy}","received_events_url":"https://api.github.com/users/Sage-Bionetworks/received_events","type":"Organization","site_admin":false},"repo":{"id":51097924,"name":"BridgeAppSDK","full_name":"Sage-Bionetworks/BridgeAppSDK","owner":{"login":"Sage-Bionetworks","id":1250897,"avatar_url":"https://avatars1.githubusercontent.com/u/1250897?v=3","gravatar_id":"","url":"https://api.github.com/users/Sage-Bionetworks","html_url":"https://github.com/Sage-Bionetworks","followers_url":"https://api.github.com/users/Sage-Bionetworks/followers","following_url":"https://api.github.com/users/Sage-Bionetworks/following{/other_user}","gists_url":"https://api.github.com/users/Sage-Bionetworks/gists{/gist_id}","starred_url":"https://api.github.com/users/Sage-Bionetworks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sage-Bionetworks/subscriptions","organizations_url":"https://api.github.com/users/Sage-Bionetworks/orgs","repos_url":"https://api.github.com/users/Sage-Bionetworks/repos","events_url":"https://api.github.com/users/Sage-Bionetworks/events{/privacy}","received_events_url":"https://api.github.com/users/Sage-Bionetworks/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Sage-Bionetworks/BridgeAppSDK","description":"SDK for creating ResearchKit-based Bridge apps for iOS","fork":false,"url":"https://api.github.com/repos/Sage-Bionetworks/BridgeAppSDK","forks_url":"https://api.github.com/repos/Sage-Bionetworks/BridgeAppSDK/forks","keys_url":"https://api.github.com/repos/Sage-Bionetworks/BridgeAppSDK/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Sage-Bionetworks/BridgeAppSDK/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Sage-Bionetworks/BridgeAppSDK/teams","hooks_url":"https://api.github.com/repos/Sage-Bionetworks/BridgeAppSDK/hooks","issue_events_url":"https://api.github.com/repos/Sage-Bionetworks/BridgeAppSDK/issues/events{/number}","events_url":"https://api.github.com/repos/Sage-Bionetworks/BridgeAppSDK/events","assignees_url":"https://api.github.com/repos/Sage-Bionetworks/BridgeAppSDK/assignees{/user}","branches_url":"https://api.github.com/repos/Sage-Bionetworks/BridgeAppSDK/branches{/branch}","tags_url":"https://api.github.com/repos/Sage-Bionetworks/BridgeAppSDK/tags","blobs_url":"https://api.github.com/repos/Sage-Bionetworks/BridgeAppSDK/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Sage-Bionetworks/BridgeAppSDK/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Sage-Bionetworks/BridgeAppSDK/git/refs{/sha}","trees_url":"https://api.github.com/repos/Sage-Bionetworks/BridgeAppSDK/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Sage-Bionetworks/BridgeAppSDK/statuses/{sha}","languages_url":"https://api.github.com/repos/Sage-Bionetworks/BridgeAppSDK/languages","stargazers_url":"https://api.github.com/repos/Sage-Bionetworks/BridgeAppSDK/stargazers","contributors_url":"https://api.github.com/repos/Sage-Bionetworks/BridgeAppSDK/contributors","subscribers_url":"https://api.github.com/repos/Sage-Bionetworks/BridgeAppSDK/subscribers","subscription_url":"https://api.github.com/repos/Sage-Bionetworks/BridgeAppSDK/subscription","commits_url":"https://api.github.com/repos/Sage-Bionetworks/BridgeAppSDK/commits{/sha}","git_commits_url":"https://api.github.com/repos/Sage-Bionetworks/BridgeAppSDK/git/commits{/sha}","comments_url":"https://api.github.com/repos/Sage-Bionetworks/BridgeAppSDK/comments{/number}","issue_comment_url":"https://api.github.com/repos/Sage-Bionetworks/BridgeAppSDK/issues/comments{/number}","contents_url":"https://api.github.com/repos/Sage-Bionetworks/BridgeAppSDK/contents/{+path}","compare_url":"https://api.github.com/repos/Sage-Bionetworks/BridgeAppSDK/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Sage-Bionetworks/BridgeAppSDK/merges","archive_url":"https://api.github.com/repos/Sage-Bionetworks/BridgeAppSDK/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Sage-Bionetworks/BridgeAppSDK/downloads","issues_url":"https://api.github.com/repos/Sage-Bionetworks/BridgeAppSDK/issues{/number}","pulls_url":"https://api.github.com/repos/Sage-Bionetworks/BridgeAppSDK/pulls{/number}","milestones_url":"https://api.github.com/repos/Sage-Bionetworks/BridgeAppSDK/milestones{/number}","notifications_url":"https://api.github.com/repos/Sage-Bionetworks/BridgeAppSDK/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Sage-Bionetworks/BridgeAppSDK/labels{/name}","releases_url":"https://api.github.com/repos/Sage-Bionetworks/BridgeAppSDK/releases{/id}","deployments_url":"https://api.github.com/repos/Sage-Bionetworks/BridgeAppSDK/deployments","created_at":"2016-02-04T18:59:59Z","updated_at":"2017-03-07T17:03:35Z","pushed_at":"2017-06-03T00:37:35Z","git_url":"git://github.com/Sage-Bionetworks/BridgeAppSDK.git","ssh_url":"git@github.com:Sage-Bionetworks/BridgeAppSDK.git","clone_url":"https://github.com/Sage-Bionetworks/BridgeAppSDK.git","svn_url":"https://github.com/Sage-Bionetworks/BridgeAppSDK","homepage":null,"size":7286,"stargazers_count":3,"watchers_count":3,"language":"Swift","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":13,"mirror_url":null,"open_issues_count":7,"forks":13,"open_issues":7,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Sage-Bionetworks/BridgeAppSDK/pulls/244"},"html":{"href":"https://github.com/Sage-Bionetworks/BridgeAppSDK/pull/244"},"issue":{"href":"https://api.github.com/repos/Sage-Bionetworks/BridgeAppSDK/issues/244"},"comments":{"href":"https://api.github.com/repos/Sage-Bionetworks/BridgeAppSDK/issues/244/comments"},"review_comments":{"href":"https://api.github.com/repos/Sage-Bionetworks/BridgeAppSDK/pulls/244/comments"},"review_comment":{"href":"https://api.github.com/repos/Sage-Bionetworks/BridgeAppSDK/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Sage-Bionetworks/BridgeAppSDK/pulls/244/commits"},"statuses":{"href":"https://api.github.com/repos/Sage-Bionetworks/BridgeAppSDK/statuses/63a4180a1fedaaafa33fa52164da05f314950100"}}}}
{"actor":{"display_login":"syoung-smallwisdom"}}