Esempio n. 1
0
 public SetupController(IGraphDelegatedClient graphDelegatedClient, IGraphApplicationClient graphApplicationClient, IHostingEnvironment hostingEnvironment, ILogger <SetupController> logger)
 {
     _graphDelegatedClient   = graphDelegatedClient;
     _graphApplicationClient = graphApplicationClient;
     _hostingEnvironment     = hostingEnvironment;
     _logger = logger;
 }
 public UsersService(IGraphApplicationClient graphClient, IHttpContextAccessor context, IWebHostEnvironment webHostEnvironment, IOptions <AdminConfig> options, ILogger <UsersService> logger)
 {
     _graphApplicationClient = graphClient;
     _context            = context;
     _webHostEnvironment = webHostEnvironment;
     _logger             = logger;
     _membersGroupId     = options.Value.MembersGroupId;
 }
Esempio n. 3
0
 public UsersService(IGraphApplicationClient graphClient, IGraphDelegatedClient graphDelegatedClient, IHttpContextAccessor context, IOptions <AdminConfig> options, IOptionsMonitor <OpenIdConnectOptions> oidcOptions)
 {
     _graphApplicationClient = graphClient;
     _graphDelegatedClient   = graphDelegatedClient;
     _context        = context;
     _oidcOptions    = oidcOptions;
     _membersGroupId = options.Value.MembersGroupId;
 }