/// <summary>
        ///  Login with Twitch. http://yourUrl/signin-Twitch will be used as the redirect URI
        /// </summary>
        /// <param name="app"></param>
        /// <param name="options"></param>
        /// <returns></returns>
        public static IAppBuilder UseTwitchAuthentication(this IAppBuilder app,
            TwitchAuthenticationOptions options)
        {
            if (app == null)
                throw new ArgumentNullException(nameof(app));
            if (options == null)
                throw new ArgumentNullException(nameof(options));

            app.Use(typeof(TwitchAuthenticationMiddleware), app, options);

            return app;
        }
        /// <summary>
        ///  Login with Twitch. http://yourUrl/signin-Twitch will be used as the redirect URI
        /// </summary>
        /// <param name="app"></param>
        /// <param name="options"></param>
        /// <returns></returns>
        public static IAppBuilder UseTwitchAuthentication(this IAppBuilder app,
                                                          TwitchAuthenticationOptions options)
        {
            if (app == null)
            {
                throw new ArgumentNullException("app");
            }
            if (options == null)
            {
                throw new ArgumentNullException("options");
            }

            app.Use(typeof(TwitchAuthenticationMiddleware), app, options);

            return(app);
        }