REST Resource: projects.defaultSupportedIdpConfigs

资源:DefaultSupportedIdpConfig

用于通过一组标准的 Identity Toolkit 受信任 IDP 进行身份验证的配置选项。

JSON 表示法
{
  "name": string,
  "enabled": boolean,
  "clientId": string,
  "clientSecret": string,

  // Union field idp_specific_config can be only one of the following:
  "appleSignInConfig": {
    object (AppleSignInConfig)
  }
  // End of list of possible types for union field idp_specific_config.
}
字段
name

string

DefaultSupportedIdpConfig 资源的名称,例如:“projects/my-awesome-project/defaultSupportedIdpConfigs/google.com”

enabled

boolean

如果允许用户使用提供方进行登录,则为 true。

clientId

string

OAuth 客户端 ID。

clientSecret

string

OAuth 客户端密钥。

联合字段 idp_specific_config。特定于一种登录类型的 IDP 设置。idp_specific_config 只能是下列其中一项:
appleSignInConfig

object (AppleSignInConfig)

适用于基于 Apple 的项目的其他配置。

AppleSignInConfig

SignInWithApple 的其他配置。

JSON 表示法
{
  "codeFlowConfig": {
    object (CodeFlowConfig)
  },
  "bundleIds": [
    string
  ]
}
字段
codeFlowConfig

object (CodeFlowConfig)

针对 Apple 的代码流程的其他配置。

bundleIds[]

string

此项目可用的软件包 ID 列表

CodeFlowConfig

针对 Apple 的代码流程的其他配置。

JSON 表示法
{
  "teamId": string,
  "keyId": string,
  "privateKey": string
}
字段
teamId

string

Apple 开发者团队 ID。

keyId

string

私钥的密钥 ID。

privateKey

string

用于为客户端密钥 JWT 签名的私钥。

方法

create

为 Identity Toolkit 项目创建默认的受支持 IDP 配置。

delete

删除 Identity Toolkit 项目的默认受支持 IDP 配置。

get

检索 Identity Toolkit 项目的默认受支持 IDP 配置。

list

列出 Identity Toolkit 项目支持的所有默认 Idp 配置。

patch

更新 Identity Toolkit 项目的默认受支持 Idp 配置。