aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/Library/IUserManager.cs
diff options
context:
space:
mode:
authorBond_009 <Bond.009@outlook.com>2020-07-22 20:57:29 +0200
committerBond_009 <Bond.009@outlook.com>2020-07-22 20:57:29 +0200
commit6cbfae209d5e4621624d9cc249c601f46c3721c5 (patch)
treecd37aba5738ce85a3bb43037c26da33eab853b4b /MediaBrowser.Controller/Library/IUserManager.cs
parent0750357916b600a4b4c27bc4babd2adcc6390473 (diff)
Make CreateUser async
Diffstat (limited to 'MediaBrowser.Controller/Library/IUserManager.cs')
-rw-r--r--MediaBrowser.Controller/Library/IUserManager.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/MediaBrowser.Controller/Library/IUserManager.cs b/MediaBrowser.Controller/Library/IUserManager.cs
index e73fe7120..a2ff0c1bc 100644
--- a/MediaBrowser.Controller/Library/IUserManager.cs
+++ b/MediaBrowser.Controller/Library/IUserManager.cs
@@ -55,7 +55,7 @@ namespace MediaBrowser.Controller.Library
/// <summary>
/// Initializes the user manager and ensures that a user exists.
/// </summary>
- void Initialize();
+ Task InitializeAsync();
/// <summary>
/// Gets a user by Id.
@@ -106,7 +106,7 @@ namespace MediaBrowser.Controller.Library
/// <returns>The created user.</returns>
/// <exception cref="ArgumentNullException">name</exception>
/// <exception cref="ArgumentException"></exception>
- User CreateUser(string name);
+ Task<User> CreateUserAsync(string name);
/// <summary>
/// Deletes the specified user.