Method: installer.validate
সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
একটি সার্টিফাইড প্রফেশনাল ইনস্টলার (CPI) এর পরিচয় যাচাই করে।
HTTP অনুরোধ
POST https://sasportal.googleapis.com/v1alpha1/installer:validate
URL gRPC ট্রান্সকোডিং সিনট্যাক্স ব্যবহার করে।
শরীরের অনুরোধ
অনুরোধের অংশে নিম্নলিখিত কাঠামো সহ ডেটা রয়েছে:
JSON প্রতিনিধিত্ব |
---|
{
"installerId": string,
"secret": string,
"encodedSecret": string
} |
ক্ষেত্র |
---|
installerId | string প্রয়োজন। সার্টিফাইড প্রফেশনাল ইনস্টলার ডাটাবেস থেকে অনন্য ইনস্টলার আইডি (সিপিআই আইডি)। |
secret | string প্রয়োজন। installer.generateSecret দ্বারা গোপন ফিরে এসেছে। |
encodedSecret | string প্রয়োজন। JSON ওয়েব টোকেন একটি CPI ব্যক্তিগত কী ব্যবহার করে স্বাক্ষরিত। পেলোডে অবশ্যই একটি "গোপন" দাবি অন্তর্ভুক্ত থাকতে হবে যার মূল্য গোপনীয়। |
প্রতিক্রিয়া শরীর
সফল হলে, প্রতিক্রিয়া বডি খালি।
অনুমোদনের সুযোগ
নিম্নলিখিত OAuth সুযোগ প্রয়োজন:
-
https://www.googleapis.com/auth/sasportal
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট Creative Commons Attribution 4.0 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2025-07-24 UTC-তে শেষবার আপডেট করা হয়েছে।
[null,null,["2025-07-24 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`"]]