Method: projects.identityPlatform.initializeAuth

為 Cloud 專案初始化 Identity Platform。Identity Platform 是端對端驗證系統,可讓第三方使用者存取您的應用程式和服務。包括行動/網頁應用程式、遊戲、API 等。

這是 identityPlatform.enable 的公開變化版本,僅適用於啟用帳單功能的專案。

HTTP 要求

POST https://identitytoolkit.googleapis.com/v2/{project=projects/*}/identityPlatform:initializeAuth

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

路徑參數

參數
project

string

開發人員要為其啟用 Identity Platform 的目標專案資源名稱。

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

  • firebaseauth.configs.create

要求主體

要求主體必須為空白。

回應主體

如果成功,回應主體會留白。

授權範圍

需要下列 OAuth 範圍:

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

詳情請參閱 Authentication Overview