We have a WPF application in production and want to consume the onedrive API from the application. Now we are using the C# graph SDK tp connect with onedrive and we are able to upload and download files with token-based authentication which is expiring in one hour. But we want to implement code-based authentication to get a refresh token so that when the access token expires we will get the token again using a refresh token. Please provide a way to do that so that we can proceed with other functionality. I would be very thankful if you provide a sample application
We have a WPF application in production and want to consume the onedrive API from the application. Now we are using the C# graph SDK tp connect with onedrive and we are able to upload and download files with token-based authentication which is expiring in one hour. But we want to implement code-based authentication to get a refresh token so that when the access token expires we will get the token again using a refresh token. Please provide a way to do that so that we can proceed with other functionality. I would be very thankful if you provide a sample application
Thanks, Chakradhar