{"action":"created","comment":{"url":"https://api.github.com/repos/AiursoftWeb/Nexus/pulls/comments/329340229","pull_request_review_id":294668543,"id":329340229,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDMyOTM0MDIyOQ==","diff_hunk":"@@ -31,6 +34,11 @@ public class AccountController : Controller\n         private readonly DeveloperApiService _developerApiService;\n         private readonly AuthService<AccountUser> _authService;\n \n+        private readonly UrlEncoder _urlEncoder;\n+        private const string RecoveryCodesKey = nameof(RecoveryCodesKey);\n+        private readonly ILogger _logger;\n+        private const string AuthenticatorUriFormat = \"otpauth://totp/{0}:{1}?secret={2}&issuer={0}&digits=6\";","path":"Account/Controllers/AccountController.cs","position":21,"original_position":21,"commit_id":"fbfb6d8e3dfd63fda728cdaadfb118bcff499044","original_commit_id":"fbfb6d8e3dfd63fda728cdaadfb118bcff499044","user":{"login":"Anduin2017","id":19531547,"node_id":"MDQ6VXNlcjE5NTMxNTQ3","avatar_url":"https://avatars0.githubusercontent.com/u/19531547?v=4","gravatar_id":"","url":"https://api.github.com/users/Anduin2017","html_url":"https://github.com/Anduin2017","followers_url":"https://api.github.com/users/Anduin2017/followers","following_url":"https://api.github.com/users/Anduin2017/following{/other_user}","gists_url":"https://api.github.com/users/Anduin2017/gists{/gist_id}","starred_url":"https://api.github.com/users/Anduin2017/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Anduin2017/subscriptions","organizations_url":"https://api.github.com/users/Anduin2017/orgs","repos_url":"https://api.github.com/users/Anduin2017/repos","events_url":"https://api.github.com/users/Anduin2017/events{/privacy}","received_events_url":"https://api.github.com/users/Anduin2017/received_events","type":"User","site_admin":false},"body":"Rename to `_AuthenticatorUriFormat`","created_at":"2019-09-29T06:38:36Z","updated_at":"2019-09-29T06:38:37Z","html_url":"https://github.com/AiursoftWeb/Nexus/pull/123#discussion_r329340229","pull_request_url":"https://api.github.com/repos/AiursoftWeb/Nexus/pulls/123","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/AiursoftWeb/Nexus/pulls/comments/329340229"},"html":{"href":"https://github.com/AiursoftWeb/Nexus/pull/123#discussion_r329340229"},"pull_request":{"href":"https://api.github.com/repos/AiursoftWeb/Nexus/pulls/123"}}},"pull_request":{"url":"https://api.github.com/repos/AiursoftWeb/Nexus/pulls/123","id":320390321,"node_id":"MDExOlB1bGxSZXF1ZXN0MzIwMzkwMzIx","html_url":"https://github.com/AiursoftWeb/Nexus/pull/123","diff_url":"https://github.com/AiursoftWeb/Nexus/pull/123.diff","patch_url":"https://github.com/AiursoftWeb/Nexus/pull/123.patch","issue_url":"https://api.github.com/repos/AiursoftWeb/Nexus/issues/123","number":123,"state":"open","locked":false,"title":"Add Two Factor Authentication to Account ","user":{"login":"jianba","id":41192356,"node_id":"MDQ6VXNlcjQxMTkyMzU2","avatar_url":"https://avatars1.githubusercontent.com/u/41192356?v=4","gravatar_id":"","url":"https://api.github.com/users/jianba","html_url":"https://github.com/jianba","followers_url":"https://api.github.com/users/jianba/followers","following_url":"https://api.github.com/users/jianba/following{/other_user}","gists_url":"https://api.github.com/users/jianba/gists{/gist_id}","starred_url":"https://api.github.com/users/jianba/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jianba/subscriptions","organizations_url":"https://api.github.com/users/jianba/orgs","repos_url":"https://api.github.com/users/jianba/repos","events_url":"https://api.github.com/users/jianba/events{/privacy}","received_events_url":"https://api.github.com/users/jianba/received_events","type":"User","site_admin":false},"body":"_urlEncoder.Encode() cant be used that may cause  garbled","created_at":"2019-09-23T16:58:35Z","updated_at":"2019-09-29T06:38:37Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1e53952c32f37cdce3c644d773b81f1589082df1","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/AiursoftWeb/Nexus/pulls/123/commits","review_comments_url":"https://api.github.com/repos/AiursoftWeb/Nexus/pulls/123/comments","review_comment_url":"https://api.github.com/repos/AiursoftWeb/Nexus/pulls/comments{/number}","comments_url":"https://api.github.com/repos/AiursoftWeb/Nexus/issues/123/comments","statuses_url":"https://api.github.com/repos/AiursoftWeb/Nexus/statuses/fbfb6d8e3dfd63fda728cdaadfb118bcff499044","head":{"label":"jianba:master","ref":"master","sha":"fbfb6d8e3dfd63fda728cdaadfb118bcff499044","user":{"login":"jianba","id":41192356,"node_id":"MDQ6VXNlcjQxMTkyMzU2","avatar_url":"https://avatars1.githubusercontent.com/u/41192356?v=4","gravatar_id":"","url":"https://api.github.com/users/jianba","html_url":"https://github.com/jianba","followers_url":"https://api.github.com/users/jianba/followers","following_url":"https://api.github.com/users/jianba/following{/other_user}","gists_url":"https://api.github.com/users/jianba/gists{/gist_id}","starred_url":"https://api.github.com/users/jianba/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jianba/subscriptions","organizations_url":"https://api.github.com/users/jianba/orgs","repos_url":"https://api.github.com/users/jianba/repos","events_url":"https://api.github.com/users/jianba/events{/privacy}","received_events_url":"https://api.github.com/users/jianba/received_events","type":"User","site_admin":false},"repo":{"id":210385175,"node_id":"MDEwOlJlcG9zaXRvcnkyMTAzODUxNzU=","name":"Nexus","full_name":"jianba/Nexus","private":false,"owner":{"login":"jianba","id":41192356,"node_id":"MDQ6VXNlcjQxMTkyMzU2","avatar_url":"https://avatars1.githubusercontent.com/u/41192356?v=4","gravatar_id":"","url":"https://api.github.com/users/jianba","html_url":"https://github.com/jianba","followers_url":"https://api.github.com/users/jianba/followers","following_url":"https://api.github.com/users/jianba/following{/other_user}","gists_url":"https://api.github.com/users/jianba/gists{/gist_id}","starred_url":"https://api.github.com/users/jianba/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jianba/subscriptions","organizations_url":"https://api.github.com/users/jianba/orgs","repos_url":"https://api.github.com/users/jianba/repos","events_url":"https://api.github.com/users/jianba/events{/privacy}","received_events_url":"https://api.github.com/users/jianba/received_events","type":"User","site_admin":false},"html_url":"https://github.com/jianba/Nexus","description":"Aiursoft platform source code. A micro-service web platform based on .NET Core.","fork":true,"url":"https://api.github.com/repos/jianba/Nexus","forks_url":"https://api.github.com/repos/jianba/Nexus/forks","keys_url":"https://api.github.com/repos/jianba/Nexus/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jianba/Nexus/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jianba/Nexus/teams","hooks_url":"https://api.github.com/repos/jianba/Nexus/hooks","issue_events_url":"https://api.github.com/repos/jianba/Nexus/issues/events{/number}","events_url":"https://api.github.com/repos/jianba/Nexus/events","assignees_url":"https://api.github.com/repos/jianba/Nexus/assignees{/user}","branches_url":"https://api.github.com/repos/jianba/Nexus/branches{/branch}","tags_url":"https://api.github.com/repos/jianba/Nexus/tags","blobs_url":"https://api.github.com/repos/jianba/Nexus/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jianba/Nexus/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jianba/Nexus/git/refs{/sha}","trees_url":"https://api.github.com/repos/jianba/Nexus/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jianba/Nexus/statuses/{sha}","languages_url":"https://api.github.com/repos/jianba/Nexus/languages","stargazers_url":"https://api.github.com/repos/jianba/Nexus/stargazers","contributors_url":"https://api.github.com/repos/jianba/Nexus/contributors","subscribers_url":"https://api.github.com/repos/jianba/Nexus/subscribers","subscription_url":"https://api.github.com/repos/jianba/Nexus/subscription","commits_url":"https://api.github.com/repos/jianba/Nexus/commits{/sha}","git_commits_url":"https://api.github.com/repos/jianba/Nexus/git/commits{/sha}","comments_url":"https://api.github.com/repos/jianba/Nexus/comments{/number}","issue_comment_url":"https://api.github.com/repos/jianba/Nexus/issues/comments{/number}","contents_url":"https://api.github.com/repos/jianba/Nexus/contents/{+path}","compare_url":"https://api.github.com/repos/jianba/Nexus/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jianba/Nexus/merges","archive_url":"https://api.github.com/repos/jianba/Nexus/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jianba/Nexus/downloads","issues_url":"https://api.github.com/repos/jianba/Nexus/issues{/number}","pulls_url":"https://api.github.com/repos/jianba/Nexus/pulls{/number}","milestones_url":"https://api.github.com/repos/jianba/Nexus/milestones{/number}","notifications_url":"https://api.github.com/repos/jianba/Nexus/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jianba/Nexus/labels{/name}","releases_url":"https://api.github.com/repos/jianba/Nexus/releases{/id}","deployments_url":"https://api.github.com/repos/jianba/Nexus/deployments","created_at":"2019-09-23T15:07:08Z","updated_at":"2019-09-28T11:45:43Z","pushed_at":"2019-09-28T11:45:41Z","git_url":"git://github.com/jianba/Nexus.git","ssh_url":"git@github.com:jianba/Nexus.git","clone_url":"https://github.com/jianba/Nexus.git","svn_url":"https://github.com/jianba/Nexus","homepage":"https://www.aiursoft.com","size":6527,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"AiursoftWeb:master","ref":"master","sha":"8248ac3a0cb6b36be4c09e2f814393dc4829c353","user":{"login":"AiursoftWeb","id":32832446,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMyODMyNDQ2","avatar_url":"https://avatars0.githubusercontent.com/u/32832446?v=4","gravatar_id":"","url":"https://api.github.com/users/AiursoftWeb","html_url":"https://github.com/AiursoftWeb","followers_url":"https://api.github.com/users/AiursoftWeb/followers","following_url":"https://api.github.com/users/AiursoftWeb/following{/other_user}","gists_url":"https://api.github.com/users/AiursoftWeb/gists{/gist_id}","starred_url":"https://api.github.com/users/AiursoftWeb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AiursoftWeb/subscriptions","organizations_url":"https://api.github.com/users/AiursoftWeb/orgs","repos_url":"https://api.github.com/users/AiursoftWeb/repos","events_url":"https://api.github.com/users/AiursoftWeb/events{/privacy}","received_events_url":"https://api.github.com/users/AiursoftWeb/received_events","type":"Organization","site_admin":false},"repo":{"id":129679454,"node_id":"MDEwOlJlcG9zaXRvcnkxMjk2Nzk0NTQ=","name":"Nexus","full_name":"AiursoftWeb/Nexus","private":false,"owner":{"login":"AiursoftWeb","id":32832446,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMyODMyNDQ2","avatar_url":"https://avatars0.githubusercontent.com/u/32832446?v=4","gravatar_id":"","url":"https://api.github.com/users/AiursoftWeb","html_url":"https://github.com/AiursoftWeb","followers_url":"https://api.github.com/users/AiursoftWeb/followers","following_url":"https://api.github.com/users/AiursoftWeb/following{/other_user}","gists_url":"https://api.github.com/users/AiursoftWeb/gists{/gist_id}","starred_url":"https://api.github.com/users/AiursoftWeb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AiursoftWeb/subscriptions","organizations_url":"https://api.github.com/users/AiursoftWeb/orgs","repos_url":"https://api.github.com/users/AiursoftWeb/repos","events_url":"https://api.github.com/users/AiursoftWeb/events{/privacy}","received_events_url":"https://api.github.com/users/AiursoftWeb/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/AiursoftWeb/Nexus","description":"Aiursoft platform source code. A micro-service web platform based on .NET Core.","fork":false,"url":"https://api.github.com/repos/AiursoftWeb/Nexus","forks_url":"https://api.github.com/repos/AiursoftWeb/Nexus/forks","keys_url":"https://api.github.com/repos/AiursoftWeb/Nexus/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AiursoftWeb/Nexus/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AiursoftWeb/Nexus/teams","hooks_url":"https://api.github.com/repos/AiursoftWeb/Nexus/hooks","issue_events_url":"https://api.github.com/repos/AiursoftWeb/Nexus/issues/events{/number}","events_url":"https://api.github.com/repos/AiursoftWeb/Nexus/events","assignees_url":"https://api.github.com/repos/AiursoftWeb/Nexus/assignees{/user}","branches_url":"https://api.github.com/repos/AiursoftWeb/Nexus/branches{/branch}","tags_url":"https://api.github.com/repos/AiursoftWeb/Nexus/tags","blobs_url":"https://api.github.com/repos/AiursoftWeb/Nexus/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AiursoftWeb/Nexus/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AiursoftWeb/Nexus/git/refs{/sha}","trees_url":"https://api.github.com/repos/AiursoftWeb/Nexus/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AiursoftWeb/Nexus/statuses/{sha}","languages_url":"https://api.github.com/repos/AiursoftWeb/Nexus/languages","stargazers_url":"https://api.github.com/repos/AiursoftWeb/Nexus/stargazers","contributors_url":"https://api.github.com/repos/AiursoftWeb/Nexus/contributors","subscribers_url":"https://api.github.com/repos/AiursoftWeb/Nexus/subscribers","subscription_url":"https://api.github.com/repos/AiursoftWeb/Nexus/subscription","commits_url":"https://api.github.com/repos/AiursoftWeb/Nexus/commits{/sha}","git_commits_url":"https://api.github.com/repos/AiursoftWeb/Nexus/git/commits{/sha}","comments_url":"https://api.github.com/repos/AiursoftWeb/Nexus/comments{/number}","issue_comment_url":"https://api.github.com/repos/AiursoftWeb/Nexus/issues/comments{/number}","contents_url":"https://api.github.com/repos/AiursoftWeb/Nexus/contents/{+path}","compare_url":"https://api.github.com/repos/AiursoftWeb/Nexus/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AiursoftWeb/Nexus/merges","archive_url":"https://api.github.com/repos/AiursoftWeb/Nexus/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AiursoftWeb/Nexus/downloads","issues_url":"https://api.github.com/repos/AiursoftWeb/Nexus/issues{/number}","pulls_url":"https://api.github.com/repos/AiursoftWeb/Nexus/pulls{/number}","milestones_url":"https://api.github.com/repos/AiursoftWeb/Nexus/milestones{/number}","notifications_url":"https://api.github.com/repos/AiursoftWeb/Nexus/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AiursoftWeb/Nexus/labels{/name}","releases_url":"https://api.github.com/repos/AiursoftWeb/Nexus/releases{/id}","deployments_url":"https://api.github.com/repos/AiursoftWeb/Nexus/deployments","created_at":"2018-04-16T03:28:14Z","updated_at":"2019-09-28T01:00:40Z","pushed_at":"2019-09-28T11:45:43Z","git_url":"git://github.com/AiursoftWeb/Nexus.git","ssh_url":"git@github.com:AiursoftWeb/Nexus.git","clone_url":"https://github.com/AiursoftWeb/Nexus.git","svn_url":"https://github.com/AiursoftWeb/Nexus","homepage":"https://www.aiursoft.com","size":6593,"stargazers_count":61,"watchers_count":61,"language":"C#","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":19,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":25,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":19,"open_issues":25,"watchers":61,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/AiursoftWeb/Nexus/pulls/123"},"html":{"href":"https://github.com/AiursoftWeb/Nexus/pull/123"},"issue":{"href":"https://api.github.com/repos/AiursoftWeb/Nexus/issues/123"},"comments":{"href":"https://api.github.com/repos/AiursoftWeb/Nexus/issues/123/comments"},"review_comments":{"href":"https://api.github.com/repos/AiursoftWeb/Nexus/pulls/123/comments"},"review_comment":{"href":"https://api.github.com/repos/AiursoftWeb/Nexus/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/AiursoftWeb/Nexus/pulls/123/commits"},"statuses":{"href":"https://api.github.com/repos/AiursoftWeb/Nexus/statuses/fbfb6d8e3dfd63fda728cdaadfb118bcff499044"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"Anduin2017"}}