TopicCredentials class 
用于 Azure 事件网格的 TopicCredentials 对象。
构造函数
| Topic | 创建新的 EventGrid TopicCredentials 对象。 | 
继承的方法
| sign | 使用 inHeader 和 inQuery 参数中提供的值对请求进行签名。 | 
构造函数详细信息
		TopicCredentials(string)
	 
	创建新的 EventGrid TopicCredentials 对象。
new TopicCredentials(topicKey: string)参数
- topicKey
- 
				string 
EventGrid 主题键
继承的方法详细信息
		signRequest(WebResourceLike)
	   
	使用 inHeader 和 inQuery 参数中提供的值对请求进行签名。
function signRequest(webResource: WebResourceLike): Promise<WebResourceLike>参数
- webResource
- WebResourceLike
要签名的 WebResourceLike。
返回
Promise<WebResourceLike>
已签名的请求对象。