{"action":"opened","issue":{"url":"https://api.github.com/repos/wstrange/GoogleAuth/issues/60","repository_url":"https://api.github.com/repos/wstrange/GoogleAuth","labels_url":"https://api.github.com/repos/wstrange/GoogleAuth/issues/60/labels{/name}","comments_url":"https://api.github.com/repos/wstrange/GoogleAuth/issues/60/comments","events_url":"https://api.github.com/repos/wstrange/GoogleAuth/issues/60/events","html_url":"https://github.com/wstrange/GoogleAuth/issues/60","id":270133192,"number":60,"title":"Allow regeneration of QR code","user":{"login":"jasonab","id":111883,"avatar_url":"https://avatars2.githubusercontent.com/u/111883?v=4","gravatar_id":"","url":"https://api.github.com/users/jasonab","html_url":"https://github.com/jasonab","followers_url":"https://api.github.com/users/jasonab/followers","following_url":"https://api.github.com/users/jasonab/following{/other_user}","gists_url":"https://api.github.com/users/jasonab/gists{/gist_id}","starred_url":"https://api.github.com/users/jasonab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jasonab/subscriptions","organizations_url":"https://api.github.com/users/jasonab/orgs","repos_url":"https://api.github.com/users/jasonab/repos","events_url":"https://api.github.com/users/jasonab/events{/privacy}","received_events_url":"https://api.github.com/users/jasonab/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-10-31T22:01:45Z","updated_at":"2017-10-31T22:01:45Z","closed_at":null,"author_association":"NONE","body":"My apologies if I missed something in the API.\r\n\r\nRight now, you can only generate a QR code with a GoogleAuthenticatorKey object. This object can only be created by a call to createCredentials(). My use case is that I need to recreate the QR code with a preexisting secret (that has been persisted to the database), but there doesn't seem to be any way to do that with the existing API, as I cannot create a GoogleAuthenticatorKey object, or call the QR code methods with just the key. It would be sufficient to overload getOtpAuthURL() to take 3 strings (including they key)."}}
{"actor":{"display_login":"jasonab"}}