Ejemplo n.º 1
0
 public ProxyController(IWebHostEnvironment hostingEnvironment, IGraphServiceClientFactory graphServiceClientFactory)
 {
     _env = hostingEnvironment;
     _graphServiceClientFactory = graphServiceClientFactory;
 }
Ejemplo n.º 2
0
 public ExampleUsingGraph(IGraphServiceClientFactory factory)
 {
     _factory = factory;
 }
 public HomeController(IWebHostEnvironment hostingEnvironment, IGraphServiceClientFactory graphServiceClientFactory, IConfiguration configuration)
 {
     _env = hostingEnvironment;
     _graphServiceClientFactory = graphServiceClientFactory;
     _configuration             = configuration;
 }
Ejemplo n.º 4
0
 public UsersController(IGraphServiceClientFactory graphServiceClientFactory, IConfiguration configuration)
 {
     _azureOptions = new AzureAdOptions();
     configuration.Bind("AzureAd", _azureOptions);
     _graphServiceClientFactory = graphServiceClientFactory;
 }