public static async Task <AjaxResponse> AuthenticateAsync(this IAccount operations, LoginModel body = default(LoginModel), CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.AuthenticateWithHttpMessagesAsync(body, null, cancellationToken).ConfigureAwait(false)) { return(_result.Body); } }