using Owin;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace OwinSample.BasicAuthMiddleware
{
    public static class HttpBasicAuthenticationExtensions
    {
        public static void UseHttpBasic(this IAppBuilder app, HttpBasicAuthenticationOptions options)
        {
            app.Use(typeof(HttpBasicAuthenticationMiddleware), options);
        }
    }
}
