示例#1
0
 public RetrievingEntityStore(IEntityStore next, EntityFlattener entityFlattener, IServiceProvider serviceProvider, IHttpContextAccessor contextAccessor)
 {
     Bypass           = next;
     _entityFlattener = entityFlattener;
     _serviceProvider = serviceProvider;
     _context         = contextAccessor?.HttpContext;
 }
示例#2
0
 public DeliverToActivityPubTask(EventQueueItem item, IEntityStore entityStore, EntityFlattener entityFlattener, IServiceProvider serviceProvider, DeliveryService deliveryService, APContext context, EntityData data) : base(item)
 {
     _entityStore     = entityStore;
     _entityFlattener = entityFlattener;
     _serviceProvider = serviceProvider;
     _deliveryService = deliveryService;
     _context         = context;
     _data            = data;
 }
示例#3
0
            public AtomConverter(IEntityStore entityStore, EntityFlattener flattener, AtomEntryParser parser, AtomEntryGenerator generator, AtomConverterFactory factory)
            {
                _entityStore = entityStore;
                _flattener   = flattener;
                _factory     = factory;

                _entryParser    = parser;
                _entryGenerator = generator;
            }
示例#4
0
 public DeliverToActivityPubTask(EventQueueItem item, IEntityStore entityStore, EntityFlattener entityFlattener, IServiceProvider serviceProvider, DeliveryService deliveryService, SignatureVerifier verifier, KeyService keyService) : base(item)
 {
     _entityStore     = entityStore;
     _entityFlattener = entityFlattener;
     _serviceProvider = serviceProvider;
     _deliveryService = deliveryService;
     _verifier        = verifier;
     _keyService      = keyService;
 }
示例#5
0
            public SalmonConverter(IEntityStore entityStore, EntityFlattener flattener, AtomEntryParser parser, AtomEntryGenerator generator, SalmonConverterFactory factory, KeyService keyService)
            {
                _entityStore = entityStore;
                _flattener   = flattener;
                _factory     = factory;

                _entryParser    = parser;
                _entryGenerator = generator;
                _keyService     = keyService;
            }
示例#6
0
            public SalmonConverter(IEntityStore entityStore, EntityFlattener flattener, AtomEntryParser parser, AtomEntryGenerator generator, SalmonConverterFactory factory, APContext context)
            {
                _entityStore = entityStore;
                _flattener   = flattener;
                _factory     = factory;

                _entryParser    = parser;
                _entryGenerator = generator;
                _context        = context;
            }
示例#7
0
 public AdminController(APContext context, IEntityStore entityStore, EntityData entityData, JwtTokenSettings tokenSettings, SignInManager <APUser> signInManager, IServiceProvider provider, IConfigurationRoot configuration, EntityFlattener flattener, UserManager <APUser> userManager, RelevantEntitiesService relevantEntities, CollectionTools collectionTools)
 {
     _context          = context;
     _entityStore      = entityStore;
     _entityData       = entityData;
     _tokenSettings    = tokenSettings;
     _signInManager    = signInManager;
     _provider         = provider;
     _configuration    = configuration;
     _flattener        = flattener;
     _userManager      = userManager;
     _relevantEntities = relevantEntities;
     _collectionTools  = collectionTools;
 }
示例#8
0
 public AuthController(APContext context, UserManager <APUser> userManager, SignInManager <APUser> signInManager, JwtTokenSettings tokenSettings, EntityFlattener entityFlattener, IEntityStore entityStore, AtomEntryParser entryParser, AtomEntryGenerator entryGenerator, EntityData entityConfiguration, IDataProtectionProvider dataProtectionProvider, IConfigurationRoot configuration, DeliveryService deliveryService)
 {
     _context             = context;
     _userManager         = userManager;
     _signInManager       = signInManager;
     _tokenSettings       = tokenSettings;
     _entityFlattener     = entityFlattener;
     _entityStore         = entityStore;
     _entryParser         = entryParser;
     _entryGenerator      = entryGenerator;
     _entityConfiguration = entityConfiguration;
     _dataProtector       = dataProtectionProvider.CreateProtector("OAuth tokens");
     _configuration       = configuration;
     _deliveryService     = deliveryService;
 }
