public HomeController( ClaimsBasedAuthenticationService claimsBasedAuthenticationService, UserAccountService userAccountService) { this.claimsBasedAuthenticationService = claimsBasedAuthenticationService; this.userAccountService = userAccountService; }
public LoginController( UserAccountService userService, ClaimsBasedAuthenticationService authSvc) { this.userAccountService = userService; this.authSvc = authSvc; }
protected override void Dispose(bool disposing) { if (disposing) { if (this.authSvc != null) { this.authSvc.Dispose(); this.authSvc = null; } } base.Dispose(disposing); }
protected override void Dispose(bool disposing) { if (disposing) { this.claimsBasedAuthenticationService.TryDispose(); this.claimsBasedAuthenticationService = null; this.userAccountService.TryDispose(); this.userAccountService = null; } base.Dispose(disposing); }
protected override void Dispose(bool disposing) { if (disposing) { if (this.userAccountService != null) { this.userAccountService.Dispose(); this.userAccountService = null; } if (this.authSvc != null) { this.authSvc.Dispose(); this.authSvc = null; } } base.Dispose(disposing); }
public LogoutController(ClaimsBasedAuthenticationService authSvc) { this.authSvc = authSvc; }
public ChangeUsernameController( UserAccountService userAccountService, ClaimsBasedAuthenticationService authSvc) { this.userAccountService = userAccountService; this.authSvc = authSvc; }