aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/Library/IUserManager.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2014-10-17 00:52:41 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2014-10-17 00:52:41 -0400
commit4f207c43dd912b710345e083adfb6ad45c849b1d (patch)
tree56d9e71f10ba8b5f67fee39b846f6ebf2123f6a3 /MediaBrowser.Controller/Library/IUserManager.cs
parent6ca771cc7906ae6524f737ae9bf0bc1b916efb40 (diff)
update connect methods
Diffstat (limited to 'MediaBrowser.Controller/Library/IUserManager.cs')
-rw-r--r--MediaBrowser.Controller/Library/IUserManager.cs10
1 files changed, 10 insertions, 0 deletions
diff --git a/MediaBrowser.Controller/Library/IUserManager.cs b/MediaBrowser.Controller/Library/IUserManager.cs
index 39ec2b85d..e9785e2ce 100644
--- a/MediaBrowser.Controller/Library/IUserManager.cs
+++ b/MediaBrowser.Controller/Library/IUserManager.cs
@@ -131,5 +131,15 @@ namespace MediaBrowser.Controller.Library
/// <param name="remoteEndPoint">The remote end point.</param>
/// <returns>UserDto.</returns>
UserDto GetUserDto(User user, string remoteEndPoint = null);
+
+ /// <summary>
+ /// Authenticates the user.
+ /// </summary>
+ /// <param name="username">The username.</param>
+ /// <param name="passwordSha1">The password sha1.</param>
+ /// <param name="passwordMd5">The password MD5.</param>
+ /// <param name="remoteEndPoint">The remote end point.</param>
+ /// <returns>Task&lt;System.Boolean&gt;.</returns>
+ Task<bool> AuthenticateUser(string username, string passwordSha1, string passwordMd5, string remoteEndPoint);
}
}