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

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

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

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

            return(app);
        }