简体   繁体   English

Azure AD Graph API是否也提供您可以对其进行身份验证的数据源?

[英]Does Azure AD Graph API also provide a data source against which you may authenticate?

I fail to understand much of the literature that comes from Microsoft these days. 这些天来,我无法理解许多来自Microsoft的文献。 Could someone please answer this basic question for me? 有人可以帮我回答这个基本问题吗?

Does Azure ADSI also provide a back-end/directory/data-source against which authentication can be made? Azure ADSI是否还提供可以进行身份​​验证的后端/目录/数据源? Or does it just provide an interface, much like ADSI itself, that queries the active directory using LDAP? 还是仅提供一个类似于ADSI本身的接口,即可使用LDAP查询活动目录?

And if it does provide a storage mechanism for user authentication, what sort of a storage is it? 如果它确实提供了一种用于用户身份验证的存储机制,那么它将是一种什么样的存储? Does the storage contain the ability to represent organizational hierarchies? 存储是否包含表示组织层次结构的能力? Also, does the back-end contain the ability to create an object graph of relationships among users and retrieve that graph? 另外,后端是否包含创建用户之间关系的对象图并检索该图的功能?

I am looking at some Azure AD Graph API code and it appears as though the graph API is merely an IQuerable<T> / IQueryProvider<T> , ie a LINQ to Someone Else's Active Directory service, and this service is hosted on the cloud and is available to our applications to use. 我正在查看一些Azure AD Graph API代码,似乎该图API仅仅是IQuerable<T> / IQueryProvider<T> ,即LINQ to Someone Else的Active Directory服务,并且该服务托管在云中,并且可供我们的应用程序使用。

We have to provide a tenant's active directory domain name and the credentials and the Azure AD Graph API will simply authenticate against it. 我们必须提供租户的活动目录域名和凭据,Azure AD Graph API会简单地对其进行身份验证。

So, in a nutshell, the answer to my original question is: no. 简而言之,我的原始问题的答案是:不。 No, the Azure AD Graph API does not provide a back-end storage for storing custom identity information. 不可以,Azure AD Graph API不提供用于存储自定义身份信息的后端存储。 It merely provides an object oriented access alike LINQ to query an existing data source. 它仅提供类似于LINQ的面向对象的访问来查询现有数据源。

It also provides an underlying REST API, which we may use if we like, but we may also not explicitly call the REST urls and instead use the standard LINQ query operators and use the object oriented LINQ API. 它还提供了一个基础的REST API,我们可以根据需要使用它,但是我们也可以不显式调用REST URL,而是使用标准的LINQ查询运算符和面向对象的LINQ API。

My question was born out of a suggestion I received from a colleague of mine who said that Azure AD Graph API could even manage all profile data and create some kind of a graph and authenticate against it. 我的问题来自于我的一位同事的建议,他说Azure AD Graph API甚至可以管理所有配置文件数据并创建某种图形并对其进行身份验证。 I doubted it very much, but after looking at some code, I am able to understand that such is not the case. 我对此非常怀疑,但是在查看了一些代码之后,我能够理解情况并非如此。

Please confirm if this is true. 请确认是否正确。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM