[英]Azure Active Directory App Roles for Native App
I have successfully registered both my web api and native app with Azure AD. 我已经使用Azure AD成功注册了我的web api和本机应用程序。 I can authorise my native app and access the secured web api. 我可以授权我的原生应用并访问安全的网络API。
My question is about App Roles, I can't seem to find a way to add App Roles to a native app registration and then assign them to users. 我的问题是关于App Roles,我似乎找不到将App Roles添加到本机应用程序注册然后将其分配给用户的方法。
This seems possible for web apps but not for native apps. 这似乎可以用于Web应用程序,但不适用于本机应用程序
I am using the ADALiOS library, if that helps. 我正在使用ADALiOS库,如果这有帮助的话。
Any suggestions about how to get role claims into my token would be appreciated. 任何关于如何将角色声明放入我的令牌的建议将不胜感激。
Thanks 谢谢
Chris 克里斯
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.