如何连接到任何租户,例如Bot Microsoft Flow in Teams [英] How to connect to any tenant like Bot Microsoft Flow in Teams

查看:61
本文介绍了如何连接到任何租户,例如Bot Microsoft Flow in Teams的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我如何以静默方式对用户进行身份验证,如Teams中Microsoft Flow的bot那样的多租户.该漫游器不会提示oauth卡,并会自动获取我的流量.我如何获得当前团队会议的令牌以在例如图API中使用?

How i can authenticate a user silently, multi tenant like the the bot of microsoft flow in Teams. This bot not prompt a oauth card and automatically get my flows. How i can get the token of the current session of teams to use for example in graph api?

推荐答案

当前,静默身份验证仅适用于选项卡.从漫游器登录时,该功能尚无法使用.

Currently, silent authentication only works for tabs. It does not yet work when signing in from a bot.

也就是说,如果您创建一个具有标签的漫游器,则用户可以单击该标签以进行静默身份验证.这不是很理想,但是目前,仅此而已.

That being said, if you create a bot that has tabs, the user can click on the tab to silently authenticate. It's not ideal, but for now, that's all there is.

官方团队样本Bot 完成此操作.

按照链接的示例和文档来完成此操作.尤其是文档,布置得很好.

Follow the linked sample and docs to accomplish this. The docs, especially, lay it out pretty well.

这篇关于如何连接到任何租户,例如Bot Microsoft Flow in Teams的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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