Пример #1
0
 public LikeFollowAnnounceHandler(IEntityStore entityStore, APEntity mainObject, APEntity actor, APEntity targetBox, ClaimsPrincipal user, CollectionTools collection, ServerConfig data, RelevantEntitiesService relevantEntities, IServiceProvider serviceProvider, DbConnection connection) : base(entityStore, mainObject, actor, targetBox, user)
 {
     _collection       = collection;
     _data             = data;
     _relevantEntities = relevantEntities;
     _serviceProvider  = serviceProvider;
     _connection       = connection;
 }
Пример #2
0
 public DeliveryService(DbConnection connection, CollectionTools collectionTools, ServerConfig configuration, IEntityStore store, RelevantEntitiesService relevantEntities)
 {
     _connection       = connection;
     _collectionTools  = collectionTools;
     _configuration    = configuration;
     _store            = store;
     _relevantEntities = relevantEntities;
 }
Пример #3
0
 public WellKnownController(IEntityStore entityStore, ServerConfig entityData, RelevantEntitiesService relevantEntities, KeyService keyService, DbConnection connection)
 {
     _entityStore      = entityStore;
     _entityData       = entityData;
     _relevantEntities = relevantEntities;
     _keyService       = keyService;
     _connection       = connection;
 }
Пример #4
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;
 }
Пример #5
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;
 }
Пример #6
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;
 }
Пример #7
0
 public FollowResponseHandler(IEntityStore entityStore, APEntity mainObject, APEntity actor, APEntity targetBox, ClaimsPrincipal user, CollectionTools collection, RelevantEntitiesService relevantEntities) : base(entityStore, mainObject, actor, targetBox, user)
 {
     _collection       = collection;
     _relevantEntities = relevantEntities;
 }
Пример #8
0
 public MastodonController(IEntityStore entityStore, RelevantEntitiesService relevantEntities, CollectionTools collectionTools)
 {
     _entityStore      = entityStore;
     _relevantEntities = relevantEntities;
     _collectionTools  = collectionTools;
 }
Пример #9
0
 public LikeFollowAnnounceHandler(StagingEntityStore entityStore, APEntity mainObject, APEntity actor, APEntity targetBox, ClaimsPrincipal user, CollectionTools collection, EntityData data, RelevantEntitiesService relevantEntities, IServiceProvider serviceProvider) : base(entityStore, mainObject, actor, targetBox, user)
 {
     _collection = collection;
     _data       = data;
 }
Пример #10
0
 public UpdateDeleteActivityHandler(IEntityStore entityStore, APEntity mainObject, APEntity actor, APEntity targetBox, ClaimsPrincipal user, RelevantEntitiesService relevantEntities) : base(entityStore, mainObject, actor, targetBox, user)
 {
     _relevantEntities = relevantEntities;
 }
Пример #11
0
 public AtomEntryParser(IEntityStore entityStore, EntityData entityConfiguration, RelevantEntitiesService relevantEntities)
 {
     _entityStore         = entityStore;
     _entityConfiguration = entityConfiguration;
     _relevantEntities    = relevantEntities;
 }
Пример #12
0
 public EntityFlattener(EntityData configuration, IHttpContextAccessor contextAccessor, RelevantEntitiesService relevantEntitiesService)
 {
     _configuration         = configuration;
     _contextAccessor       = contextAccessor;
     _relevantEntityService = relevantEntitiesService;
 }
Пример #13
0
 private RelevantEntitiesService _getRE() => _relevantEntities = _relevantEntities ?? _serviceProvider.GetService <RelevantEntitiesService>();