2018-10-26 07:22:53 +02:00
|
|
|
|
using IdentityServer4.Services;
|
|
|
|
|
using Microsoft.AspNetCore.Mvc;
|
|
|
|
|
using Microsoft.Extensions.Logging;
|
2021-07-01 06:56:12 +02:00
|
|
|
|
using System;
|
2018-10-26 07:22:53 +02:00
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
using Teknik.Configuration;
|
|
|
|
|
using Teknik.IdentityServer.Security;
|
|
|
|
|
using Teknik.IdentityServer.ViewModels;
|
|
|
|
|
using Teknik.Logging;
|
|
|
|
|
|
|
|
|
|
namespace Teknik.IdentityServer.Controllers
|
|
|
|
|
{
|
|
|
|
|
public class HomeController : DefaultController
|
|
|
|
|
{
|
|
|
|
|
private readonly IIdentityServerInteractionService _interaction;
|
|
|
|
|
|
|
|
|
|
public HomeController(
|
|
|
|
|
ILogger<Logger> logger,
|
|
|
|
|
Config config,
|
|
|
|
|
IIdentityServerInteractionService interaction) : base(logger, config)
|
|
|
|
|
{
|
|
|
|
|
_interaction = interaction;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public IActionResult Index()
|
|
|
|
|
{
|
|
|
|
|
return View();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|