Example #1
0
 public EventHub(IApiKeyStore keyStore, IEventManager eventManager, IConnectionManager connectionManager, ILogger <EventHub> logger)
 {
     _keyStore          = keyStore;
     _eventManager      = eventManager;
     _connectionManager = connectionManager;
     _logger            = logger;
 }
Example #2
0
 public ApiKeyAuthenticationHandler(
     IOptionsMonitor <ApiKeyAuthenticationOptions> options,
     ILoggerFactory logger,
     UrlEncoder encoder,
     ISystemClock clock,
     IApiKeyStore store)
     : base(options, logger, encoder, clock)
 {
     _store = store ?? throw new ArgumentNullException(nameof(store));
 }
Example #3
0
 public JwtAuthenticationHandler(IOptionsMonitor <JwtBearerOptions> options,
                                 ILoggerFactory loggerFactory,
                                 UrlEncoder encoder,
                                 ISystemClock clock,
                                 IConfiguration configuration,
                                 IUserStore userStore,
                                 IApiKeyStore apiKeyStore)
     : base(options, loggerFactory, encoder, clock)
 {
     _log           = loggerFactory.CreateLogger <JwtAuthenticationHandler>();
     _configuration = configuration;
     _userStore     = userStore;
     _apiKeyStore   = apiKeyStore;
 }
 /// <summary>
 /// Constructor.
 /// </summary>
 /// <param name="store"></param>
 /// <param name="logger"> </param>
 /// <param name="blueprints"> </param>
 public BlueprintAjaxController(IApiKeyStore store, ILogger logger, IBlueprintRepository blueprints)
 {
     _store = store;
     _blueprints = blueprints;
     _logger = logger;
 }
Example #5
0
 public ApiKeyHandler(IApiKeyStore keyStore, IOptionsMonitor <ApiKeyOptions> options, ILoggerFactory logger, UrlEncoder encoder, ISystemClock clock) : base(options, logger, encoder, clock)
 {
     _keyStore = keyStore;
 }
Example #6
0
 public ApiKeyAuthenticationHandler(IApiKeyStore apikeyStore, IOptionsMonitor <ApiKeyOptions> options, ILoggerFactory loggerFactory, UrlEncoder encoder, ISystemClock clock)
     : base(options, loggerFactory, encoder, clock)
 {
     _apiKeyStore = apikeyStore ?? throw new ArgumentNullException(nameof(apikeyStore));
 }
Example #7
0
 public EventStoreController(DispatcherDatabaseContext context, IApiKeyStore store)
 {
     _context = context;
     _store   = store;
 }
 public ApiRequesterController(IApiKeyStore keyStore, IConfiguration configuration)
 {
     _keyStore      = keyStore;
     _configuration = configuration;
 }
 public PersistableController(IApiKeyStore apiKeyStore, DispatcherDatabaseContext context)
 {
     _apiKeyStore = apiKeyStore;
     _context     = context;
 }