Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private static GraphServiceClient GetAuthenticatedGraphClient(IConfigurationRoot config, string userName, SecureString userPassword)
- {
- var authenticationProvider = CreateAuthorizationProvider(config, userName, userPassword);
- var graphClient = new GraphServiceClient(authenticationProvider);
- return graphClient;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement