aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/Library/IUserManager.cs
diff options
context:
space:
mode:
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);
}
}