BasicAuthForWebAPI 1.0.4

.NET Framework 4.5
There is a newer version of this package available.
See the version list below for details.
Install-Package BasicAuthForWebAPI -Version 1.0.4
dotnet add package BasicAuthForWebAPI --version 1.0.4
<PackageReference Include="BasicAuthForWebAPI" Version="1.0.4" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add BasicAuthForWebAPI --version 1.0.4
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: BasicAuthForWebAPI, 1.0.4"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. 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=1.0.4

// Install BasicAuthForWebAPI as a Cake Tool
#tool nuget:?package=BasicAuthForWebAPI&version=1.0.4
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

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

Product Versions
.NET Framework net45 net451 net452 net46 net461 net462 net463 net47 net471 net472 net48
Compatible target framework(s)
Additional computed target framework(s)
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 21,290 10/26/2013
1.0.4 1,481 5/21/2013
1.0.3 1,119 5/21/2013
1.0.2 1,136 5/21/2013
1.0.1 1,128 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
   
     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());
       
     Please see the project site for more details.