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

如果允許使用者透過提供者登入,則值為「是」。

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

這個專案可用的 Bundle ID 清單

CodeFlowConfig

Apple 代碼流程的其他設定。

JSON 表示法
{
  "teamId": string,
  "keyId": string,
  "privateKey": string
}
欄位
teamId

string

Apple Developer Team 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 設定。