Method: installer.validate

验证经过认证的专业安装人员 (CPI) 的身份。

HTTP 请求

POST https://sasportal.googleapis.com/v1alpha1/installer:validate

网址采用 gRPC 转码语法。

请求正文

请求正文中包含结构如下的数据:

JSON 表示法
{
  "installerId": string,
  "secret": string,
  "encodedSecret": string
}
字段
installerId

string

必需。来自“Certified Professional Installers”数据库的唯一安装者 ID (CPI ID)。

secret

string

必需。installer.generateSecret 返回的 Secret。

encodedSecret

string

必需。使用 CPI 私钥签名的 JSON Web 令牌。载荷必须包含一个“secret”声明,其值为相应 Secret。

响应正文

如果成功,则响应正文为空。

授权范围

需要以下 OAuth 范围:

  • https://www.googleapis.com/auth/sasportal