BasicAuthForWebAPI
Metadata
Authors | Jamie Kurtz |
---|---|
Copyrights | Copyright 2013 |
Description | Provides easy implementation for Basic HTTP authentication in an ASP.NET Web API project. |
LicenseUrl | http://www.gnu.org/licenses/lgpl.html |
Owners | Jamie Kurtz |
ProjectUrl | https://github.com/jamiekurtz/BasicAuthForWebAPI |
ReleaseNotes | By default, will use the ASP.NET Membership Provider (http://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. |
RequireLicenseAcceptance | False |
Tags | REST ASP.NET WebAPI HTTP Basic Authentication |
Title | Jamie Kurtz's Basic Authentication for Web API |
PackageSize | 17265 |
PackageHashAlgorithm | SHA512 |
PackageHash | vvyfRgajVL3uRdEkbjRtfBHIUvNT5eBLr4Dg0WNv5buuTVQs1wi1gWaWnScT5lemhXi93PTqC1cve4Ek80BQhA== |
DownloadCount | 000000 |
CreatedDate | 2013-05-21T12:04:33 |
Access
You can access data for this project using the tools and addresses described below.
NuGet (nuget.exe)
- Installing the package (HTTP Basic authentication):
-
nuget install BasicAuthForWebAPI -Source http://nuget.gw.symbolsource.org/Public/NuGet/FeedService.mvc
- Installing the package (pre-authenticated):
-
nuget install BasicAuthForWebAPI -Source http://nuget.gw.symbolsource.org/Public/%login%/%key%/NuGet/FeedService.mvc
NuGet (Package Manager Console)
- Installing the package (search all configured feeds):
-
Install-Package BasicAuthForWebAPI
- Installing the package (HTTP Basic authentication):
-
Install-Package BasicAuthForWebAPI -Source http://nuget.gw.symbolsource.org/Public/NuGet/FeedService.mvc
- Installing the package (pre-authenticated):
-
Install-Package BasicAuthForWebAPI -Source http://nuget.gw.symbolsource.org/Public/%login%/%key%/NuGet/FeedService.mvc
- Uinstalling the package:
-
Uninstall-Package BasicAuthForWebAPI
OpenWrap
- Installing the package:
-
o add-wrap BasicAuthForWebAPI
- Uninstalling the package:
-
o remove-wrap BasicAuthForWebAPI
Versions
A version is snapshot of a project's source code. It does not need to follow the Major.Minor.Revision.Build numbering pattern. It can be an arbitrary string of text that identifies a release or a build, in particular including meaningful words like beta, RC or RTM.