mini-software / MiniAuth

[Beta status] Plugin Identity Auth System in ONE Line of Code for your project (Like Swagger)
https://www.nuget.org/packages/MiniAuth
Apache License 2.0
23 stars 4 forks source link

one line code to startup for service and use middle middleware #147

Closed shps951023 closed 4 weeks ago

shps951023 commented 4 weeks ago
        public static void Main(string[] args)
        {
            var builder = WebApplication.CreateBuilder(args);
            builder.Services.AddMiniIdentityAuth();
            var app = builder.Build();
            app.Run();
        }