首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >哪一种营养将被用来创建AAD应用程序?

哪一种营养将被用来创建AAD应用程序?
EN

Stack Overflow用户
提问于 2018-09-06 06:07:31
回答 2查看 62关注 0票数 1

我正在尝试使用C#创建一个AAD应用程序。

我有两个选择,要么我可以使用:

  1. 大会: Microsoft.Azure.ActiveDirectory.GraphClient
  2. 大会: Microsoft.Azure.Graph.RBAC

我想知道选择方案1或备选方案2的利弊?

有人能给我一个洞察力吗。

EN

回答 2

Stack Overflow用户

回答已采纳

发布于 2018-09-07 13:10:03

我知道Microsoft.Azure.Graph.RABC是最新的,但我仍然建议使用Microsoft.Azrue.ActiveDirectory.GraphClient,因为它在创建应用程序时包含更多的参数。因此,您将有更多的定制选项可用。

代码语言:javascript
复制
        public IList<ExtensionProperty> ExtensionProperties { get; set; }
        public string SamlMetadataUrl { get; set; }
        public IList<RequiredResourceAccess> RequiredResourceAccess { get; set; }
        public IList<string> ReplyUrls { get; set; }
        public string RecordConsentConditions { get; set; }
        public bool? PublicClient { get; set; }
        public IList<PasswordCredential> PasswordCredentials { get; set; }
        public bool Oauth2RequirePostResponse { get; set; }
        public IList<OAuth2Permission> Oauth2Permissions { get; set; }
        public bool Oauth2AllowUrlPathMatching { get; set; }
        public bool Oauth2AllowImplicitFlow { get; set; }
        public string LogoutUrl { get; set; }
        public IList<Guid> KnownClientApplications { get; set; }
        public IList<KeyCredential> KeyCredentials { get; set; }
        public IList<string> IdentifierUris { get; set; }
        public string Homepage { get; set; }
        public string GroupMembershipClaims { get; set; }
        public string ErrorUrl { get; set; }
        public string DisplayName { get; set; }
        public bool? AvailableToOtherTenants { get; set; }
        public IList<AppRole> AppRoles { get; set; }
        public string AppId { get; set; }
        public IList<AddIn> AddIns { get; set; }
        public IList<DirectoryObject> Policies { get; set; }
        public IList<ServiceEndpoint> ServiceEndpoints { get; set; }
票数 1
EN

Stack Overflow用户

发布于 2018-09-06 07:16:32

这两个都可以用在你身上。但是Microsoft.Azure.Graph.RABC的版本是最新的,Microsoft.Azrue.ActiveDirectory.GraphClient的最新版本是2016年。

此外,微软强烈建议您使用MicrosoftGraph而不是Azure AD图API来访问Azure Active资源,因此建议您使用

有关Microsof图或Azure AD图的详细信息,您可以阅读这里

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/52197495

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档