コード例 #1
0
 public HomeController(
     AuthenticationService AuthenticationService,
     UserAccountService userAccountService)
 {
     this.AuthenticationService = AuthenticationService;
     this.userAccountService = userAccountService;
 }
コード例 #2
0
 public AccountController(
     AuthenticationService<NhUserAccount> authenticationService,
     ISession session,
     UserAccountService<NhUserAccount> userAccountService)
 {
     this.authenticationService = authenticationService;
     this.session = session;
     this.userAccountService = userAccountService;
 }
コード例 #3
0
ファイル: HomeController.cs プロジェクト: hanoitown/vnsf
 protected override void Dispose(bool disposing)
 {
     if (disposing)
     {
         this.userAccountService.TryDispose();
         this.userAccountService = null;
         this.authenticationService.TryDispose();
         this.authenticationService = null;
     }
     base.Dispose(disposing);
 }
コード例 #4
0
 public LinkedAccountController(
     AuthenticationService<NhUserAccount> AuthenticationService)
 {
     this.authenticationService = AuthenticationService;
     this.userAccountService = AuthenticationService.UserAccountService;
 }
コード例 #5
0
 public ChangeUsernameController(AuthenticationService<NhUserAccount> authSvc)
 {
     this.userAccountService = authSvc.UserAccountService;
     this.authSvc = authSvc;
 }
コード例 #6
0
 public LogoutController(AuthenticationService<NhUserAccount> authSvc,IAuthenticationAuditService authenticationAuditService)
 {
     _authSvc = authSvc;
     _authenticationAuditService = authenticationAuditService;
 }
コード例 #7
0
 public PasswordResetController(AuthenticationService<NhUserAccount> authenticationService)
 {
     this.authenticationService = authenticationService;
     this.userAccountService = authenticationService.UserAccountService;
 }
コード例 #8
0
 public ChangeEmailController(AuthenticationService<CustomUser> authSvc)
 {
     this.userAccountService = authSvc.UserAccountService;
     this.authSvc = authSvc;
 }
コード例 #9
0
 public LoginController(AuthenticationService<NhUserAccount> authSvc)
 {
     this.userAccountService = authSvc.UserAccountService;
     this.authSvc = authSvc;
 }
コード例 #10
0
 public RegisterController(AuthenticationService<NhUserAccount> authSvc,IUserService userService)
 {
     this._authSvc = authSvc;
     this._userAccountService = authSvc.UserAccountService;
     _userService = userService;
 }
コード例 #11
0
 public AuthenticationController(UserAccountService<NhUserAccount> userAccountService,AuthenticationService<NhUserAccount> authenticationService)
 {
     _userAccountService = userAccountService;
     _authenticationService = authenticationService;
 }
コード例 #12
0
 public static void SetAuthenticationService(this IOwinContext ctx, AuthenticationService svc)
 {
     ctx.Set("mr.UserAuthenticationService", svc);
 }
コード例 #13
0
ファイル: HomeController.cs プロジェクト: hanoitown/vnsf
 //
 // GET: /Default1/
 public HomeController(UserAccountService userAccountService, AuthenticationService authenticationService)
 {
     this.userAccountService = userAccountService;
     this.authenticationService = authenticationService;
 }
コード例 #14
0
 public UserAccountController(AuthenticationService<HierarchicalUserAccount> authService)
 {
     _authService = authService;
     _userAccountService = authService.UserAccountService;
 }
 public AccountManagementService(ILoginDataParser loginDataParser, AuthenticationService authenticationService)
 {
     _loginDataParser = loginDataParser;
     _userAccountService = authenticationService.UserAccountService;
 }