|
@@ -63,14 +63,6 @@ namespace MediaBrowser.Controller.Library
|
|
/// <exception cref="ArgumentException"></exception>
|
|
/// <exception cref="ArgumentException"></exception>
|
|
Task RenameUser(User user, string newName);
|
|
Task RenameUser(User user, string newName);
|
|
|
|
|
|
- /// <summary>
|
|
|
|
- /// Updates the user.
|
|
|
|
- /// </summary>
|
|
|
|
- /// <param name="user">The user.</param>
|
|
|
|
- /// <exception cref="ArgumentNullException">user</exception>
|
|
|
|
- /// <exception cref="ArgumentException"></exception>
|
|
|
|
- void UpdateUser(User user);
|
|
|
|
-
|
|
|
|
/// <summary>
|
|
/// <summary>
|
|
/// Updates the user.
|
|
/// Updates the user.
|
|
/// </summary>
|
|
/// </summary>
|
|
@@ -108,7 +100,7 @@ namespace MediaBrowser.Controller.Library
|
|
/// </summary>
|
|
/// </summary>
|
|
/// <param name="user">The user.</param>
|
|
/// <param name="user">The user.</param>
|
|
/// <returns>Task.</returns>
|
|
/// <returns>Task.</returns>
|
|
- void ResetEasyPassword(User user);
|
|
|
|
|
|
+ Task ResetEasyPassword(User user);
|
|
|
|
|
|
/// <summary>
|
|
/// <summary>
|
|
/// Changes the password.
|
|
/// Changes the password.
|
|
@@ -118,7 +110,7 @@ namespace MediaBrowser.Controller.Library
|
|
/// <summary>
|
|
/// <summary>
|
|
/// Changes the easy password.
|
|
/// Changes the easy password.
|
|
/// </summary>
|
|
/// </summary>
|
|
- void ChangeEasyPassword(User user, string newPassword, string newPasswordSha1);
|
|
|
|
|
|
+ Task ChangeEasyPassword(User user, string newPassword, string newPasswordSha1);
|
|
|
|
|
|
/// <summary>
|
|
/// <summary>
|
|
/// Gets the user dto.
|
|
/// Gets the user dto.
|
|
@@ -155,7 +147,7 @@ namespace MediaBrowser.Controller.Library
|
|
/// <summary>
|
|
/// <summary>
|
|
/// This method updates the user's configuration.
|
|
/// This method updates the user's configuration.
|
|
/// This is only included as a stopgap until the new API, using this internally is not recommended.
|
|
/// This is only included as a stopgap until the new API, using this internally is not recommended.
|
|
- /// Instead, modify the user object directly, then call <see cref="UpdateUser"/>.
|
|
|
|
|
|
+ /// Instead, modify the user object directly, then call <see cref="UpdateUserAsync"/>.
|
|
/// </summary>
|
|
/// </summary>
|
|
/// <param name="userId">The user's Id.</param>
|
|
/// <param name="userId">The user's Id.</param>
|
|
/// <param name="config">The request containing the new user configuration.</param>
|
|
/// <param name="config">The request containing the new user configuration.</param>
|
|
@@ -165,7 +157,7 @@ namespace MediaBrowser.Controller.Library
|
|
/// <summary>
|
|
/// <summary>
|
|
/// This method updates the user's policy.
|
|
/// This method updates the user's policy.
|
|
/// This is only included as a stopgap until the new API, using this internally is not recommended.
|
|
/// This is only included as a stopgap until the new API, using this internally is not recommended.
|
|
- /// Instead, modify the user object directly, then call <see cref="UpdateUser"/>.
|
|
|
|
|
|
+ /// Instead, modify the user object directly, then call <see cref="UpdateUserAsync"/>.
|
|
/// </summary>
|
|
/// </summary>
|
|
/// <param name="userId">The user's Id.</param>
|
|
/// <param name="userId">The user's Id.</param>
|
|
/// <param name="policy">The request containing the new user policy.</param>
|
|
/// <param name="policy">The request containing the new user policy.</param>
|