identityProviderBase 资源类型

命名空间:microsoft.graph

重要

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

表示 Microsoft Entra 和 Azure AD B2C 租户的标识提供者。

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

通过在外部或 Azure AD B2C 租户中配置标识提供程序,用户可以在应用程序中使用社交帐户或自定义 OpenID Connect 支持的提供程序注册和登录。 例如,应用程序可以使用 Entra 外部 ID 或 Azure AD B2C 来允许用户使用 Facebook 帐户或他们自己的符合 OIDC 协议的自定义标识提供程序注册服务 (Open ID Connect 目前仅支持外部租户和Azure AD B2C) 。

支持的 IdP (从 identityProviderBase 派生的类型) 外部租户 员工租户 Azure AD B2C 租户
appleManagedIdentityProvider 支持 NotSupported 支持
builtInIdentityProvider 支持 支持 支持
socialIdentityProvider 支持 支持 支持
oidcIdentityProvider 支持 NotSupported NotSupported
openIdConnectIdentityProvider NotSupported NotSupported 支持

方法

方法 返回类型 说明
列出配置的标识提供者 identityProviderBase 集合 检索在租户中配置的所有标识提供程序。
创建 socialidentityprovider、 appleManagedIdentityProvider、 oidcIdentityProvider 或 openIdConnectIdentityProvider 创建以下对象类型之一的新对象:
Get socialidentityprovider、 appleManagedIdentityProvider、 builtInIdentityProvider、 oidcIdentityProvider 或 openIdConnectIdentityProvider 检索以下对象类型之一的属性:
更新 无 更新以下对象类型之一:
删除 无 删除以下对象类型之一:
列出可用的标识提供者 String 集合 检索租户中所有受支持的标识提供者类型。

属性

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

关系

无。

JSON 表示形式

以下 JSON 表示形式显示资源类型。

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