Exemplo n.º 1
0
 public UserController(IGraphTokenService graphTokenService, IUserService azureAdUserService, IHttpClientFactory httpClientFactory, IMapper mapper, IGroupService groupService, ISecretService secretService, IDomainService domainService)
     : base(graphTokenService, httpClientFactory, secretService)
 {
     _azureAdUserService = azureAdUserService;
     _domainService      = domainService;
     _mapper             = mapper;
 }
Exemplo n.º 2
0
 public MailService(
     IGraphTokenService tokenService,
     IHttpContextAccessor httpContextAccessor
     )
 {
     this.tokenService = tokenService;
     this.service      = service;
 }
Exemplo n.º 3
0
 public ProfileController(
     ILogger <ProfileController> logger,
     IWebHostEnvironment env,
     IConfiguration configuration,
     IGraphTokenService graphTokenService
     )
 {
     this.logger            = logger;
     this.env               = env;
     this.configuration     = configuration;
     this.graphTokenService = graphTokenService;
 }
Exemplo n.º 4
0
 public GraphProxyController(
     IHttpClientFactory factory,
     IGraphTokenService graphTokenService,
     ILogger <GraphProxyController> logger,
     IMemoryCache memoryCache
     )
 {
     this.factory           = factory;
     this.graphTokenService = graphTokenService;
     this.logger            = logger;
     this.memoryCache       = memoryCache;
 }
Exemplo n.º 5
0
 public GlowAadFakeAuthenticationHandler(
     IOptionsMonitor <AuthenticationSchemeOptions> options,
     ILoggerFactory logger,
     UrlEncoder encoder,
     ISystemClock clock,
     IHttpContextAccessor httpContextAccessor,
     IHttpClientFactory clientFactory,
     IConfiguration configuration,
     IOptions <AadFakeAuthenticationOptions> fakeAuthOptions,
     IGraphTokenService tokenService
     )
     : base(options, logger, encoder, clock)
 {
     this.httpContextAccessor = httpContextAccessor;
     this.clientFactory       = clientFactory;
     this.configuration       = configuration;
     this.fakeAuthOptions     = fakeAuthOptions;
     this.tokenService        = tokenService;
 }
Exemplo n.º 6
0
 public GraphProfileController(IGraphTokenService graphTokenService)
 {
     this.graphTokenService = graphTokenService;
 }
Exemplo n.º 7
0
 public TeamsController(IGraphTokenService graphTokenService, IMemoryCache memoryCache)
 {
     this.graphTokenService = graphTokenService;
     this.memoryCache       = memoryCache;
 }