aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/Library/IUserManager.cs
diff options
context:
space:
mode:
authorJoshua M. Boniface <joshua@boniface.me>2020-07-23 18:08:29 -0400
committerGitHub <noreply@github.com>2020-07-23 18:08:29 -0400
commit845ee21ddce8ed91d8c3c1463d0d7a06bb769635 (patch)
tree0238c4c0d4e2c07df7d59433f26c53d3f2b7768d /MediaBrowser.Controller/Library/IUserManager.cs
parent8960d6256fe605b88391460c93759cd516bac3b9 (diff)
parent941f326c0b786ba8bac02dd745ea998055e6e554 (diff)
Merge pull request #3664 from Bond-009/createuserasync
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 88b96ddbf..6685861a9 100644
--- a/MediaBrowser.Controller/Library/IUserManager.cs
+++ b/MediaBrowser.Controller/Library/IUserManager.cs
@@ -54,7 +54,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.
@@ -105,7 +105,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.