public PersistedGrantService(IPersistedGrantRepository persistedGrantRepository, IPersistedGrantServiceResources persistedGrantServiceResources, IAuditEventLogger auditEventLogger) { PersistedGrantRepository = persistedGrantRepository; PersistedGrantServiceResources = persistedGrantServiceResources; AuditEventLogger = auditEventLogger; }
public PersistedGrantCommandHandler( IUnitOfWork uow, IMediatorHandler bus, INotificationHandler <DomainNotification> notifications, IPersistedGrantRepository persistedGrantRepository) : base(uow, bus, notifications) { _persistedGrantRepository = persistedGrantRepository; }
public PersistedGrantRepositoryTest() { var options = new DbContextOptionsBuilder <PersistedGrantDbContext>() .UseInMemoryDatabase("RivaIdentityIdentityServerIntegrationTestsDb").Options; _context = new PersistedGrantDbContext(options, new OperationalStoreOptions()); _persistedGrantRepository = new PersistedGrantRepository(_context); }
public PersistedGrantAppService(IMapper mapper, IMediatorHandler bus, IPersistedGrantRepository persistedGrantRepository) { _mapper = mapper; Bus = bus; _persistedGrantRepository = persistedGrantRepository; }
public AccountDataConsistencyService(RivaIdentityDbContext rivaIdentityDbContext, PersistedGrantDbContext persistedGrantDbContext, IAccountRepository accountRepository, IPersistedGrantRepository persistedGrantRepository) { _rivaIdentityDbContext = rivaIdentityDbContext; _persistedGrantDbContext = persistedGrantDbContext; _accountRepository = accountRepository; _persistedGrantRepository = persistedGrantRepository; }
public LoggedOutInteractor(ILogoutService logoutService, IPersistedGrantRepository persistedGrantRepository, IClaimsPrincipalService claimsPrincipalService, ISignOutService signOutService, ISchemeService schemeService) { _logoutService = logoutService; _persistedGrantRepository = persistedGrantRepository; _claimsPrincipalService = claimsPrincipalService; _signOutService = signOutService; _schemeService = schemeService; }
public UnitOfWork(AppDbContext context) { this._context = context; // repos instantations here... Clients = new ClientRepository(this._context); Users = new UserRepository(this._context); UserSessions = new UserSessionRepository(this._context); PersistedGrants = new PersistedGrantRepository(this._context); }
public PersistedGrantAppService(IMapper mapper, IMediatorHandler bus, IEventStoreRepository eventStoreRepository, IPersistedGrantRepository persistedGrantRepository, IUserService userService) { _mapper = mapper; Bus = bus; _eventStoreRepository = eventStoreRepository; _persistedGrantRepository = persistedGrantRepository; _userService = userService; }
public PersistedGrantService(IPersistedGrantRepository persistedGrantRepository, IPersistedGrantServiceResources persistedGrantServiceResources) { _persistedGrantRepository = persistedGrantRepository; _persistedGrantServiceResources = persistedGrantServiceResources; }
public PersistedGrantStore(IPersistedGrantRepository context, ILogger <PersistedGrantStore> logger) { _context = context; _logger = logger; }
public PersistedGrantService(IPersistedGrantRepository repository) { _repository = repository; }
public PersistedGrantStoreAdapter(IPersistedGrantRepository repository) { this._repository = repository; }