将当前的SSO用户传递到WorkIteMtrackingHttpClient
我有一个MVC .NET 5 WebApp,该WebApp用默认的VS SSO模板对我们公司的广告进行了身份验证。我需要此应用程序可以使用登录的用户读取/更新票证连接到 azure devops 。
我如何从当前user
中实例化vsscredential
传递到workitemTrackingHttpClient
构造函数,以便用户只能读取/更新门票,到?
I have an MVC .NET 5 webapp that authenticates with the default VS SSO template to our company AD. I need this app to connect to Azure DevOps using the current logged in user to read/update tickets.
How can I instantiate a VssCredential
from the current User
to pass to the WorkItemTrackingHttpClient
constructor so that users can only read/update tickets they already have access to?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论