public HomeController(
     AuthenticationService AuthenticationService,
     UserAccountService userAccountService)
 {
     this.AuthenticationService = AuthenticationService;
     this.userAccountService = userAccountService;
 }
 public AccountController(
     AuthenticationService<NhUserAccount> authenticationService,
     ISession session,
     UserAccountService<NhUserAccount> userAccountService)
 {
     this.authenticationService = authenticationService;
     this.session = session;
     this.userAccountService = userAccountService;
 }
Exemple #3
0
 protected override void Dispose(bool disposing)
 {
     if (disposing)
     {
         this.userAccountService.TryDispose();
         this.userAccountService = null;
         this.authenticationService.TryDispose();
         this.authenticationService = null;
     }
     base.Dispose(disposing);
 }
 public LinkedAccountController(
     AuthenticationService<NhUserAccount> AuthenticationService)
 {
     this.authenticationService = AuthenticationService;
     this.userAccountService = AuthenticationService.UserAccountService;
 }
 public ChangeUsernameController(AuthenticationService<NhUserAccount> authSvc)
 {
     this.userAccountService = authSvc.UserAccountService;
     this.authSvc = authSvc;
 }
 public LogoutController(AuthenticationService<NhUserAccount> authSvc,IAuthenticationAuditService authenticationAuditService)
 {
     _authSvc = authSvc;
     _authenticationAuditService = authenticationAuditService;
 }
 public PasswordResetController(AuthenticationService<NhUserAccount> authenticationService)
 {
     this.authenticationService = authenticationService;
     this.userAccountService = authenticationService.UserAccountService;
 }
 public ChangeEmailController(AuthenticationService<CustomUser> authSvc)
 {
     this.userAccountService = authSvc.UserAccountService;
     this.authSvc = authSvc;
 }
 public LoginController(AuthenticationService<NhUserAccount> authSvc)
 {
     this.userAccountService = authSvc.UserAccountService;
     this.authSvc = authSvc;
 }
 public RegisterController(AuthenticationService<NhUserAccount> authSvc,IUserService userService)
 {
     this._authSvc = authSvc;
     this._userAccountService = authSvc.UserAccountService;
     _userService = userService;
 }
 public AuthenticationController(UserAccountService<NhUserAccount> userAccountService,AuthenticationService<NhUserAccount> authenticationService)
 {
     _userAccountService = userAccountService;
     _authenticationService = authenticationService;
 }
 public static void SetAuthenticationService(this IOwinContext ctx, AuthenticationService svc)
 {
     ctx.Set("mr.UserAuthenticationService", svc);
 }
Exemple #13
0
 //
 // GET: /Default1/
 public HomeController(UserAccountService userAccountService, AuthenticationService authenticationService)
 {
     this.userAccountService = userAccountService;
     this.authenticationService = authenticationService;
 }
 public UserAccountController(AuthenticationService<HierarchicalUserAccount> authService)
 {
     _authService = authService;
     _userAccountService = authService.UserAccountService;
 }
 public AccountManagementService(ILoginDataParser loginDataParser, AuthenticationService authenticationService)
 {
     _loginDataParser = loginDataParser;
     _userAccountService = authenticationService.UserAccountService;
 }