OneDrive / onedrive-sdk-csharp

OneDrive SDK for C#! https://dev.onedrive.com
Other
294 stars 143 forks source link

How to get refresh token using the GraphServiceClient uaing code flow #251

Closed yChakradhar closed 1 month ago

yChakradhar commented 5 years ago

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

baywet commented 1 month ago

Thank you for reaching out and for your patience. This SDK is being officially deprecated. See #259 for more information