Added Async suffix

This commit is contained in:
LukePulverenti Luke Pulverenti luke pulverenti 2012-09-06 15:20:35 -04:00
parent b12da143d1
commit 75b015c864
2 changed files with 3 additions and 5 deletions

View File

@ -17,12 +17,10 @@ namespace MediaBrowser.Api.HttpHandlers
string password = await GetFormValue("password").ConfigureAwait(false); string password = await GetFormValue("password").ConfigureAwait(false);
AuthenticationResult result = new AuthenticationResult() return new AuthenticationResult()
{ {
Success = true Success = true
}; };
return result;
} }
} }
} }

View File

@ -652,7 +652,7 @@ namespace MediaBrowser.ApiInteraction
/// <summary> /// <summary>
/// Authenticates a user and returns the result /// Authenticates a user and returns the result
/// </summary> /// </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(); string url = ApiUrl + "/UserAuthentication?dataformat=" + SerializationFormat.ToString();