microsoft / cpprestsdk

The C++ REST SDK is a Microsoft project for cloud-based client-server communication in native code using a modern asynchronous C++ API design. This project aims to help C++ developers connect to and interact with services.
Other
7.97k stars 1.65k forks source link

Support for Resource Owner Password Credentials or Password grant #1625

Closed YoungerDryas89 closed 2 years ago

YoungerDryas89 commented 3 years ago

Hi, there was no implementation for any password grant in oauth2_config; there was discussion of it in #151 but it nothing came of it. So I implemented it myself. What do you think? Let me know of any issues and if it can merge. Thanks

ghost commented 3 years ago

CLA assistant check
All CLA requirements met.

YoungerDryas89 commented 3 years ago

I didn't know that my newer changes could affect my PR. I thought my PR was static. So, I moved the MinGW changes away from the main branch, so the password grant changes are only there. If you're still interested in the MinGW related changes I could open another PR, but it still suffers from some issues.