localize plugin installation process

This commit is contained in:
Luke Pulverenti
2014-08-31 15:15:33 -04:00
parent 10dedf92ad
commit 45db7d21b2
69 changed files with 886 additions and 295 deletions

View File

@@ -7,6 +7,12 @@ namespace MediaBrowser.Controller.Net
{
public IAuthService AuthService { get; set; }
/// <summary>
/// Gets or sets a value indicating whether or not to allow local unauthenticated access.
/// </summary>
/// <value><c>true</c> if [allow local]; otherwise, <c>false</c>.</value>
public bool AllowLocal { get; set; }
/// <summary>
/// The request filter is executed before the service.
/// </summary>
@@ -15,7 +21,7 @@ namespace MediaBrowser.Controller.Net
/// <param name="requestDto">The request DTO</param>
public void RequestFilter(IRequest request, IResponse response, object requestDto)
{
AuthService.Authenticate(request, response, requestDto);
AuthService.Authenticate(request, response, requestDto, AllowLocal);
}
/// <summary>

View File

@@ -4,6 +4,6 @@ namespace MediaBrowser.Controller.Net
{
public interface IAuthService
{
void Authenticate(IRequest request, IResponse response, object requestDto);
void Authenticate(IRequest request, IResponse response, object requestDto, bool allowLocal);
}
}