如何获取skype bot apis的授权令牌?
发布时间:2020-12-14 04:00:25 所属栏目:Windows 来源:网络整理
导读:我想创建一个skype bot并且指的是 https://developer.microsoft.com/en-us/skype/bots/docs/api/chat,对于授权,doc指的是 https://azure.microsoft.com/en-us/documentation/articles/active-directory-v2-protocols-oauth-code/,但是不清楚使用skype bot ap
我想创建一个skype bot并且指的是
https://developer.microsoft.com/en-us/skype/bots/docs/api/chat,对于授权,doc指的是
https://azure.microsoft.com/en-us/documentation/articles/active-directory-v2-protocols-oauth-code/,但是不清楚使用skype bot apis的范围.
那么任何人都可以告诉我如何获取授权令牌来进行skype bot rest api调用. 解决方法
试试这个
curl -X POST -H "Cache-Control: no-cache" -H "Content-Type: application/x-www-form-urlencoded" -d 'client_id=<your-app-id>&client_secret=<your-app-secret>&grant_type=client_credentials&scope=https%3A%2F%2Fgraph.microsoft.com%2F.default' 'https://login.microsoftonline.com/common/oauth2/v2.0/token' (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
相关内容
- active-directory – 降级也运行Exchange 2010的DC
- window的Navigator 对象
- windows7不能连接打印机
- windows – 用于打印图片的命令行工具?
- 在Windows 7上运行Varnish
- windows-server-2008 – 哪些事件特别导致Windows 2008将SA
- rdc – 无法远程桌面进入非域加入的工作组Windows Hyper-V
- windows-7 – 如何为Windows Vista / 7开发Metro应用程序UI
- 证书 – SHA256即使在修补程序后也无法运行
- active-directory – U2F(YubiKey等)和Active Directory
推荐文章
站长推荐
- Windows Azure:无法将34 MB文件上载到blob
- windows下apache搭建php开发环境
- windows-phone-8 – NavigationService删除完整的
- Windows Server 2016-管理站点复制(二)
- windows-server-2008 – 有没有办法将多个GPO整合
- haskell – Windows中的着色控制台输出
- Windows 7 – 在Windows中设置每个进程的最大CPU
- windows-server-2008-r2 – 使用CTRL – SCROLL
- windows-phone-7 – IsolatedStorageSettings.Ap
- winapi – 添加Windows对POSIX项目的支持……多么
热点阅读