a guest Jan 29th, 2020 78 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. private static GraphServiceClient GetAuthenticatedGraphClient(IConfigurationRoot config, string userName, SecureString userPassword)
  2. {
  3.   var authenticationProvider = CreateAuthorizationProvider(config, userName, userPassword);
  4.   var graphClient = new GraphServiceClient(authenticationProvider);
  5.   return graphClient;
  6. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand