OWIN middleware for authenticating users using a CogniStreamer portal.
Install-Package Owin.Security.CogniStreamer
app.UseCogniStreamerAuthentication(new CogniStreamerAuthenticationOptions
{
ClientId = "OAuth2ClientId",
ClientSecret = "OAuth2ClientSecret",
PortalBaseUrl = new Uri("https://portalurl/"),
AuthenticationMode = AuthenticationMode.Active,
SignInAsAuthenticationType = CookieAuthenticationDefaults.AuthenticationType,
});