Closed yacaovsnc closed 8 years ago
Hi @yacaovsnc, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!
It looks like you're a Microsoft contributor (Yang Cao (VSNC)). If you're full-time, we DON'T require a Contribution License Agreement. If you are a vendor, please DO sign the electronic Contribution License Agreement. It will take 2 minutes and there's no faxing! https://cla.microsoft.com.
TTYL, MSBOT;
Looks good to me.
The DeviceFlowResponse object is passed back to the callback and is used as a message channel between the consumer and this library. This remove threading requirement from the library and the consumer will be repsonsible for proper threading.
The logic is added to DeviceFlowResponse class to maintain backward compatibility.