AuthController.cs 828 B

123456789101112131415161718192021222324252627282930313233
  1. using GreenTree.Nachtragsmanagement.Services.User;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Linq;
  5. using System.Web;
  6. using System.Web.Mvc;
  7. namespace GreenTree.Nachtragsmanagement.Web.Controllers
  8. {
  9. public abstract class AuthController : Controller
  10. {
  11. private readonly IAuthenticationService _authenticationService;
  12. private readonly IUserService _userService;
  13. public AuthController(
  14. IAuthenticationService authenticationService,
  15. IUserService userService)
  16. {
  17. _authenticationService = authenticationService;
  18. _userService = userService;
  19. Authenticate();
  20. }
  21. /// <summary>
  22. /// Authenticates the current
  23. /// </summary>
  24. public void Authenticate()
  25. {
  26. }
  27. }
  28. }