我们将于 2024 年 7 月 31 日逐步淘汰 Google Business Messages。点击
此处了解详情。
AuthenticationResponse
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
JSON 表示法 |
{
"code": string,
"errorDetails": {
object (ErrorDetails )
},
"redirectUri": string
} |
字段 |
code |
string
客户端用来交换访问令牌的授权代码。
|
errorDetails |
object (ErrorDetails )
来自身份验证服务器的错误详情。
|
redirectUri |
string
重定向 URI。
|
ErrorDetails
JSON 表示法 |
{
"error": enum (Error ),
"errorDescription": string
} |
字段 |
error |
enum (Error )
服务器添加到重定向网址的错误。
|
errorDescription |
string
直观易懂的错误说明。
|
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-25。
[null,null,["最后更新时间 (UTC):2025-07-25。"],[[["\u003cp\u003eThe authentication server response contains an authorization code, error details (if any), and a redirect URI.\u003c/p\u003e\n"],["\u003cp\u003eThe authorization code is used by the client to obtain an access token.\u003c/p\u003e\n"],["\u003cp\u003eIf an error occurs during authentication, the response includes an error code and a human-readable description.\u003c/p\u003e\n"]]],[],null,["# AuthenticationResponse\n\nA response from the authentication server once the user signs-in.\n\n| JSON representation |\n|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"code\": string, \"errorDetails\": { object (/business-communications/business-messages/reference/rest/v1/AuthenticationResponse#ErrorDetails) }, \"redirectUri\": string } ``` |\n\n| Fields ||\n|----------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `code` | `string` The authorization code that the client exchanges for an access token. |\n| `errorDetails` | `object (`[ErrorDetails](/business-communications/business-messages/reference/rest/v1/AuthenticationResponse#ErrorDetails)`)` The error details from the authentication server. |\n| `redirectUri` | `string` Redirect URI. |\n\nErrorDetails\n------------\n\nThe message containing error details.\n\n| JSON representation |\n|----------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"error\": enum (/business-communications/business-messages/reference/rest/v1/Error), \"errorDescription\": string } ``` |\n\n| Fields ||\n|--------------------|--------------------------------------------------------------------------------------------------------------------------------------------|\n| `error` | `enum (`[Error](/business-communications/business-messages/reference/rest/v1/Error)`)` An error which the server adds to the redirect URL. |\n| `errorDescription` | `string` A human-readable description of the error. |"]]