Method: installer.validate
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
認定プロフェッショナル インストーラ(CPI)の識別情報を検証します。
HTTP リクエスト
POST https://sasportal.googleapis.com/v1alpha1/installer:validate
この URL では gRPC Transcoding 構文を使用します。
リクエスト本文
リクエストの本文には次の構造のデータが含まれます。
JSON 表現 |
{
"installerId": string,
"secret": string,
"encodedSecret": string
} |
フィールド |
installerId |
string
必須。認定プロフェッショナル インストーラ データベースに登録されている一意のインストーラ ID(CPI ID)。
|
secret |
string
必須。installer.generateSecret から返されるシークレット。
|
encodedSecret |
string
必須。CPI 秘密鍵を使用して署名された JSON Web Token。ペイロードには、シークレットである値である「secret」を含める必要があります。
|
レスポンスの本文
成功すると、レスポンスの本文は空になります。
認証スコープ
次の OAuth スコープが必要です。
https://www.googleapis.com/auth/sasportal
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2022-11-02 UTC。
[[["わかりやすい","easyToUnderstand","thumb-up"],["問題の解決に役立った","solvedMyProblem","thumb-up"],["その他","otherUp","thumb-up"]],[["必要な情報がない","missingTheInformationINeed","thumb-down"],["複雑すぎる / 手順が多すぎる","tooComplicatedTooManySteps","thumb-down"],["最新ではない","outOfDate","thumb-down"],["翻訳に関する問題","translationIssue","thumb-down"],["サンプル / コードに問題がある","samplesCodeIssue","thumb-down"],["その他","otherDown","thumb-down"]],["最終更新日 2022-11-02 UTC。"],[[["Validates the identity of a Certified Professional Installer (CPI) using a provided installer ID, secret, and encoded secret."],["The request is sent as a `POST` request to the specific endpoint `https://sasportal.googleapis.com/v1alpha1/installer:validate`."],["Requires authorization with the `https://www.googleapis.com/auth/sasportal` OAuth scope."],["Successful validation results in an empty response body."]]],["The core actions involve validating a Certified Professional Installer (CPI). This is done via a `POST` request to `https://sasportal.googleapis.com/v1alpha1/installer:validate`. The request body, formatted as JSON, requires three string fields: `installerId` (CPI ID), `secret` (from `installer.generateSecret`), and `encodedSecret` (a JWT signed by the CPI's private key with a \"secret\" claim). A successful request returns an empty response body. Authorization requires the `https://www.googleapis.com/auth/sasportal` OAuth scope.\n"]]