How to utilize code flow for OneDrive API?
问题 How to allow my C# apps (non- forms , non- web based ) application authenticate & interact with OneDrive? (That is to say, completely programmatically.) So far: -Application registered, have client id & secret. -Enabled both web & phone. -Personal, not Business. -Client token flow appears to be for interactive, so using code . -Tried the OneDrive SDK, but it just kept saying it couldn't authenticate (not why). -Now hand-rolling requests. As web client code: async Task<string>