{"repo":"msmolka/ZNetCS.AspNetCore.Authentication.Basic","free":true,"listed":false,"github":"https://github.com/msmolka/ZNetCS.AspNetCore.Authentication.Basic","clone":"git clone https://github.com/msmolka/ZNetCS.AspNetCore.Authentication.Basic.git","description":"A simple basic authentication middleware.","language":"C#","stars":46,"topics":["aspnetcore","aspnet-core","asp-net-core","asp-net-core-mvc","authentication","basic","middleware"],"license":"MIT","category":"auth-billing-email","readme_excerpt":"ZNetCS.AspNetCore.Authentication.Basic A simple basic authentication middleware. Allows setup authentication using configuration or dependency injection and suppress WWW-Authenticate header globally or for AJAX request. Installing Install using the ZNetCS.AspNetCore.Authentication.Basic NuGet package Version history 6.0.0 Cleanup events initialization and nullable checkup. Events are now only initialized in handler not in options. Unless configured during initialization (no change in code is required, it is just code cleanup). Logger improvements. 5.0.0 Added direct references to latest framework and removed no longer supported frameworks. Added possibility to suppress WWWAuthenticate header globally not only on Ajax request. 4.0.0 From now assembly is signed. 3.0.0 The OnValidatePrincipal will not return AuthenticationResult any more. To simplify process can simply return Task.CompletedTask . Also to make success authentication Principal have to be assigned to ValidatePrincipalContext context. Usage When you install the package, it should be added to your .csproj . Alternatively, you can add it directly by adding: .NET 6 In order to use the basic authentication middleware, you must configure the services in the Program.cs file. or using dependency injection and then registration then .NET 5 and Below In order to use the basic authentication middleware, you must configure the services in the Configure and ConfigureServices call of Startup . Because basic authentication is man","default_branch":null,"files":null,"tree":[],"storefront":"/r/msmolka","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/msmolka/ZNetCS.AspNetCore.Authentication.Basic/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}