This project is read-only.

Authentication Libraries


Various extensions methods that enhance built-in functionality. Don't forget to add the
using Piedone.HelpfulLibraries.Authentication;
declaration to your code.


// AuthenticationServiceExtensions
// _authenticationService is an IAuthenticationService reference
var isAuthenticated _authenticationService.IsAuthenticated();

HTTP basic authentication

You can use IBasicAuthenticationService for simple HTTP basic auth usage.


The attributes RequireAuthorization enforces authorization for MVC controllers while RequireBasicAuthorization enforces authorization through HTTP basic auth for WebAPI controllers.

Last edited Jan 28, 2014 at 1:06 PM by Piedone, version 3


No comments yet.