From 75b015c864c33437febbf9edaa9a5097578752f3 Mon Sep 17 00:00:00 2001 From: LukePulverenti Luke Pulverenti luke pulverenti Date: Thu, 6 Sep 2012 15:20:35 -0400 Subject: [PATCH] Added Async suffix --- MediaBrowser.Api/HttpHandlers/UserAuthenticationHandler.cs | 6 ++---- MediaBrowser.ApiInteraction/ApiClient.cs | 2 +- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/MediaBrowser.Api/HttpHandlers/UserAuthenticationHandler.cs b/MediaBrowser.Api/HttpHandlers/UserAuthenticationHandler.cs index ed588e7762..86f3c477a0 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 ca53c66fcd..46ef26c7e4 100644 --- a/MediaBrowser.ApiInteraction/ApiClient.cs +++ b/MediaBrowser.ApiInteraction/ApiClient.cs @@ -652,7 +652,7 @@ namespace MediaBrowser.ApiInteraction /// /// Authenticates a user and returns the result /// - public async Task AuthenticateUser(Guid userId, string password) + public async Task AuthenticateUserAsync(Guid userId, string password) { string url = ApiUrl + "/UserAuthentication?dataformat=" + SerializationFormat.ToString();