public static IAppBuilder UseGitterAuthentication(this IAppBuilder app, GitterAuthenticationOptions options) { if (app == null) throw new ArgumentNullException("app"); if (options == null) throw new ArgumentNullException("options"); app.Use(typeof(GitterAuthenticationMiddleware), app, options); return app; }
public static IAppBuilder UseGitterAuthentication(this IAppBuilder app, GitterAuthenticationOptions options) { if (app == null) { throw new ArgumentNullException("app"); } if (options == null) { throw new ArgumentNullException("options"); } app.Use(typeof(GitterAuthenticationMiddleware), app, options); return(app); }