AD身份验证后的UWP查看访问权限 [英] UWP View Access after AD Authentication

查看:64
本文介绍了AD身份验证后的UWP查看访问权限的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在阅读文档,我似乎无法找到如何在UWP应用程序中使用AD并允许在用户通过身份验证后访问视图或在注销后限制视图的示例。我不想在AD
中构建整个应用程序我在本地计算机上托管它并且仅将AD用于AD授权服务。 

I have been going through documentation and I cannot seem to find an example of how you use AD with a UWP app and allow access to views after the user has been authenticated or restrict views after they log out. I do not want to build the entire app in AD I am hosting it on my local machine and only use AD for AD Authorization Services. 

谢谢

james

推荐答案

你可以参考
UWP GitHub示例
 使用Microsoft身份验证库(MSAL)获取来自Azure Active Directory(Azure AD)的JWT访问令牌。
You can refer to UWP GitHub sample which uses Microsoft Authentication Library (MSAL) to obtain a JWT access token from Azure Active Directory (Azure AD).


这篇关于AD身份验证后的UWP查看访问权限的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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