Microsoft BotBuilder Azure OAuth身份验证ConnectionSettingName值

时间:2018-11-20 21:39:52

标签: botframework

我正在关注microsoft's dotnet core sample,在try this sample section下显示:

  
      
  • 更新GraphAuthenticationBot.cs中的ConnectionSettingName,以便该漫游器可以通过Azure Bot服务执行OAuth调用
  •   

ConnectionSettingName的值应该是什么?

1 个答案:

答案 0 :(得分:2)

在GraphAuthenticationBot.cs文件中,需要将以下字符串更新为在Azure Portal中创建连接时给定的名称。

// chart.js v2.6.0
function adjustPointPositionForLabelHeight(angle, textSize, position) {
		console.log(position.y);
		if (angle === 90 || angle === 270) {
			position.y -= (textSize.h / 2);
		} else if (angle > 270 || angle < 90) {
			position.y -= textSize.h;
		position.y -= 7;	//add source 
		}
	}

enter image description here

enter image description here

相关问题