From faead199a59b084a9197b394e2214c6cd2f9b9e4 Mon Sep 17 00:00:00 2001 From: LukePulverenti Luke Pulverenti luke pulverenti Date: Sat, 8 Sep 2012 11:10:26 -0400 Subject: Moved AuthenticationResult --- MediaBrowser.Api/HttpHandlers/UserAuthenticationHandler.cs | 1 + MediaBrowser.ApiInteraction.Portable/ApiClient.cs | 4 ++-- MediaBrowser.ApiInteraction/ApiClient.cs | 4 ++-- MediaBrowser.Controller/Kernel.cs | 1 + MediaBrowser.Model/Authentication/AuthenticationResult.cs | 11 +++++++++++ MediaBrowser.Model/Entities/AuthenticationResult.cs | 11 ----------- MediaBrowser.Model/MediaBrowser.Model.csproj | 2 +- 7 files changed, 18 insertions(+), 16 deletions(-) create mode 100644 MediaBrowser.Model/Authentication/AuthenticationResult.cs delete mode 100644 MediaBrowser.Model/Entities/AuthenticationResult.cs diff --git a/MediaBrowser.Api/HttpHandlers/UserAuthenticationHandler.cs b/MediaBrowser.Api/HttpHandlers/UserAuthenticationHandler.cs index b9499e9df6..b3867cde7a 100644 --- a/MediaBrowser.Api/HttpHandlers/UserAuthenticationHandler.cs +++ b/MediaBrowser.Api/HttpHandlers/UserAuthenticationHandler.cs @@ -1,5 +1,6 @@ using MediaBrowser.Common.Net.Handlers; using MediaBrowser.Controller; +using MediaBrowser.Model.Authentication; using MediaBrowser.Model.Entities; using System.ComponentModel.Composition; using System.Net; diff --git a/MediaBrowser.ApiInteraction.Portable/ApiClient.cs b/MediaBrowser.ApiInteraction.Portable/ApiClient.cs index c870b1c3ee..cbd179b02e 100644 --- a/MediaBrowser.ApiInteraction.Portable/ApiClient.cs +++ b/MediaBrowser.ApiInteraction.Portable/ApiClient.cs @@ -1,6 +1,6 @@ -using MediaBrowser.Model.Configuration; +using MediaBrowser.Model.Authentication; +using MediaBrowser.Model.Configuration; using MediaBrowser.Model.DTO; -using MediaBrowser.Model.Entities; using MediaBrowser.Model.Weather; using System; using System.Collections.Generic; diff --git a/MediaBrowser.ApiInteraction/ApiClient.cs b/MediaBrowser.ApiInteraction/ApiClient.cs index a621963ec9..62a534e326 100644 --- a/MediaBrowser.ApiInteraction/ApiClient.cs +++ b/MediaBrowser.ApiInteraction/ApiClient.cs @@ -1,6 +1,6 @@ -using MediaBrowser.Model.Configuration; +using MediaBrowser.Model.Authentication; +using MediaBrowser.Model.Configuration; using MediaBrowser.Model.DTO; -using MediaBrowser.Model.Entities; using MediaBrowser.Model.Weather; using System; using System.IO; diff --git a/MediaBrowser.Controller/Kernel.cs b/MediaBrowser.Controller/Kernel.cs index 2414364c0b..0e4f7e5fd8 100644 --- a/MediaBrowser.Controller/Kernel.cs +++ b/MediaBrowser.Controller/Kernel.cs @@ -5,6 +5,7 @@ using MediaBrowser.Controller.Library; using MediaBrowser.Controller.Providers; using MediaBrowser.Controller.Resolvers; using MediaBrowser.Controller.Weather; +using MediaBrowser.Model.Authentication; using MediaBrowser.Model.Configuration; using MediaBrowser.Model.Entities; using MediaBrowser.Model.Progress; diff --git a/MediaBrowser.Model/Authentication/AuthenticationResult.cs b/MediaBrowser.Model/Authentication/AuthenticationResult.cs new file mode 100644 index 0000000000..ebc253172d --- /dev/null +++ b/MediaBrowser.Model/Authentication/AuthenticationResult.cs @@ -0,0 +1,11 @@ +using ProtoBuf; + +namespace MediaBrowser.Model.Authentication +{ + [ProtoContract] + public class AuthenticationResult + { + [ProtoMember(1)] + public bool Success { get; set; } + } +} diff --git a/MediaBrowser.Model/Entities/AuthenticationResult.cs b/MediaBrowser.Model/Entities/AuthenticationResult.cs deleted file mode 100644 index 312e71f388..0000000000 --- a/MediaBrowser.Model/Entities/AuthenticationResult.cs +++ /dev/null @@ -1,11 +0,0 @@ -using ProtoBuf; - -namespace MediaBrowser.Model.Entities -{ - [ProtoContract] - public class AuthenticationResult - { - [ProtoMember(1)] - public bool Success { get; set; } - } -} diff --git a/MediaBrowser.Model/MediaBrowser.Model.csproj b/MediaBrowser.Model/MediaBrowser.Model.csproj index baa04d72b7..8b51f6ec46 100644 --- a/MediaBrowser.Model/MediaBrowser.Model.csproj +++ b/MediaBrowser.Model/MediaBrowser.Model.csproj @@ -36,7 +36,7 @@ - + -- cgit v1.2.3