使用 Graph API 在 Azure AD B2C 上对用户进行身份验证 [英] Authenticate a user on Azure AD B2C using Graph API
问题描述
我创建了一个 WebApi 应用程序,它可以使用 Graph API 在 Azure AD B2C 租户上创建用户.
I have created a WebApi app which can create a user on Azure AD B2C tenant using Graph API.
现在用户必须在 Azure AD B2C 上进行身份验证,就像我使用的 Graph API 一样.我的意思是一种程序化的登录方法,而不是 Microsoft 登录页面.是否可以使用 Graph API 对 Azure AD B2C 进行身份验证?如果可以,请您给我建议.
Now the user has to authenticate on Azure AD B2C as the same way I have used like Graph API. I mean a programmatic approach to sign in instead of Microsoft login page. Is it possible to authenticate against Azure AD B2C using Graph API? If yes can you please suggest me the way to do it.
推荐答案
无法使用图形 API 在 azure AD 中对用户进行身份验证.Graph API 提供了对用户、登录用户、组、目录角色、策略等各种 AD 相关操作的方法.https://msdn.microsoft.com/en-us/library/azure/ad/graph/api/users-operations
It is not possible to authenticate an user in azure AD using graph API. Graph API provides methods to various AD related operations on the users, signed on user, groups, directory roles, policies and so on. https://msdn.microsoft.com/en-us/library/azure/ad/graph/api/users-operations
这篇关于使用 Graph API 在 Azure AD B2C 上对用户进行身份验证的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!