The next generation of the Teknik Services. Written in ASP.NET. https://www.teknik.io/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

HomeController.cs 769B

1234567891011121314151617181920212223242526272829
  1. using IdentityServer4.Services;
  2. using Microsoft.AspNetCore.Mvc;
  3. using Microsoft.Extensions.Logging;
  4. using System.Threading.Tasks;
  5. using Teknik.Configuration;
  6. using Teknik.IdentityServer.Security;
  7. using Teknik.IdentityServer.ViewModels;
  8. using Teknik.Logging;
  9. namespace Teknik.IdentityServer.Controllers
  10. {
  11. public class HomeController : DefaultController
  12. {
  13. private readonly IIdentityServerInteractionService _interaction;
  14. public HomeController(
  15. ILogger<Logger> logger,
  16. Config config,
  17. IIdentityServerInteractionService interaction) : base(logger, config)
  18. {
  19. _interaction = interaction;
  20. }
  21. public IActionResult Index()
  22. {
  23. return View();
  24. }
  25. }
  26. }