Exemplo n.º 1
0
 private AccountController(UserManager<AppUser> userManager,
     ISecureDataFormat<AuthenticationTicket> accessTokenFormat,
     IAuthenticationService iAuthenticationService)
 {
     UserManager = userManager;
     AccessTokenFormat = accessTokenFormat;
     _iAuthenticationService = iAuthenticationService;
 }
Exemplo n.º 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;
 }