是否有使用 apiKey 的 .NET RallyRestApi 方法? [英] Is there a .NET RallyRestApi method that uses the apiKey?

查看:52
本文介绍了是否有使用 apiKey 的 .NET RallyRestApi 方法?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想让我的 C# 应用程序使用 API 密钥连接到 Rally,但我还没有找到类似于 JAVA 方法的支持它的方法:

public RallyRestApi(URI server, String apiKey)

解决方案

您可以使用以下语法:

restApi = new RallyRestApi("_abc123","https://rally1.rallydev.com");

其中_abc123"是您使用拉力赛应用程序管理器生成的密钥.>

我注意到文档没有提到这种身份验证方法,并且仍然在 用户指南提交 是几个月前制作的,用于支持 ApiKeys.您必须使用 2.0.1 版本.

I would like to have my C# application make a connection to Rally using an API Key, but I have not found a method that supports it similar to the JAVA method:

public RallyRestApi(URI server, String apiKey)

解决方案

You may use this syntax:

restApi = new RallyRestApi( "_abc123","https://rally1.rallydev.com");

where "_abc123" is the key you generated using Rally Application Manager.

I noticed that the documentation does not mention this method of authentication and still shows the old username/password method in the user guide but a commit was made a months ago to support ApiKeys. You have to use 2.0.1 version.

这篇关于是否有使用 apiKey 的 .NET RallyRestApi 方法?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