Using the sample AuthenticationHelper
and SimpleAuthenticationProvider
classes in this repo you can initialize a OneDriveClient
instance for the OneDrive SDK using:
var authenticationHelper = new AuthenticationHelper();
var client = await authenticationHelper
.GetSimpleAuthenticationProviderClientAsync(simpleAuthenticationProvider) as OneDriveClient;