{"action":"closed","number":4,"pull_request":{"url":"https://api.github.com/repos/sbc100/two_factor_authentication/pulls/4","id":80854778,"html_url":"https://github.com/sbc100/two_factor_authentication/pull/4","diff_url":"https://github.com/sbc100/two_factor_authentication/pull/4.diff","patch_url":"https://github.com/sbc100/two_factor_authentication/pull/4.patch","issue_url":"https://api.github.com/repos/sbc100/two_factor_authentication/issues/4","number":4,"state":"closed","locked":false,"title":"Add support for backup codes","user":{"login":"sbc100","id":515813,"avatar_url":"https://avatars2.githubusercontent.com/u/515813?v=4","gravatar_id":"","url":"https://api.github.com/users/sbc100","html_url":"https://github.com/sbc100","followers_url":"https://api.github.com/users/sbc100/followers","following_url":"https://api.github.com/users/sbc100/following{/other_user}","gists_url":"https://api.github.com/users/sbc100/gists{/gist_id}","starred_url":"https://api.github.com/users/sbc100/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sbc100/subscriptions","organizations_url":"https://api.github.com/users/sbc100/orgs","repos_url":"https://api.github.com/users/sbc100/repos","events_url":"https://api.github.com/users/sbc100/events{/privacy}","received_events_url":"https://api.github.com/users/sbc100/received_events","type":"User","site_admin":false},"body":"Backup codes also generated randomly and stored one-way-hashed\nin the database using Devise::Encryptor.  They default to 8\ndecimal digits rather than 6 since they are longer lived than\ndirect OTP codes.\n","created_at":"2016-08-10T19:42:07Z","updated_at":"2018-05-21T23:52:08Z","closed_at":"2018-05-21T23:52:08Z","merged_at":null,"merge_commit_sha":"ce24eb997618b97020c756dd99cb9e98fb00b604","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/sbc100/two_factor_authentication/pulls/4/commits","review_comments_url":"https://api.github.com/repos/sbc100/two_factor_authentication/pulls/4/comments","review_comment_url":"https://api.github.com/repos/sbc100/two_factor_authentication/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sbc100/two_factor_authentication/issues/4/comments","statuses_url":"https://api.github.com/repos/sbc100/two_factor_authentication/statuses/700bcadac186fd1ef22b427d72cca14c1f5a066e","head":{"label":"sbc100:add_backup_codes","ref":"add_backup_codes","sha":"700bcadac186fd1ef22b427d72cca14c1f5a066e","user":{"login":"sbc100","id":515813,"avatar_url":"https://avatars2.githubusercontent.com/u/515813?v=4","gravatar_id":"","url":"https://api.github.com/users/sbc100","html_url":"https://github.com/sbc100","followers_url":"https://api.github.com/users/sbc100/followers","following_url":"https://api.github.com/users/sbc100/following{/other_user}","gists_url":"https://api.github.com/users/sbc100/gists{/gist_id}","starred_url":"https://api.github.com/users/sbc100/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sbc100/subscriptions","organizations_url":"https://api.github.com/users/sbc100/orgs","repos_url":"https://api.github.com/users/sbc100/repos","events_url":"https://api.github.com/users/sbc100/events{/privacy}","received_events_url":"https://api.github.com/users/sbc100/received_events","type":"User","site_admin":false},"repo":{"id":57058412,"name":"two_factor_authentication","full_name":"sbc100/two_factor_authentication","owner":{"login":"sbc100","id":515813,"avatar_url":"https://avatars2.githubusercontent.com/u/515813?v=4","gravatar_id":"","url":"https://api.github.com/users/sbc100","html_url":"https://github.com/sbc100","followers_url":"https://api.github.com/users/sbc100/followers","following_url":"https://api.github.com/users/sbc100/following{/other_user}","gists_url":"https://api.github.com/users/sbc100/gists{/gist_id}","starred_url":"https://api.github.com/users/sbc100/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sbc100/subscriptions","organizations_url":"https://api.github.com/users/sbc100/orgs","repos_url":"https://api.github.com/users/sbc100/repos","events_url":"https://api.github.com/users/sbc100/events{/privacy}","received_events_url":"https://api.github.com/users/sbc100/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sbc100/two_factor_authentication","description":"Two factor authentication extension for Devise","fork":true,"url":"https://api.github.com/repos/sbc100/two_factor_authentication","forks_url":"https://api.github.com/repos/sbc100/two_factor_authentication/forks","keys_url":"https://api.github.com/repos/sbc100/two_factor_authentication/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sbc100/two_factor_authentication/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sbc100/two_factor_authentication/teams","hooks_url":"https://api.github.com/repos/sbc100/two_factor_authentication/hooks","issue_events_url":"https://api.github.com/repos/sbc100/two_factor_authentication/issues/events{/number}","events_url":"https://api.github.com/repos/sbc100/two_factor_authentication/events","assignees_url":"https://api.github.com/repos/sbc100/two_factor_authentication/assignees{/user}","branches_url":"https://api.github.com/repos/sbc100/two_factor_authentication/branches{/branch}","tags_url":"https://api.github.com/repos/sbc100/two_factor_authentication/tags","blobs_url":"https://api.github.com/repos/sbc100/two_factor_authentication/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sbc100/two_factor_authentication/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sbc100/two_factor_authentication/git/refs{/sha}","trees_url":"https://api.github.com/repos/sbc100/two_factor_authentication/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sbc100/two_factor_authentication/statuses/{sha}","languages_url":"https://api.github.com/repos/sbc100/two_factor_authentication/languages","stargazers_url":"https://api.github.com/repos/sbc100/two_factor_authentication/stargazers","contributors_url":"https://api.github.com/repos/sbc100/two_factor_authentication/contributors","subscribers_url":"https://api.github.com/repos/sbc100/two_factor_authentication/subscribers","subscription_url":"https://api.github.com/repos/sbc100/two_factor_authentication/subscription","commits_url":"https://api.github.com/repos/sbc100/two_factor_authentication/commits{/sha}","git_commits_url":"https://api.github.com/repos/sbc100/two_factor_authentication/git/commits{/sha}","comments_url":"https://api.github.com/repos/sbc100/two_factor_authentication/comments{/number}","issue_comment_url":"https://api.github.com/repos/sbc100/two_factor_authentication/issues/comments{/number}","contents_url":"https://api.github.com/repos/sbc100/two_factor_authentication/contents/{+path}","compare_url":"https://api.github.com/repos/sbc100/two_factor_authentication/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sbc100/two_factor_authentication/merges","archive_url":"https://api.github.com/repos/sbc100/two_factor_authentication/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sbc100/two_factor_authentication/downloads","issues_url":"https://api.github.com/repos/sbc100/two_factor_authentication/issues{/number}","pulls_url":"https://api.github.com/repos/sbc100/two_factor_authentication/pulls{/number}","milestones_url":"https://api.github.com/repos/sbc100/two_factor_authentication/milestones{/number}","notifications_url":"https://api.github.com/repos/sbc100/two_factor_authentication/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sbc100/two_factor_authentication/labels{/name}","releases_url":"https://api.github.com/repos/sbc100/two_factor_authentication/releases{/id}","deployments_url":"https://api.github.com/repos/sbc100/two_factor_authentication/deployments","created_at":"2016-04-25T16:36:04Z","updated_at":"2016-04-25T16:36:05Z","pushed_at":"2016-09-02T20:02:22Z","git_url":"git://github.com/sbc100/two_factor_authentication.git","ssh_url":"git@github.com:sbc100/two_factor_authentication.git","clone_url":"https://github.com/sbc100/two_factor_authentication.git","svn_url":"https://github.com/sbc100/two_factor_authentication","homepage":"","size":212,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"sbc100:master","ref":"master","sha":"73815c0c5132c01d3ff8b49b198e82d8b0664d9a","user":{"login":"sbc100","id":515813,"avatar_url":"https://avatars2.githubusercontent.com/u/515813?v=4","gravatar_id":"","url":"https://api.github.com/users/sbc100","html_url":"https://github.com/sbc100","followers_url":"https://api.github.com/users/sbc100/followers","following_url":"https://api.github.com/users/sbc100/following{/other_user}","gists_url":"https://api.github.com/users/sbc100/gists{/gist_id}","starred_url":"https://api.github.com/users/sbc100/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sbc100/subscriptions","organizations_url":"https://api.github.com/users/sbc100/orgs","repos_url":"https://api.github.com/users/sbc100/repos","events_url":"https://api.github.com/users/sbc100/events{/privacy}","received_events_url":"https://api.github.com/users/sbc100/received_events","type":"User","site_admin":false},"repo":{"id":57058412,"name":"two_factor_authentication","full_name":"sbc100/two_factor_authentication","owner":{"login":"sbc100","id":515813,"avatar_url":"https://avatars2.githubusercontent.com/u/515813?v=4","gravatar_id":"","url":"https://api.github.com/users/sbc100","html_url":"https://github.com/sbc100","followers_url":"https://api.github.com/users/sbc100/followers","following_url":"https://api.github.com/users/sbc100/following{/other_user}","gists_url":"https://api.github.com/users/sbc100/gists{/gist_id}","starred_url":"https://api.github.com/users/sbc100/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sbc100/subscriptions","organizations_url":"https://api.github.com/users/sbc100/orgs","repos_url":"https://api.github.com/users/sbc100/repos","events_url":"https://api.github.com/users/sbc100/events{/privacy}","received_events_url":"https://api.github.com/users/sbc100/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sbc100/two_factor_authentication","description":"Two factor authentication extension for Devise","fork":true,"url":"https://api.github.com/repos/sbc100/two_factor_authentication","forks_url":"https://api.github.com/repos/sbc100/two_factor_authentication/forks","keys_url":"https://api.github.com/repos/sbc100/two_factor_authentication/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sbc100/two_factor_authentication/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sbc100/two_factor_authentication/teams","hooks_url":"https://api.github.com/repos/sbc100/two_factor_authentication/hooks","issue_events_url":"https://api.github.com/repos/sbc100/two_factor_authentication/issues/events{/number}","events_url":"https://api.github.com/repos/sbc100/two_factor_authentication/events","assignees_url":"https://api.github.com/repos/sbc100/two_factor_authentication/assignees{/user}","branches_url":"https://api.github.com/repos/sbc100/two_factor_authentication/branches{/branch}","tags_url":"https://api.github.com/repos/sbc100/two_factor_authentication/tags","blobs_url":"https://api.github.com/repos/sbc100/two_factor_authentication/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sbc100/two_factor_authentication/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sbc100/two_factor_authentication/git/refs{/sha}","trees_url":"https://api.github.com/repos/sbc100/two_factor_authentication/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sbc100/two_factor_authentication/statuses/{sha}","languages_url":"https://api.github.com/repos/sbc100/two_factor_authentication/languages","stargazers_url":"https://api.github.com/repos/sbc100/two_factor_authentication/stargazers","contributors_url":"https://api.github.com/repos/sbc100/two_factor_authentication/contributors","subscribers_url":"https://api.github.com/repos/sbc100/two_factor_authentication/subscribers","subscription_url":"https://api.github.com/repos/sbc100/two_factor_authentication/subscription","commits_url":"https://api.github.com/repos/sbc100/two_factor_authentication/commits{/sha}","git_commits_url":"https://api.github.com/repos/sbc100/two_factor_authentication/git/commits{/sha}","comments_url":"https://api.github.com/repos/sbc100/two_factor_authentication/comments{/number}","issue_comment_url":"https://api.github.com/repos/sbc100/two_factor_authentication/issues/comments{/number}","contents_url":"https://api.github.com/repos/sbc100/two_factor_authentication/contents/{+path}","compare_url":"https://api.github.com/repos/sbc100/two_factor_authentication/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sbc100/two_factor_authentication/merges","archive_url":"https://api.github.com/repos/sbc100/two_factor_authentication/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sbc100/two_factor_authentication/downloads","issues_url":"https://api.github.com/repos/sbc100/two_factor_authentication/issues{/number}","pulls_url":"https://api.github.com/repos/sbc100/two_factor_authentication/pulls{/number}","milestones_url":"https://api.github.com/repos/sbc100/two_factor_authentication/milestones{/number}","notifications_url":"https://api.github.com/repos/sbc100/two_factor_authentication/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sbc100/two_factor_authentication/labels{/name}","releases_url":"https://api.github.com/repos/sbc100/two_factor_authentication/releases{/id}","deployments_url":"https://api.github.com/repos/sbc100/two_factor_authentication/deployments","created_at":"2016-04-25T16:36:04Z","updated_at":"2016-04-25T16:36:05Z","pushed_at":"2016-09-02T20:02:22Z","git_url":"git://github.com/sbc100/two_factor_authentication.git","ssh_url":"git@github.com:sbc100/two_factor_authentication.git","clone_url":"https://github.com/sbc100/two_factor_authentication.git","svn_url":"https://github.com/sbc100/two_factor_authentication","homepage":"","size":212,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sbc100/two_factor_authentication/pulls/4"},"html":{"href":"https://github.com/sbc100/two_factor_authentication/pull/4"},"issue":{"href":"https://api.github.com/repos/sbc100/two_factor_authentication/issues/4"},"comments":{"href":"https://api.github.com/repos/sbc100/two_factor_authentication/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/sbc100/two_factor_authentication/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/sbc100/two_factor_authentication/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sbc100/two_factor_authentication/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/sbc100/two_factor_authentication/statuses/700bcadac186fd1ef22b427d72cca14c1f5a066e"}},"author_association":"OWNER","merged":false,"mergeable":true,"rebaseable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":197,"deletions":12,"changed_files":13}}
{"actor":{"display_login":"sbc100"}}