Basic Authentication Added

This commit is contained in:
Mark McDowall 2013-05-21 17:58:57 -07:00
commit f1d2e0e6df
13 changed files with 103 additions and 11 deletions

View file

@ -1,5 +1,6 @@
using System;
using System.Collections.Generic;
using Nancy.Security;
using NzbDrone.Api.REST;
using NzbDrone.Api.Validation;
using NzbDrone.Core.Datastore;
@ -12,7 +13,7 @@ namespace NzbDrone.Api
protected NzbDroneRestModule()
: this(new TResource().ResourceName)
{
this.RequiresAuthentication();
}
protected NzbDroneRestModule(string resource)