{"action":"created","comment":{"url":"https://api.github.com/repos/Sage-Bionetworks/Bridge-iOS-SDK/pulls/comments/61374629","id":61374629,"diff_hunk":"@@ -104,13 +104,19 @@ extern  NSString * _Nonnull gSBBAppStudy;\n  *\n  *  @return The username, or nil.\n  */\n-- (nullable NSString *)usernameForAuthManager:(nullable id<SBBAuthManagerProtocol>)authManager;\n+- (nullable NSString *)emailForAuthManager:(nullable id<SBBAuthManagerProtocol>)authManager;\n+\n+/*!\n+ * For backward compatibility only. Implement emailForAuthManager: instead, which will always be called by the SDK in preference to this. \n+ */\n+- (nullable NSString *)usernameForAuthManager:(nullable id<SBBAuthManagerProtocol>)authManager __deprecated;","path":"BridgeSDK/BridgeAPI/SBBAuthManager.h","position":31,"original_position":31,"commit_id":"24951efcde4c04be5d9f25a83ac22715551ba6d1","original_commit_id":"24951efcde4c04be5d9f25a83ac22715551ba6d1","user":{"login":"syoung-smallwisdom","id":5649217,"avatar_url":"https://avatars.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":"```` \r\n@Deprecated\r\n */\r\n- (nullable NSString *)usernameForAuthManager:(nullable id<SBBAuthManagerProtocol>)authManager  __attribute__((deprecated(\"Please use emailForAuthManager: instead.\")));\r\n````","created_at":"2016-04-28T05:16:44Z","updated_at":"2016-04-28T05:16:44Z","html_url":"https://github.com/Sage-Bionetworks/Bridge-iOS-SDK/pull/64#discussion_r61374629","pull_request_url":"https://api.github.com/repos/Sage-Bionetworks/Bridge-iOS-SDK/pulls/64","_links":{"self":{"href":"https://api.github.com/repos/Sage-Bionetworks/Bridge-iOS-SDK/pulls/comments/61374629"},"html":{"href":"https://github.com/Sage-Bionetworks/Bridge-iOS-SDK/pull/64#discussion_r61374629"},"pull_request":{"href":"https://api.github.com/repos/Sage-Bionetworks/Bridge-iOS-SDK/pulls/64"}}},"pull_request":{"url":"https://api.github.com/repos/Sage-Bionetworks/Bridge-iOS-SDK/pulls/64","id":68148756,"html_url":"https://github.com/Sage-Bionetworks/Bridge-iOS-SDK/pull/64","diff_url":"https://github.com/Sage-Bionetworks/Bridge-iOS-SDK/pull/64.diff","patch_url":"https://github.com/Sage-Bionetworks/Bridge-iOS-SDK/pull/64.patch","issue_url":"https://api.github.com/repos/Sage-Bionetworks/Bridge-iOS-SDK/issues/64","number":64,"state":"open","locked":false,"title":"Refactor username->email","user":{"login":"Erin-Mounts","id":952606,"avatar_url":"https://avatars.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":"to reflect current Bridge API usage","created_at":"2016-04-28T00:55:00Z","updated_at":"2016-04-28T05:16:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d8600e15d19135b891c5ca28db08c0a7cdd5e8cf","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Sage-Bionetworks/Bridge-iOS-SDK/pulls/64/commits","review_comments_url":"https://api.github.com/repos/Sage-Bionetworks/Bridge-iOS-SDK/pulls/64/comments","review_comment_url":"https://api.github.com/repos/Sage-Bionetworks/Bridge-iOS-SDK/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Sage-Bionetworks/Bridge-iOS-SDK/issues/64/comments","statuses_url":"https://api.github.com/repos/Sage-Bionetworks/Bridge-iOS-SDK/statuses/24951efcde4c04be5d9f25a83ac22715551ba6d1","head":{"label":"Erin-Mounts:username->email-refactor","ref":"username->email-refactor","sha":"24951efcde4c04be5d9f25a83ac22715551ba6d1","user":{"login":"Erin-Mounts","id":952606,"avatar_url":"https://avatars.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":34019980,"name":"Bridge-iOS-SDK","full_name":"Erin-Mounts/Bridge-iOS-SDK","owner":{"login":"Erin-Mounts","id":952606,"avatar_url":"https://avatars.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/Bridge-iOS-SDK","description":"","fork":true,"url":"https://api.github.com/repos/Erin-Mounts/Bridge-iOS-SDK","forks_url":"https://api.github.com/repos/Erin-Mounts/Bridge-iOS-SDK/forks","keys_url":"https://api.github.com/repos/Erin-Mounts/Bridge-iOS-SDK/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Erin-Mounts/Bridge-iOS-SDK/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Erin-Mounts/Bridge-iOS-SDK/teams","hooks_url":"https://api.github.com/repos/Erin-Mounts/Bridge-iOS-SDK/hooks","issue_events_url":"https://api.github.com/repos/Erin-Mounts/Bridge-iOS-SDK/issues/events{/number}","events_url":"https://api.github.com/repos/Erin-Mounts/Bridge-iOS-SDK/events","assignees_url":"https://api.github.com/repos/Erin-Mounts/Bridge-iOS-SDK/assignees{/user}","branches_url":"https://api.github.com/repos/Erin-Mounts/Bridge-iOS-SDK/branches{/branch}","tags_url":"https://api.github.com/repos/Erin-Mounts/Bridge-iOS-SDK/tags","blobs_url":"https://api.github.com/repos/Erin-Mounts/Bridge-iOS-SDK/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Erin-Mounts/Bridge-iOS-SDK/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Erin-Mounts/Bridge-iOS-SDK/git/refs{/sha}","trees_url":"https://api.github.com/repos/Erin-Mounts/Bridge-iOS-SDK/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Erin-Mounts/Bridge-iOS-SDK/statuses/{sha}","languages_url":"https://api.github.com/repos/Erin-Mounts/Bridge-iOS-SDK/languages","stargazers_url":"https://api.github.com/repos/Erin-Mounts/Bridge-iOS-SDK/stargazers","contributors_url":"https://api.github.com/repos/Erin-Mounts/Bridge-iOS-SDK/contributors","subscribers_url":"https://api.github.com/repos/Erin-Mounts/Bridge-iOS-SDK/subscribers","subscription_url":"https://api.github.com/repos/Erin-Mounts/Bridge-iOS-SDK/subscription","commits_url":"https://api.github.com/repos/Erin-Mounts/Bridge-iOS-SDK/commits{/sha}","git_commits_url":"https://api.github.com/repos/Erin-Mounts/Bridge-iOS-SDK/git/commits{/sha}","comments_url":"https://api.github.com/repos/Erin-Mounts/Bridge-iOS-SDK/comments{/number}","issue_comment_url":"https://api.github.com/repos/Erin-Mounts/Bridge-iOS-SDK/issues/comments{/number}","contents_url":"https://api.github.com/repos/Erin-Mounts/Bridge-iOS-SDK/contents/{+path}","compare_url":"https://api.github.com/repos/Erin-Mounts/Bridge-iOS-SDK/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Erin-Mounts/Bridge-iOS-SDK/merges","archive_url":"https://api.github.com/repos/Erin-Mounts/Bridge-iOS-SDK/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Erin-Mounts/Bridge-iOS-SDK/downloads","issues_url":"https://api.github.com/repos/Erin-Mounts/Bridge-iOS-SDK/issues{/number}","pulls_url":"https://api.github.com/repos/Erin-Mounts/Bridge-iOS-SDK/pulls{/number}","milestones_url":"https://api.github.com/repos/Erin-Mounts/Bridge-iOS-SDK/milestones{/number}","notifications_url":"https://api.github.com/repos/Erin-Mounts/Bridge-iOS-SDK/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Erin-Mounts/Bridge-iOS-SDK/labels{/name}","releases_url":"https://api.github.com/repos/Erin-Mounts/Bridge-iOS-SDK/releases{/id}","deployments_url":"https://api.github.com/repos/Erin-Mounts/Bridge-iOS-SDK/deployments","created_at":"2015-04-15T21:37:48Z","updated_at":"2016-01-12T22:36:17Z","pushed_at":"2016-04-28T03:28:44Z","git_url":"git://github.com/Erin-Mounts/Bridge-iOS-SDK.git","ssh_url":"git@github.com:Erin-Mounts/Bridge-iOS-SDK.git","clone_url":"https://github.com/Erin-Mounts/Bridge-iOS-SDK.git","svn_url":"https://github.com/Erin-Mounts/Bridge-iOS-SDK","homepage":null,"size":2199,"stargazers_count":0,"watchers_count":0,"language":"Objective-C","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":"Sage-Bionetworks:master","ref":"master","sha":"694ea5017fe60cca192fd962564ae7ff18aadabe","user":{"login":"Sage-Bionetworks","id":1250897,"avatar_url":"https://avatars.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":24738748,"name":"Bridge-iOS-SDK","full_name":"Sage-Bionetworks/Bridge-iOS-SDK","owner":{"login":"Sage-Bionetworks","id":1250897,"avatar_url":"https://avatars.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/Bridge-iOS-SDK","description":"","fork":false,"url":"https://api.github.com/repos/Sage-Bionetworks/Bridge-iOS-SDK","forks_url":"https://api.github.com/repos/Sage-Bionetworks/Bridge-iOS-SDK/forks","keys_url":"https://api.github.com/repos/Sage-Bionetworks/Bridge-iOS-SDK/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Sage-Bionetworks/Bridge-iOS-SDK/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Sage-Bionetworks/Bridge-iOS-SDK/teams","hooks_url":"https://api.github.com/repos/Sage-Bionetworks/Bridge-iOS-SDK/hooks","issue_events_url":"https://api.github.com/repos/Sage-Bionetworks/Bridge-iOS-SDK/issues/events{/number}","events_url":"https://api.github.com/repos/Sage-Bionetworks/Bridge-iOS-SDK/events","assignees_url":"https://api.github.com/repos/Sage-Bionetworks/Bridge-iOS-SDK/assignees{/user}","branches_url":"https://api.github.com/repos/Sage-Bionetworks/Bridge-iOS-SDK/branches{/branch}","tags_url":"https://api.github.com/repos/Sage-Bionetworks/Bridge-iOS-SDK/tags","blobs_url":"https://api.github.com/repos/Sage-Bionetworks/Bridge-iOS-SDK/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Sage-Bionetworks/Bridge-iOS-SDK/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Sage-Bionetworks/Bridge-iOS-SDK/git/refs{/sha}","trees_url":"https://api.github.com/repos/Sage-Bionetworks/Bridge-iOS-SDK/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Sage-Bionetworks/Bridge-iOS-SDK/statuses/{sha}","languages_url":"https://api.github.com/repos/Sage-Bionetworks/Bridge-iOS-SDK/languages","stargazers_url":"https://api.github.com/repos/Sage-Bionetworks/Bridge-iOS-SDK/stargazers","contributors_url":"https://api.github.com/repos/Sage-Bionetworks/Bridge-iOS-SDK/contributors","subscribers_url":"https://api.github.com/repos/Sage-Bionetworks/Bridge-iOS-SDK/subscribers","subscription_url":"https://api.github.com/repos/Sage-Bionetworks/Bridge-iOS-SDK/subscription","commits_url":"https://api.github.com/repos/Sage-Bionetworks/Bridge-iOS-SDK/commits{/sha}","git_commits_url":"https://api.github.com/repos/Sage-Bionetworks/Bridge-iOS-SDK/git/commits{/sha}","comments_url":"https://api.github.com/repos/Sage-Bionetworks/Bridge-iOS-SDK/comments{/number}","issue_comment_url":"https://api.github.com/repos/Sage-Bionetworks/Bridge-iOS-SDK/issues/comments{/number}","contents_url":"https://api.github.com/repos/Sage-Bionetworks/Bridge-iOS-SDK/contents/{+path}","compare_url":"https://api.github.com/repos/Sage-Bionetworks/Bridge-iOS-SDK/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Sage-Bionetworks/Bridge-iOS-SDK/merges","archive_url":"https://api.github.com/repos/Sage-Bionetworks/Bridge-iOS-SDK/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Sage-Bionetworks/Bridge-iOS-SDK/downloads","issues_url":"https://api.github.com/repos/Sage-Bionetworks/Bridge-iOS-SDK/issues{/number}","pulls_url":"https://api.github.com/repos/Sage-Bionetworks/Bridge-iOS-SDK/pulls{/number}","milestones_url":"https://api.github.com/repos/Sage-Bionetworks/Bridge-iOS-SDK/milestones{/number}","notifications_url":"https://api.github.com/repos/Sage-Bionetworks/Bridge-iOS-SDK/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Sage-Bionetworks/Bridge-iOS-SDK/labels{/name}","releases_url":"https://api.github.com/repos/Sage-Bionetworks/Bridge-iOS-SDK/releases{/id}","deployments_url":"https://api.github.com/repos/Sage-Bionetworks/Bridge-iOS-SDK/deployments","created_at":"2014-10-02T22:13:39Z","updated_at":"2016-03-31T00:49:37Z","pushed_at":"2016-04-28T05:12:34Z","git_url":"git://github.com/Sage-Bionetworks/Bridge-iOS-SDK.git","ssh_url":"git@github.com:Sage-Bionetworks/Bridge-iOS-SDK.git","clone_url":"https://github.com/Sage-Bionetworks/Bridge-iOS-SDK.git","svn_url":"https://github.com/Sage-Bionetworks/Bridge-iOS-SDK","homepage":null,"size":2215,"stargazers_count":18,"watchers_count":18,"language":"Objective-C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":18,"mirror_url":null,"open_issues_count":1,"forks":18,"open_issues":1,"watchers":18,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Sage-Bionetworks/Bridge-iOS-SDK/pulls/64"},"html":{"href":"https://github.com/Sage-Bionetworks/Bridge-iOS-SDK/pull/64"},"issue":{"href":"https://api.github.com/repos/Sage-Bionetworks/Bridge-iOS-SDK/issues/64"},"comments":{"href":"https://api.github.com/repos/Sage-Bionetworks/Bridge-iOS-SDK/issues/64/comments"},"review_comments":{"href":"https://api.github.com/repos/Sage-Bionetworks/Bridge-iOS-SDK/pulls/64/comments"},"review_comment":{"href":"https://api.github.com/repos/Sage-Bionetworks/Bridge-iOS-SDK/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Sage-Bionetworks/Bridge-iOS-SDK/pulls/64/commits"},"statuses":{"href":"https://api.github.com/repos/Sage-Bionetworks/Bridge-iOS-SDK/statuses/24951efcde4c04be5d9f25a83ac22715551ba6d1"}}}}