예제 #1
0
 public SetupController(IGraphDelegatedClient graphDelegatedClient, IGraphApplicationClient graphApplicationClient, IHostingEnvironment hostingEnvironment, ILogger <SetupController> logger)
 {
     _graphDelegatedClient   = graphDelegatedClient;
     _graphApplicationClient = graphApplicationClient;
     _hostingEnvironment     = hostingEnvironment;
     _logger = logger;
 }
예제 #2
0
 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;
 }
예제 #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;
 }