3.0.5416.0

This commit is contained in:
Luke Pulverenti
2014-10-31 00:57:24 -04:00
parent a32fd710a9
commit 7a4d5b7951
79 changed files with 8961 additions and 8643 deletions

View File

@@ -7,5 +7,14 @@ namespace MediaBrowser.Model.Connect
public string UserName { get; set; }
public string ImageUrl { get; set; }
public string Id { get; set; }
public string[] ExcludedLibraries { get; set; }
public bool EnableLiveTv { get; set; }
public string[] ExcludedChannels { get; set; }
public ConnectAuthorization()
{
ExcludedLibraries = new string[] { };
ExcludedChannels = new string[] { };
}
}
}

View File

@@ -0,0 +1,18 @@

namespace MediaBrowser.Model.Connect
{
public class ConnectAuthorizationRequest
{
public string SendingUserId { get; set; }
public string ConnectUserName { get; set; }
public string[] ExcludedLibraries { get; set; }
public bool EnableLiveTv { get; set; }
public string[] ExcludedChannels { get; set; }
public ConnectAuthorizationRequest()
{
ExcludedLibraries = new string[] { };
ExcludedChannels = new string[] { };
}
}
}

View File

@@ -0,0 +1,19 @@

namespace MediaBrowser.Model.Connect
{
public static class ConnectPassword
{
public static string PerformPreHashFilter(string password)
{
return password
.Replace("&", "&")
.Replace("/", "\")
.Replace("!", "!")
.Replace("$", "$")
.Replace("\"", """)
.Replace("<", "&lt;")
.Replace(">", "&gt;")
.Replace("'", "&#39;");
}
}
}