/*private readonly ILogger logger;*/ public AuthenticationProvider(IReferencedDataManager referencedDataManager, /*ILogger logger, */IPasswordHasher passwordHasher, IAuthenticationTokenCryptography authenticationTokenCryptography) { this.referencedDataManager = referencedDataManager; /*this.logger = logger;*/ this.passwordHasher = passwordHasher; this.authenticationTokenCryptography = authenticationTokenCryptography; }
public AuthenticationProvider(IAuthenticationTokenCryptography authenticationTokenCryptography, IPasswordHasher passwordHasher, IUserStorage <TUser> userStorage) { this.authenticationTokenCryptography = authenticationTokenCryptography; this.passwordHasher = passwordHasher; this.userStorage = userStorage; }
public WebApiAuthenticationProvider( IUserStorage <TUser> userStorage, IWebApiAuthenticationCookieManager webApiAuthenticationCookieManager, IAuthenticationTokenCryptography authenticationTokenCryptography, IAuthenticationProvider <TUser> authenticationProvider, ILoginBruteForceProtector loginBruteForceProtector, IPasswordBruteForceProtector passwordBruteForceProtector, ILogger log) { this.userStorage = userStorage; this.webApiAuthenticationCookieManager = webApiAuthenticationCookieManager; this.authenticationTokenCryptography = authenticationTokenCryptography; this.authenticationProvider = authenticationProvider; this.loginBruteForceProtector = loginBruteForceProtector; this.passwordBruteForceProtector = passwordBruteForceProtector; this.log = log; }