示例#9
0
 public SettingsController(DbConnection connection, IEntityStore entityStore, EntityData entityData, JwtTokenSettings tokenSettings, SignInManager <APUser> signInManager, IServiceProvider provider, IConfigurationRoot configuration, EntityFlattener flattener, UserManager <APUser> userManager, RelevantEntitiesService relevantEntities, CollectionTools collectionTools, TemplateService templateService)
 {
     _connection       = connection;
     _entityStore      = entityStore;
     _entityData       = entityData;
     _tokenSettings    = tokenSettings;
     _signInManager    = signInManager;
     _provider         = provider;
     _configuration    = configuration;
     _flattener        = flattener;
     _userManager      = userManager;
     _relevantEntities = relevantEntities;
     _collectionTools  = collectionTools;
     _templateService  = templateService;
 }
示例#10
0
 public GetEntityHandler(APContext acontext, EntityFlattener flattener, IEntityStore mainStore,
                         AtomEntryGenerator entryGenerator, IServiceProvider serviceProvider, DeliveryService deliveryService,
                         EntityData entityData, ClaimsPrincipal user, CollectionTools collectionTools, INotifier notifier, JwtTokenSettings tokenSettings)
 {
     _context         = acontext;
     _flattener       = flattener;
     _mainStore       = mainStore;
     _entryGenerator  = entryGenerator;
     _serviceProvider = serviceProvider;
     _entityData      = entityData;
     _deliveryService = deliveryService;
     _user            = user;
     _collectionTools = collectionTools;
     _notifier        = notifier;
     _tokenSettings   = tokenSettings;
 }
示例#11
0
 public AuthController(DbConnection connection, UserManager <APUser> userManager, SignInManager <APUser> signInManager, JwtTokenSettings tokenSettings, EntityFlattener entityFlattener, IEntityStore entityStore, EntityData entityConfiguration, IDataProtectionProvider dataProtectionProvider, IConfigurationRoot configuration, DeliveryService deliveryService, SignatureVerifier verifier, IServiceProvider provider, CollectionTools collectionTools, RelevantEntitiesService relevantEntities)
 {
     _connection          = connection;
     _userManager         = userManager;
     _signInManager       = signInManager;
     _tokenSettings       = tokenSettings;
     _entityFlattener     = entityFlattener;
     _entityStore         = entityStore;
     _entityConfiguration = entityConfiguration;
     _dataProtector       = dataProtectionProvider.CreateProtector("OAuth tokens");
     _configuration       = configuration;
     _deliveryService     = deliveryService;
     _verifier            = verifier;
     _provider            = provider;
     _collectionTools     = collectionTools;
     _relevantEntities    = relevantEntities;
 }
示例#12
0
 public GetEntityHandler(DbConnection connection, EntityFlattener flattener, IEntityStore mainStore,
                         IServiceProvider serviceProvider, DeliveryService deliveryService, ServerConfig entityData,
                         ClaimsPrincipal user, CollectionTools collectionTools, INotifier notifier, JwtTokenSettings tokenSettings,
                         SignatureVerifier verifier, IAuthorizer authorizer)
 {
     _connection      = connection;
     _flattener       = flattener;
     _mainStore       = mainStore;
     _serviceProvider = serviceProvider;
     _entityData      = entityData;
     _deliveryService = deliveryService;
     _user            = user;
     _collectionTools = collectionTools;
     _notifier        = notifier;
     _tokenSettings   = tokenSettings;
     _verifier        = verifier;
     _authorizer      = authorizer;
 }
示例#13
0
 public RefreshCommand(IEntityStore entityStore, EntityFlattener entityFlattener, IServiceProvider provider)
 {
     _entityStore     = entityStore;
     _entityFlattener = entityFlattener;
     _provider        = provider;
 }
示例#14
0
 public AS2Converter(IEntityStore entityStore, EntityFlattener flattener, AS2ConverterFactory factory)
 {
     _entityStore = entityStore;
     _flattener   = flattener;
     _factory     = factory;
 }
示例#15
0
 public CalculateVisibilityCommand(TripleEntityStore entityStore, NpgsqlConnection connection, EntityFlattener entityFlattener, IServiceProvider provider)
 {
     _entityStore = entityStore;
     _connection  = connection;
     _provider    = provider;
 }