Method: installer.validate
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
인증된 전문 설치자 (CPI)의 신원을 확인합니다.
HTTP 요청
POST https://sasportal.googleapis.com/v1alpha1/installer:validate
URL은 gRPC 트랜스코딩 구문을 사용합니다.
요청 본문
요청 본문에는 다음과 같은 구조의 데이터가 포함됩니다.
JSON 표현 |
{
"installerId": string,
"secret": string,
"encodedSecret": string
} |
필드 |
installerId |
string
필수입니다. 인증된 전문 설치자 데이터베이스의 고유 설치자 ID (CPI ID)입니다.
|
secret |
string
필수입니다. installer.generateSecret 에서 반환된 보안 비밀입니다.
|
encodedSecret |
string
필수입니다. CPI 비공개 키를 사용하여 서명된 JSON 웹 토큰입니다. 페이로드에는 값이 보안 비밀인 'secret' 클레임이 포함되어야 합니다.
|
응답 본문
성공한 경우 응답 본문은 비어 있습니다.
승인 범위
다음과 같은 OAuth 범위가 필요합니다.
https://www.googleapis.com/auth/sasportal
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-07-25(UTC)
[null,null,["최종 업데이트: 2025-07-25(UTC)"],[[["\u003cp\u003eValidates the identity of a Certified Professional Installer (CPI) using a provided installer ID, secret, and encoded secret.\u003c/p\u003e\n"],["\u003cp\u003eThe request is sent as a \u003ccode\u003ePOST\u003c/code\u003e request to the specific endpoint \u003ccode\u003ehttps://sasportal.googleapis.com/v1alpha1/installer:validate\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eRequires authorization with the \u003ccode\u003ehttps://www.googleapis.com/auth/sasportal\u003c/code\u003e OAuth scope.\u003c/p\u003e\n"],["\u003cp\u003eSuccessful validation results in an empty response body.\u003c/p\u003e\n"]]],["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"],null,["# Method: installer.validate\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Request body](#body.request_body)\n - [JSON representation](#body.request_body.SCHEMA_REPRESENTATION)\n- [Response body](#body.response_body)\n- [Authorization Scopes](#body.aspect)\n\nValidates the identity of a Certified Professional Installer (CPI).\n\n### HTTP request\n\n`POST https://sasportal.googleapis.com/v1alpha1/installer:validate`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Request body\n\nThe request body contains data with the following structure:\n\n| JSON representation |\n|------------------------------------------------------------------------------|\n| ``` { \"installerId\": string, \"secret\": string, \"encodedSecret\": string } ``` |\n\n| Fields ||\n|-----------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `installerId` | `string` Required. Unique installer id (CPI ID) from the Certified Professional Installers database. |\n| `secret` | `string` Required. Secret returned by the [installer.generateSecret](/spectrum-access-system/reference/rest/v1alpha1/installer/generateSecret#spectrum.sas.portal.v1alpha1.DeviceManager.GenerateSecret). |\n| `encodedSecret` | `string` Required. JSON Web Token signed using a CPI private key. Payload must include a \"secret\" claim whose value is the secret. |\n\n### Response body\n\nIf successful, the response body is empty.\n\n### Authorization Scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/sasportal`"]]