OneDrive / onedrive-sdk-csharp

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

OneDriveClientExtensions missing in ver 2.0 #159

Closed kdn29 closed 8 years ago

deRightDirection commented 8 years ago

yeah i found the same issue, now is my code broken :-(

in the documentation you cant find anything about it because it is not up to date

ryanwinter commented 8 years ago

Also missing OneDriveClientExtensions.GetClientUsingOnlineIdAuthenticator. Used this for single sign on from windows 10 devices.

cdmayer commented 8 years ago

At this time those have not been ported to V2. You should be able to keep using V1,2 at this time.

@MannusEtten Can you point to what part of the documentation that is out of date? I'll make sure to update anything that is dated.

deRightDirection commented 8 years ago

the documentation about how to use the SDK in version 2.0 because now it is all pointing to the extension classes

Mogikan commented 6 years ago

For those like me replace OneDriveClientExtensions.GetClientUsingOnlineIdAuthenticator(Scopes) with var onlineIdProvider = new OnlineIdAuthenticationProvider(Scopes); await onlineIdProvider.RestoreMostRecentFromCacheOrAuthenticateUserAsync(); var client = new OneDriveClient("https://api.onedrive.com/v1.0", onlineIdProvider); Not sure what is the problem not to break backward compatibility.

olumide-oyetoke commented 6 years ago

@cdmayer it seems ver 2.x is still lacking in functionality since 2016. Please when will it be ported?