Chúng tôi sẽ ngừng cung cấp ứng dụng Google Business Messages từ ngày 31 tháng 7 năm 2024. Đọc thêm
tại đây.
AuthenticationResponse
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Phản hồi từ máy chủ xác thực sau khi người dùng đăng nhập.
Biểu diễn dưới dạng JSON |
{
"code": string,
"errorDetails": {
object (ErrorDetails )
},
"redirectUri": string
} |
Trường |
code |
string
Mã uỷ quyền mà ứng dụng đổi lấy mã truy cập.
|
errorDetails |
object (ErrorDetails )
Chi tiết lỗi từ máy chủ xác thực.
|
redirectUri |
string
URI chuyển hướng.
|
ErrorDetails
Thông báo chứa thông tin chi tiết về lỗi.
Biểu diễn dưới dạng JSON |
{
"error": enum (Error ),
"errorDescription": string
} |
Trường |
error |
enum (Error )
Lỗi mà máy chủ thêm vào URL chuyển hướng.
|
errorDescription |
string
Nội dung mô tả lỗi mà con người có thể đọc được.
|
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2025-07-25 UTC.
[null,null,["Cập nhật lần gần đây nhất: 2025-07-25 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. |"]]