BasicAuthForWebAPI 2.0.0

dotnet add package BasicAuthForWebAPI --version 2.0.0                
NuGet\Install-Package BasicAuthForWebAPI -Version 2.0.0                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="BasicAuthForWebAPI" Version="2.0.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add BasicAuthForWebAPI --version 2.0.0                
#r "nuget: BasicAuthForWebAPI, 2.0.0"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install BasicAuthForWebAPI as a Cake Addin
#addin nuget:?package=BasicAuthForWebAPI&version=2.0.0

// Install BasicAuthForWebAPI as a Cake Tool
#tool nuget:?package=BasicAuthForWebAPI&version=2.0.0                

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

Product Compatible and additional computed target framework versions.
.NET Framework net45 is compatible.  net451 was computed.  net452 was computed.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2.0.0 33,401 10/26/2013
1.0.4 2,038 5/21/2013
1.0.3 1,401 5/21/2013
1.0.2 1,414 5/21/2013
1.0.1 1,409 5/21/2013

By default, will use the ASP.NET Membership Provider (https://msdn.microsoft.com/en-us/library/yh26yfzy(v=VS.100).aspx). 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
     - Set the IssueChallengeResponse to true to allow only authenticated callers and tell browsers to prompt for credentials

     To configure this module, 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());

     And then make sure you use the [Authorize] attribute to protect your controllers and their actions - either with a global filter or on individual controllers and actions.

     Please see the project site for more details.