public TenantClientSecretDownPartyController(TelemetryScopedLogger logger, IMapper mapper, ITenantRepository tenantService, SecretHashLogic secretHashLogic) : base(logger) { this.logger = logger; this.mapper = mapper; this.tenantService = tenantService; this.secretHashLogic = secretHashLogic; }
private AccountLogic AccountLogicInstance(int passwordLength = 8, bool checkPasswordComplexity = true, bool checkPasswordRisk = true) { var routeBinding = new RouteBinding { PasswordLength = passwordLength, CheckPasswordComplexity = checkPasswordComplexity, CheckPasswordRisk = checkPasswordRisk, }; var mockHttpContextAccessor = HttpContextAccessorHelper.MockObject(routeBinding); var telemetryScopedLogger = TelemetryLoggerHelper.ScopedLoggerObject(mockHttpContextAccessor); var fakeTenantRepository = new FakeTenantRepository(); var fakeMasterRepository = new FakeMasterRepository(); var secretHashLogic = new SecretHashLogic(mockHttpContextAccessor); var accountLogic = new AccountLogic(telemetryScopedLogger, fakeTenantRepository, fakeMasterRepository, secretHashLogic, mockHttpContextAccessor); return(accountLogic); }
public MasterTenantDocumentsSeedLogic(SeedSettings settings, SecretHashLogic secretHashLogic, SimpleTenantRepository simpleTenantRepository) { this.settings = settings; this.secretHashLogic = secretHashLogic; this.simpleTenantRepository = simpleTenantRepository; }
public TOidcClientSecretDownPartyController(TelemetryScopedLogger logger, IMapper mapper, ITenantRepository tenantRepository, SecretHashLogic secretHashLogic) : base(logger, mapper, tenantRepository, secretHashLogic) { }