Method: projects.tenants.defaultSupportedIdpConfigs.create

為 Identity Toolkit 專案建立支援的預設 IdP 設定。

HTTP 要求

POST https://identitytoolkit.googleapis.com/v2/{parent=projects/*/tenants/*}/defaultSupportedIdpConfigs

這個網址使用 gRPC 轉碼語法。

路徑參數

參數
parent

string

要建立設定的父項資源名稱,例如:「projects/my-awesome-project」

授權需要指定資源 parent 的下列 IAM 權限:

  • firebaseauth.configs.update

查詢參數

參數
idpId

string

要建立設定檔的 ID。請呼叫 ListDefaultSupportedIdps,取得所有預設支援的 Idp 清單。

要求主體

要求主體包含 DefaultSupportedIdpConfig 的執行個體。

回應主體

如果成功,回應主體會包含新建立的 DefaultSupportedIdpConfig 執行個體。

授權範圍

需要下列其中一種 OAuth 範圍:

  • https://www.googleapis.com/auth/identitytoolkit
  • https://www.googleapis.com/auth/firebase
  • https://www.googleapis.com/auth/cloud-platform

詳情請參閱 Authentication Overview