public AuthenticateWithUnlimitedAttempsStrategy( IPasswordHasher passwordHasher, IAuthenticateAttemptBusiness authenticateAttemptBusiness) { this.passwordHasher = passwordHasher; this.authenticateAttemptBusiness = authenticateAttemptBusiness; }
public AuthenticateWithRemainingAttempsStrategy( IPasswordHasher passwordHasher, IAuthenticateAttemptBusiness authenticateAttemptBusiness, ILockAccountBusiness lockAccountBusiness) { this.passwordHasher = passwordHasher; this.authenticateAttemptBusiness = authenticateAttemptBusiness; this.lockAccountBusiness = lockAccountBusiness; }
public LockAccountBusiness( ILockAccountData data, IAuthenticateAttemptBusiness authenticateAttemptBusiness, IUserBusiness userBusiness) { this.data = data; this.authenticateAttemptBusiness = authenticateAttemptBusiness; this.userBusiness = userBusiness; }
public AuthenticationBusiness( IOptions <AppSettings> appSettings, IPasswordHasher passwordHasher, IUserBusiness userBusiness, ILockAccountBusiness lockAccountBusiness, IAuthenticateAttemptBusiness authenticateAttemptBusiness, IAuthenticateAttempsStrategy authenticateAttempsStrategy, ITokenGenerationBusiness tokenGenerationBusiness) { this.appSettings = appSettings.Value; this.passwordHasher = passwordHasher; this.userBusiness = userBusiness; this.lockAccountBusiness = lockAccountBusiness; this.authenticateAttemptBusiness = authenticateAttemptBusiness; this.authenticateAttempsStrategy = authenticateAttempsStrategy; this.tokenGenerationBusiness = tokenGenerationBusiness; }