Esempio n. 1
0
 public MyInformation(PublicClientApplication app, HttpClient client)
 {
     tokenAcquisitionHelper = new PublicAppUsingUsernamePassword(app);
     protectedApiCallHelper = new ProtectedApiCallHelper(client);
 }
Esempio n. 2
0
 public MyInformation(IPublicClientApplication app, HttpClient client, string microsoftGraphBaseEndpoint)
 {
     tokenAcquisitionHelper     = new PublicAppUsingUsernamePassword(app);
     protectedApiCallHelper     = new ProtectedApiCallHelper(client);
     MicrosoftGraphBaseEndpoint = microsoftGraphBaseEndpoint;
 }