示例#1
0
 public ClientRepository(IDbContext context, IClientAllowedGrantTypeRepository clientAllowedGrantTypeRepository, IClientPostLogoutRedirectUrisRepository clientPostLogoutRedirectUrisRepository, IClientSecretRepository clientSecretRepository, IClientRedirectUrisRepository clientRedirectUrisRepository, IClientPropertyRepository clientPropertyRepository, IClientClaimRepository clientClaimRepository, IClientIdentityProviderRestrictionRepository clientIdentityProviderRestrictionRepository, IClientAllowedCorsOriginsRepository clientAllowedCorsOriginsRepository, IClientAllowedScopesRepository clientAllowedScopesRepository) : base(context)
 {
     _clientAllowedGrantTypeRepository       = clientAllowedGrantTypeRepository;
     _clientPostLogoutRedirectUrisRepository = clientPostLogoutRedirectUrisRepository;
     _clientSecretRepository       = clientSecretRepository;
     _clientRedirectUrisRepository = clientRedirectUrisRepository;
     _clientPropertyRepository     = clientPropertyRepository;
     _clientClaimRepository        = clientClaimRepository;
     _clientIdentityProviderRestrictionRepository = clientIdentityProviderRestrictionRepository;
     _clientAllowedCorsOriginsRepository          = clientAllowedCorsOriginsRepository;
     _clientAllowedScopesRepository = clientAllowedScopesRepository;
     _clientRepository = Context.GetRepository <Client>();
 }
示例#2
0
 public ClientService(IClientRepository clientRepository,
                      IClientSecretRepository clientSecretRepository,
                      IClientClaimRepository clientCliamRepository,
                      IClientPropertyRepository clientPropertyRepository,
                      IMapper mapper, IMediatorHandler bus)
 {
     _clientRepository         = clientRepository;
     _clientSecretRepository   = clientSecretRepository;
     _clientCliamRepository    = clientCliamRepository;
     _clientPropertyRepository = clientPropertyRepository;
     _mapper = mapper;
     _bus    = bus;
 }
示例#3
0
 public ClientCommandHandler(
     IAdimUnitOfWork uow,
     IMediatorHandler bus,
     INotificationHandler <DomainNotification> notifications,
     IClientRepository clientRepository,
     IClientSecretRepository clientSecretRepository,
     IClientPropertyRepository clientPropertyRepository,
     IClientClaimRepository clientClaimRepository) : base(uow, bus, notifications)
 {
     _clientRepository         = clientRepository;
     _clientSecretRepository   = clientSecretRepository;
     _clientPropertyRepository = clientPropertyRepository;
     _clientClaimRepository    = clientClaimRepository;
 }
示例#4
0
 public ClientAppService(IMapper mapper,
                         IMediatorHandler bus,
                         IEventStoreRepository eventStoreRepository,
                         IClientRepository clientRepository,
                         IClientPropertyRepository clientPropertyRepository,
                         IClientSecretRepository clientSecretRepository,
                         IClientClaimRepository clientClaimRepository)
 {
     _mapper = mapper;
     Bus     = bus;
     _eventStoreRepository     = eventStoreRepository;
     _clientRepository         = clientRepository;
     _clientPropertyRepository = clientPropertyRepository;
     _clientSecretRepository   = clientSecretRepository;
     _clientClaimRepository    = clientClaimRepository;
 }
 public ClientPropertyService(IClientPropertyRepository repository)
 {
     _repository = repository;
 }