aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukePulverenti Luke Pulverenti luke pulverenti <LukePulverenti Luke Pulverenti luke.pulverenti@gmail.com>2012-09-06 15:20:35 -0400
committerLukePulverenti Luke Pulverenti luke pulverenti <LukePulverenti Luke Pulverenti luke.pulverenti@gmail.com>2012-09-06 15:20:35 -0400
commit75b015c864c33437febbf9edaa9a5097578752f3 (patch)
tree08e86b5a08a698a42bd8495ade24a9938da0630f
parentb12da143d1e8a319e4b7309ab9240b603b544e18 (diff)
Added Async suffix
-rw-r--r--MediaBrowser.Api/HttpHandlers/UserAuthenticationHandler.cs6
-rw-r--r--MediaBrowser.ApiInteraction/ApiClient.cs2
2 files changed, 3 insertions, 5 deletions
diff --git a/MediaBrowser.Api/HttpHandlers/UserAuthenticationHandler.cs b/MediaBrowser.Api/HttpHandlers/UserAuthenticationHandler.cs
index ed588e776..86f3c477a 100644
--- a/MediaBrowser.Api/HttpHandlers/UserAuthenticationHandler.cs
+++ b/MediaBrowser.Api/HttpHandlers/UserAuthenticationHandler.cs
@@ -17,12 +17,10 @@ namespace MediaBrowser.Api.HttpHandlers
string password = await GetFormValue("password").ConfigureAwait(false);
- AuthenticationResult result = new AuthenticationResult()
+ return new AuthenticationResult()
{
Success = true
- };
-
- return result;
+ };
}
}
}
diff --git a/MediaBrowser.ApiInteraction/ApiClient.cs b/MediaBrowser.ApiInteraction/ApiClient.cs
index ca53c66fc..46ef26c7e 100644
--- a/MediaBrowser.ApiInteraction/ApiClient.cs
+++ b/MediaBrowser.ApiInteraction/ApiClient.cs
@@ -652,7 +652,7 @@ namespace MediaBrowser.ApiInteraction
/// <summary>
/// Authenticates a user and returns the result
/// </summary>
- public async Task<AuthenticationResult> AuthenticateUser(Guid userId, string password)
+ public async Task<AuthenticationResult> AuthenticateUserAsync(Guid userId, string password)
{
string url = ApiUrl + "/UserAuthentication?dataformat=" + SerializationFormat.ToString();