/// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='user'> /// </param> /// <param name='password'> /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task <string> ApiUserLoginByUserGetAsync(this IShoppingAPI operations, string user, string password = default(string), CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.ApiUserLoginByUserGetWithHttpMessagesAsync(user, password, null, cancellationToken).ConfigureAwait(false)) { return(_result.Body); } }