/owin-security-cognistreamer

OWIN middleware for authenticating users using a CogniStreamer portal

Primary LanguageC#Apache License 2.0Apache-2.0

Owin.Security.CogniStreamer

Build status

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,
});