Пример #1
0
 public TokenService(
     IOptions <AppConfig> options,
     ITokenCacheService tokenCacheService,
     ILogger <TokenService> logger)
 {
     _adOptions         = options?.Value?.AzureAd;
     _tokenCacheService = tokenCacheService;
     _logger            = logger;
 }
 public AuthEvents(AzureAdConfig azureAdConfig, ILoggerFactory loggerFactory)
 {
     _azureAdConfig = azureAdConfig;
     _logger        = loggerFactory.CreateLogger <AuthEvents>();
 }