identityProviderBase 资源类型

命名空间:microsoft.graph

重要

Microsoft Graph /beta 版本下的 API 可能会发生更改。 不支持在生产应用程序中使用这些 API。 若要确定 API 是否在 v1.0 中可用,请使用 版本 选择器。

表示具有Microsoft Entra ID和 Azure AD B2C 租户的外部标识的标识提供者。

对于 Microsoft Entra 目录中Microsoft Entra B2B 方案,标识提供者可以是 socialIdentityProviderbuiltinIdentityProvider,这两者都继承自 identityProviderBase 资源类型。

在 Microsoft Entra 目录中配置标识提供者可实现新的Microsoft Entra B2B 来宾方案。 例如,某组织在 Microsoft 365 中具有需要与 Gmail 用户共享的资源。 Gmail 将使用其 Google 帐户凭据来验证和访问文档。

在Azure AD B2C目录中,标识提供者类型可以是 socialIdentityProvideropenIdConnectIdentityProviderappleManagedIdentityProvider,所有这些都继承自 identityProviderBase 资源类型。

在 Azure AD B2C 租户中配置身份提供程序,用户可在应用程序中使用社交帐户或自定义 OpenID Connect 支持的提供程序进行注册和登录。 例如,应用程序可使用 Azure AD B2C 让用户能够通过 Facebook 帐户或他们自己的符合 OIDC 协议的自定义身份提供程序注册服务。

方法

方法 返回类型 Description
List identityProviderBase 集合 检索在租户中配置的所有标识提供程序。
创建 socialidentityprovideropenIdConnectIdentityProviderappleManagedIdentityProvider 创建以下对象类型之一的新对象:
获取 socialidentityproviderbuiltInIdentityProvideropenIdConnectIdentityProviderappleManagedIdentityProvider 检索以下对象类型之一的属性:
更新 更新以下对象类型之一:
删除 删除以下对象类型之一:
列出可用的提供程序类型 String 集合 检索租户中所有受支持的标识提供者类型。

属性

属性 类型 说明
id String 标识提供程序的标识符。
displayName 字符串 标识提供程序的显示名称。

JSON 表示形式

下面是资源的 JSON 表示形式。

{
    "id": "String",
    "displayName": "String",
}