2,678

Downloads

328

Downloads of v 1.0.4

2

Average downloads per day

2013-05-21

Last published

Share on Social Networks

License details

provided by Sonatype

LGPL-3.0

Jamie Kurtz's Basic Authentication...

1.0.4

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

To install Jamie Kurtz's Basic Authentication for Web API, run the following command in the Package Manager Console

Install-Package BasicAuthForWebAPI -Version 1.0.4

Release Notes

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.

Owners

Authors

Jamie Kurtz

Copyright

Copyright 2013

Tags

Dependencies

This package has no dependencies.

Version History

Version Downloads Last updated
Jamie Kurtz's... 1.0.4 (this version) 328 Tuesday, May 21, 2013
BasicAuthForWebAPI 1.0.3 164 Tuesday, May 21, 2013
BasicAuthForWebAPI 1.0.2 165 Tuesday, May 21, 2013
BasicAuthForWebAPI 1.0.1 164 Tuesday, May 21, 2013