OWIN Authentication Pipeline To Use Katana Middleware Correctly?
As @Tratcher said, the AuthenticationType parameter is used by Microsoft.Owin.Security as a key to do lookups of authentication middleware instances. The code below will use the following simple helper method to require that all requests are authenticated. In practice you’re more likely to use an [Authorize] attribute on sensitive controllers, but I wanted an example … Read more