diff options
| author | Claus Vium <cvium@users.noreply.github.com> | 2021-09-03 19:17:13 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-09-03 19:17:13 +0200 |
| commit | fb5385f1df55c7a2ee35981ac138cee6c62c903d (patch) | |
| tree | 8ca7b09583a1195e507d347bcbddbabb039f47fc /MediaBrowser.Controller/Library/IUserManager.cs | |
| parent | 95ca1d54876e928dc654736ff5a279728c0f9ed0 (diff) | |
| parent | ff9d14c8119f6cf77f21e4ebcc97c5580725b882 (diff) | |
Merge pull request #6201 from barronpm/authenticationdb-efcore
Migrate Authentication DB to EF Core
Diffstat (limited to 'MediaBrowser.Controller/Library/IUserManager.cs')
| -rw-r--r-- | MediaBrowser.Controller/Library/IUserManager.cs | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/MediaBrowser.Controller/Library/IUserManager.cs b/MediaBrowser.Controller/Library/IUserManager.cs index 21776f891..993e3e18f 100644 --- a/MediaBrowser.Controller/Library/IUserManager.cs +++ b/MediaBrowser.Controller/Library/IUserManager.cs @@ -72,14 +72,6 @@ namespace MediaBrowser.Controller.Library /// <param name="user">The user.</param> /// <exception cref="ArgumentNullException">If user is <c>null</c>.</exception> /// <exception cref="ArgumentException">If the provided user doesn't exist.</exception> - void UpdateUser(User user); - - /// <summary> - /// Updates the user. - /// </summary> - /// <param name="user">The user.</param> - /// <exception cref="ArgumentNullException">If user is <c>null</c>.</exception> - /// <exception cref="ArgumentException">If the provided user doesn't exist.</exception> /// <returns>A task representing the update of the user.</returns> Task UpdateUserAsync(User user); @@ -110,7 +102,8 @@ namespace MediaBrowser.Controller.Library /// Resets the easy password. /// </summary> /// <param name="user">The user.</param> - void ResetEasyPassword(User user); + /// <returns>Task.</returns> + Task ResetEasyPassword(User user); /// <summary> /// Changes the password. @@ -126,7 +119,8 @@ namespace MediaBrowser.Controller.Library /// <param name="user">The user.</param> /// <param name="newPassword">New password to use.</param> /// <param name="newPasswordSha1">Hash of new password.</param> - void ChangeEasyPassword(User user, string newPassword, string newPasswordSha1); + /// <returns>Task.</returns> + Task ChangeEasyPassword(User user, string newPassword, string newPasswordSha1); /// <summary> /// Gets the user dto. @@ -169,7 +163,7 @@ namespace MediaBrowser.Controller.Library /// <summary> /// This method updates the user's configuration. /// 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> /// <param name="userId">The user's Id.</param> /// <param name="config">The request containing the new user configuration.</param> @@ -179,7 +173,7 @@ namespace MediaBrowser.Controller.Library /// <summary> /// This method updates the user's policy. /// 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> /// <param name="userId">The user's Id.</param> /// <param name="policy">The request containing the new user policy.</param> |
