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
ต้องระบุ รหัสโปรแกรมติดตั้งที่ไม่ซ้ํา (รหัส CPI) จากฐานข้อมูลโปรแกรมติดตั้งที่ได้รับการรับรอง
|
secret |
string
ต้องระบุ ข้อมูลลับที่แสดงผลโดย installer.generateSecret
|
encodedSecret |
string
ต้องระบุ โทเค็นเว็บ JSON ที่รับรองโดยใช้คีย์ส่วนตัว CPI เปย์โหลดต้องมี "secret" การอ้างสิทธิ์ที่มีค่าเป็นความลับ
|
เนื้อหาการตอบกลับ
หากทําสําเร็จ เนื้อหาการตอบกลับจะว่างเปล่า
ขอบเขตการให้สิทธิ์
ต้องใช้ขอบเขต OAuth ต่อไปนี้
https://www.googleapis.com/auth/sasportal
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2022-11-02 UTC
[null,null,["อัปเดตล่าสุด 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"]]