{"action":"opened","issue":{"url":"https://api.github.com/repos/AzureAD/azure-activedirectory-library-for-dotnet/issues/1013","repository_url":"https://api.github.com/repos/AzureAD/azure-activedirectory-library-for-dotnet","labels_url":"https://api.github.com/repos/AzureAD/azure-activedirectory-library-for-dotnet/issues/1013/labels{/name}","comments_url":"https://api.github.com/repos/AzureAD/azure-activedirectory-library-for-dotnet/issues/1013/comments","events_url":"https://api.github.com/repos/AzureAD/azure-activedirectory-library-for-dotnet/issues/1013/events","html_url":"https://github.com/AzureAD/azure-activedirectory-library-for-dotnet/issues/1013","id":304428011,"number":1013,"title":"Make context.AcquireDeviceCodeAsync cancellable ","user":{"login":"crmann1","id":12025013,"avatar_url":"https://avatars1.githubusercontent.com/u/12025013?v=4","gravatar_id":"","url":"https://api.github.com/users/crmann1","html_url":"https://github.com/crmann1","followers_url":"https://api.github.com/users/crmann1/followers","following_url":"https://api.github.com/users/crmann1/following{/other_user}","gists_url":"https://api.github.com/users/crmann1/gists{/gist_id}","starred_url":"https://api.github.com/users/crmann1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crmann1/subscriptions","organizations_url":"https://api.github.com/users/crmann1/orgs","repos_url":"https://api.github.com/users/crmann1/repos","events_url":"https://api.github.com/users/crmann1/events{/privacy}","received_events_url":"https://api.github.com/users/crmann1/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-12T15:47:09Z","updated_at":"2018-03-12T15:47:09Z","closed_at":null,"author_association":"NONE","body":"When acquiring a token from AcquireDeviceCodeAsync the method will loop and poll the server to wait for the user to enter their device code in the website.  However, this polling can take ~15 minutes. If the user wants to stop waiting for the token, or they no longer want to authenticate there is no way to cancel the device code polling loop. \r\n\r\nCan the method be updated to take a cancellation token that cancels the polling loop?"}}
{"actor":{"display_login":"crmann1"}}