I'm tinkering with the OneDrive API.
Find the code here https://github.com/onedrive/onedrive-sdk-csharp
Specificaly the OneDrive Api Browser.
I have no formal education on this specific subject (Authentication).
I want to know, how would I stay authenticated after the first login? That is, how would I store the login information when it seems that you are expected to query the URI for a token every time?
For example, when the OneDrive API Browser solution is run, You must sign in every time the app is run. What if I wanted to save the credentials somewhere, say in a text file? How would I do that? (I am aware of the security issues / poor practice there)
Should I save the token somewhere? Is there another service to use for longterm tokens? Is it even possible? Are cookies involved?