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