We will be winding down Google Business Messages on July 31, 2024. Read more
here.
AuthenticationResponse
Stay organized with collections
Save and categorize content based on your preferences.
A response from the authentication server once the user signs-in.
JSON representation |
{
"code": string,
"errorDetails": {
object (ErrorDetails )
},
"redirectUri": string
} |
Fields |
code |
string
The authorization code that the client exchanges for an access token.
|
errorDetails |
object (ErrorDetails )
The error details from the authentication server.
|
redirectUri |
string
Redirect URI.
|
ErrorDetails
The message containing error details.
JSON representation |
{
"error": enum (Error ),
"errorDescription": string
} |
Fields |
error |
enum (Error )
An error which the server adds to the redirect URL.
|
errorDescription |
string
A human-readable description of the error.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-11-14 UTC.
[null,null,["Last updated 2024-11-14 UTC."],[[["\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. |"]]