GlobalConfiguration.Configuration.MessageHandlers.Add(new BasicAuthHandler());
public class BasicAuthHandler : DelegatingHandler { private const string BasicAuthResponseHeader = "WWW-Authenticate"; private const string BasicAuthResponseHeaderValue = "Basic"; private readonly iUser repository; public BasicAuthHandler(iUser repository) { this.repository = repository; }
repository
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)