Ejemplo n.º 1
0
 public AppIdentityQuery(
     IAppIdentityConfiguration appIdentityConfiguration,
     ITokenMintingService tokenMintingService,
     ITokenValidator tokenValidator)
 {
     _appIdentityConfiguration = appIdentityConfiguration;
     _tokenMintingService      = tokenMintingService;
     _tokenValidator           = tokenValidator;
 }
 public BriarRabbitInProcTokenExchangeHandler(
     ITokenValidator tokenValidator,
     ITokenMintingService tokenMintingService,
     IHttpContextAccessor httpContextAssessor,
     ISummaryLogger summaryLogger)
 {
     _tokenValidator      = tokenValidator;
     _tokenMintingService = tokenMintingService;
     _httpContextAssessor = httpContextAssessor;
     _summaryLogger       = summaryLogger;
 }
 public SelfIdentityTokenExchangeHandler(
     ITokenValidator tokenValidator,
     ITokenMintingService tokenMintingService,
     IHttpContextAccessor httpContextAssessor,
     ISummaryLogger summaryLogger)
 {
     _tokenValidator      = tokenValidator;
     _tokenMintingService = tokenMintingService;
     _httpContextAssessor = httpContextAssessor;
     _summaryLogger       = summaryLogger;
 }
 public ExternalExchangeTokenExchangeHandler(
     IDefaultHttpClientFactory defaultHttpClientFactory,
     IOptionsSnapshot <TokenClientOptions> optionsSnapshot,
     ITokenMintingService tokenMintingService,
     IMemoryCache memoryCache,
     IHttpContextAccessor httpContextAssessor,
     ISummaryLogger summaryLogger,
     ILogger <ExternalExchangeTokenExchangeHandler> logger
     )
 {
     _defaultHttpClientFactory = defaultHttpClientFactory;
     _cacheKey            = "a9c4c7b7-dbb1-4d24-a78d-b8f89cc9ca83";
     _optionsSnapshot     = optionsSnapshot;
     _memoryCache         = memoryCache;
     _httpContextAssessor = httpContextAssessor;
     _tokenMintingService = tokenMintingService;
     _summaryLogger       = summaryLogger;
     _logger = logger;
 }