I currently have a standalone Owin application that runs on Windows as follows:
public class Program
{
private static void Main(string[] args)
{
using (WebApp.Start<Startup>("http://localhost:9000"))
{
Console.WriteLine("Press Enter to quit.");
Console.ReadKey();
}
}
}
public class Startup
{
public void Configuration(IAppBuilder app)
{
var listener = (HttpListener) app.Properties["System.Net.HttpListener"];
listener.AuthenticationSchemes = AuthenticationSchemes.IntegratedWindowsAuthentication;
app.UseNancy();
}
When the request arrives, the user is verified using his Windows domain credentials.
For ASPNetCore, I was wondering if there is a similar setting that can be used, but the application runs on Linux using the Kestrel web server.
, , Windows 2016 OpenIdConnect, , IdentityServer, Windows, Linux, , , , " " , , .
/ .