BasicAuthForWebAPI 1.0.2

Provides easy implementation for Basic HTTP authentication in an ASP.NET Web API project.

There is a newer version of this package available.
See the version list below for details.
Install-Package BasicAuthForWebAPI -Version 1.0.2
dotnet add package BasicAuthForWebAPI --version 1.0.2
<PackageReference Include="BasicAuthForWebAPI" Version="1.0.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add BasicAuthForWebAPI --version 1.0.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

By default, will use the ASP.NET Membership Provider ( But you can modify and extend this behavior in either or both of the following ways:
     - Pass your own IMembershipProvider to the BasicAuthenticationMessageHandler constructor
     - Set the GetAdditionalClaims property to a Func that returns a collection of System.Security.Claims.Claim objects
     To configure the authentication, place the following line somewhere in your startup code - e.g. the Register() method in /app_start/WebApiConfig.cs:
   GlobalConfiguration.Configuration.MessageHandlers.Add(new BasicAuthenticationMessageHandler());


This package has no dependencies.

Version History

Version Downloads Last updated
2.0.0 11,992 10/26/2013
1.0.4 797 5/21/2013
1.0.3 536 5/21/2013
1.0.2 537 5/21/2013
1.0.1 536 5/21/2013