gpt4 book ai didi

azure - 应用程序和用户的 AAD AppRoles allowedMemberTypes

转载 作者:行者123 更新时间:2023-12-04 15:42:19 25 4
gpt4 key购买 nike

根据Add app roles in your application and receive them in the token ,我可以为用户、应用程序或两者创建一个 AppRole

如果我想定位用户,Manifest 上的属性 allowedMemberTypes 应为 User。对于应用程序,Application,但是两者呢?

两者的allowedMemberTypes是什么?

最佳答案

allowedMemberTypes 是一个数组,因此您可以同时放入“User”和“Application”:

"appRoles": [
{
"allowedMemberTypes": [
"User", "Application"
],
"displayName": "Writer",
"id": "d1c2ade8-98f8-45fd-aa4a-6d06b947c66f",
"isEnabled": true,
"description": "Writers Have the ability to create tasks.",
"value": "Writer"
}
],

关于azure - 应用程序和用户的 AAD AppRoles allowedMemberTypes,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/57400122/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com