oxide-auth
oxide-auth copied to clipboard
Implement an async version of client credentials flow
This is an attempt to port client credentials flow to the async version. I noticed that it seemed to be the only implemented flow that was missing an async version. I didn't know if this was a deliberate omission or not, but after some investigation I realized that the async work was done much earlier. So, I decided to try my hand at porting it over. The work itself doesn't contain anything new. It's a straight up port of the non-synchronous code to an async version. Please let me know if I missed anything. Also, I would appreciate any comments on the minor changes in oxide-auth that are needed to get the async version to compile (like changing the visibility of a couple of functions and ::new() constructor in a couple of places).
- [*] I have read the [contribution guidelines][Contributing]
- [*] This change has tests (remove for doc only)
- [*] This change has documentation
I license past and future contributions under the dual MIT/Apache-2.0 license, allowing licensees to chose either at their option.
@HeroicKatora Thanks for the feedback. I will update the PR as requested.