コード例 #1
0
 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;
 }