Method: challenge.verify
সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
HTTP অনুরোধ
POST https://verifiedaccess.googleapis.com/v1/challenge:verify
URL gRPC ট্রান্সকোডিং সিনট্যাক্স ব্যবহার করে।
শরীরের অনুরোধ
অনুরোধের অংশে নিম্নলিখিত কাঠামো সহ ডেটা রয়েছে:
JSON প্রতিনিধিত্ব |
---|
{
"challengeResponse": {
object (SignedData )
},
"expectedIdentity": string
} |
ক্ষেত্র |
---|
challengeResponse | object ( SignedData ) চ্যালেঞ্জের জন্য উত্পন্ন প্রতিক্রিয়া |
expectedIdentity | string পরিষেবা ঐচ্ছিকভাবে কীটির সাথে যুক্ত ডিভাইস বা ব্যবহারকারী সম্পর্কে পরিচয় তথ্য প্রদান করতে পারে। একটি EMK-এর জন্য, এই মানটি নথিভুক্ত ডোমেন। একটি EUK-এর জন্য, এই মানটি ব্যবহারকারীর ইমেল ঠিকানা। যদি উপস্থিত থাকে, এই মানটি প্রতিক্রিয়ার বিষয়বস্তুর বিরুদ্ধে চেক করা হবে, এবং কোনো মিল না থাকলে যাচাইকরণ ব্যর্থ হবে। |
প্রতিক্রিয়া শরীর
VerifiedAccess.VerifyChallengeResponse-এর ফলাফলের বার্তা।
সফল হলে, প্রতিক্রিয়া বডিতে নিম্নলিখিত কাঠামোর সাথে ডেটা থাকে:
JSON প্রতিনিধিত্ব |
---|
{
"verificationOutput": string,
"devicePermanentId": string,
"signedPublicKeyAndChallenge": string,
"deviceEnrollmentId": string,
"attestedDeviceId": string
} |
ক্ষেত্র |
---|
verificationOutput (deprecated) | string EMCert চেকের জন্য, ডিভাইসের স্থায়ী আইডি এখানে ফেরত দেওয়া হয়। EUCert চেকের জন্য, স্বাক্ষরিতPublicKeyAndChallenge [base64 encoded] উপস্থিত থাকলে ফেরত দেওয়া হয়, অন্যথায় খালি স্ট্রিং ফেরত দেওয়া হয়। এই ক্ষেত্রটি বাতিল করা হয়েছে, অনুগ্রহ করে devicePermanentId বা স্বাক্ষরিতPublicKeyAndChallenge ক্ষেত্রগুলি ব্যবহার করুন৷ |
devicePermanentId | string ডিভাইসের স্থায়ী আইডি এই ক্ষেত্রে ফেরত দেওয়া হয় (শুধুমাত্র মেশিনের প্রতিক্রিয়ার জন্য)। |
signedPublicKeyAndChallenge | string শংসাপত্র স্বাক্ষরের অনুরোধ (SPKAC ফর্ম্যাটে, base64 এনকোড করা) এই ক্ষেত্রে ফেরত দেওয়া হয়। এই ক্ষেত্রটি তখনই সেট করা হবে যদি ডিভাইসটি তার চ্যালেঞ্জ প্রতিক্রিয়াতে CSR অন্তর্ভুক্ত করে। (সিএসআর অন্তর্ভুক্ত করার বিকল্পটি এখন ব্যবহারকারী এবং মেশিন উভয় প্রতিক্রিয়ার জন্য উপলব্ধ) |
deviceEnrollmentId | string ডিভাইস নথিভুক্তি আইডি এই ক্ষেত্রে ফেরত দেওয়া হয় (শুধুমাত্র মেশিনের প্রতিক্রিয়ার জন্য)। |
attestedDeviceId | string ডিভাইসটির সত্যায়িত ডিভাইস আইডি (ADID), যাচাইকৃত ডেটা থেকে পড়ুন। |
অনুমোদনের সুযোগ
নিম্নলিখিত OAuth সুযোগ প্রয়োজন:
-
https://www.googleapis.com/auth/verifiedaccess
আরো তথ্যের জন্য, দেখুনOAuth 2.0 Overview .
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট 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\u003eThe challenge.verify API is used to verify a challenge response from a device or user, typically involving cryptographic signatures.\u003c/p\u003e\n"],["\u003cp\u003eThe request body requires the challenge response and optionally the expected identity of the device or user.\u003c/p\u003e\n"],["\u003cp\u003eUpon successful verification, the response body provides device identifiers, a certificate signing request (if applicable), and other relevant data.\u003c/p\u003e\n"],["\u003cp\u003eThis API requires the \u003ccode\u003ehttps://www.googleapis.com/auth/verifiedaccess\u003c/code\u003e OAuth scope for authorization.\u003c/p\u003e\n"]]],[],null,["# Method: challenge.verify\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 - [JSON representation](#body.VerifyChallengeResponseResult.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n\nchallenge.verify API\n\n### HTTP request\n\n`POST https://verifiedaccess.googleapis.com/v1/challenge:verify`\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| ``` { \"challengeResponse\": { object (/chrome/verified-access/reference/rest/v1/SignedData) }, \"expectedIdentity\": string } ``` |\n\n| Fields ||\n|---------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `challengeResponse` | `object (`[SignedData](/chrome/verified-access/reference/rest/v1/SignedData)`)` The generated response to the challenge |\n| `expectedIdentity` | `string` Service can optionally provide identity information about the device or user associated with the key. For an EMK, this value is the enrolled domain. For an EUK, this value is the user's email address. If present, this value will be checked against contents of the response, and verification will fail if there is no match. |\n\n### Response body\n\nResult message for VerifiedAccess.VerifyChallengeResponse.\n\nIf successful, the response body contains data with the following structure:\n\n| JSON representation |\n|------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"verificationOutput\": string, \"devicePermanentId\": string, \"signedPublicKeyAndChallenge\": string, \"deviceEnrollmentId\": string, \"attestedDeviceId\": string } ``` |\n\n| Fields ||\n|---------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `verificationOutput` **(deprecated)** | `string` | This item is deprecated! For EMCert check, device permanent id is returned here. For EUCert check, signedPublicKeyAndChallenge \\[base64 encoded\\] is returned if present, otherwise empty string is returned. This field is deprecated, please use devicePermanentId or signedPublicKeyAndChallenge fields. |\n| `devicePermanentId` | `string` Device permanent id is returned in this field (for the machine response only). |\n| `signedPublicKeyAndChallenge` | `string` Certificate Signing Request (in the SPKAC format, base64 encoded) is returned in this field. This field will be set only if device has included CSR in its challenge response. (the option to include CSR is now available for both user and machine responses) |\n| `deviceEnrollmentId` | `string` Device enrollment id is returned in this field (for the machine response only). |\n| `attestedDeviceId` | `string` Attested device id (ADID) of the device, read from the verified data. |\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/verifiedaccess`\n\nFor more information, see the [OAuth 2.0 Overview](/identity/protocols/OAuth2)."]]