Method: challenge.generate
HTTP 请求
POST https://verifiedaccess.googleapis.com/v2/challenge:generate
网址采用 gRPC 转码语法。
响应正文
VerifiedAccess.GenerateChallenge 的结果消息。
如果成功,响应正文将包含结构如下的数据:
JSON 表示法 |
{
"challenge": string
} |
字段 |
challenge |
string (bytes format)
生成的质询,即 SignedData 的字节表示法。 使用 base64 编码的字符串。
|
授权范围
需要以下 OAuth 范围:
https://www.googleapis.com/auth/verifiedaccess
如需了解详情,请参阅身份验证概览。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2024-11-08。
[null,null,["最后更新时间 (UTC):2024-11-08。"],[[["Generates a new Verified Access challenge using a POST request to a specified endpoint."],["Requires an empty request body and returns a JSON response containing the generated challenge as a base64-encoded string."],["Utilizes gRPC Transcoding for the URL structure and needs authorization with the `https://www.googleapis.com/auth/verifiedaccess` scope."]]],[]]