예제 #1
0
 private AccountController(UserManager<AppUser> userManager,
     ISecureDataFormat<AuthenticationTicket> accessTokenFormat,
     IAuthenticationService iAuthenticationService)
 {
     UserManager = userManager;
     AccessTokenFormat = accessTokenFormat;
     _iAuthenticationService = iAuthenticationService;
 }
예제 #2
0
 public AccountController(UserManager<AppUser> userManager,
     ISecureDataFormat<AuthenticationTicket> accessTokenFormat, IEmailSender iEmailSender,
     IAuthenticationService iAuthenticationService, IUnitOfWork iUnitOfWork)
 {
     UserManager = userManager;
     AccessTokenFormat = accessTokenFormat;
     _iEmailSender = iEmailSender;
     _iAuthenticationService = iAuthenticationService;
     _iUnitOfWork = iUnitOfWork;
 }