public OpenIdConnectAuthenticationPatchedMiddleware(Microsoft.Owin.OwinMiddleware next, Owin.IAppBuilder app, Microsoft.Owin.Security.OpenIdConnect.OpenIdConnectAuthenticationOptions options)
     : base(next, app, options)
 {
     this._logger = Microsoft.Owin.Logging.AppBuilderLoggerExtensions.CreateLogger <OpenIdConnectAuthenticationPatchedMiddleware>(app);
 }
 public static Owin.IAppBuilder UseOpenIdConnectAuthenticationPatched(this Owin.IAppBuilder app, Microsoft.Owin.Security.OpenIdConnect.OpenIdConnectAuthenticationOptions openIdConnectOptions)
 {
     if (app == null)
     {
         throw new System.ArgumentNullException("app");
     }
     if (openIdConnectOptions == null)
     {
         throw new System.ArgumentNullException("openIdConnectOptions");
     }
     System.Type type     = typeof(OpenIdConnectAuthenticationPatchedMiddleware);
     object[]    objArray = new object[] { app, openIdConnectOptions };
     return(app.Use(type, objArray));
 }