Skip to content

ginach/Simple-IAuthenticationProvider-sample-for-OneDrive-SDK

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Sample IAuthenticationProvider to initialize OneDrive SDK client from access token

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;

About

Sample code for a simple IAuthenticationProvider implementation for an app that already has an access code

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages