Đối tượng: Xác thực Uỷ quyềnRequest
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.
Nội dung yêu cầu
Đã gửi đối tượng trong quá trình yêu cầu cấp quyền xác thực.
Dưới đây là ví dụ về một yêu cầu JSON văn bản rõ ràng:
{
"requestId": "375dhjf9-Uydd="
"authorizations": ["LIST_ACCOUNTS", "ASSOCIATE_ACCOUNT"]
}
AuthenticationAuthorizationRequest
được mã hoá và ký bằng PGP hoặc JWS+JWE.
Ngoài ra, giá trị này được mã hoá base64 an toàn cho web. Mã hoá này được gọi là Base64UrlEncode
ở bên dưới. Nói cách khác, phiên bản JSON văn bản rõ ràng của AuthenticationRequest
phải được truyền qua các hàm sau:
Base64UrlEncode(
PGPSignAndEncrypt(
'{"requestId": "375dhjf9-Uydd=",
"authorizations": ["LIST_ACCOUNTS", "ASSOCIATE_ACCOUNT"]}'
)
)
hoặc
Base64UrlEncode(
JWSignAndEncrypt(
'{"requestId": "375dhjf9-Uydd=",
"authorizations": ["LIST_ACCOUNTS", "ASSOCIATE_ACCOUNT"]}'
)
)
Biểu diễn dưới dạng JSON |
{
"requestId": string
,
"authorizations": repeated string
}
|
Trường |
requestId |
string
BẮT BUỘC: Giá trị nhận dạng cho yêu cầu này.
|
authorizations |
repeated string
BẮT BUỘC: Đơn vị tích hợp thanh toán phản ánh lại tới
Google. Điều này cho phép Google kiểm tra xem
authorizations người trả lại là
cùng một authorizations được truyền vào.
|
Mọi quyền được bảo lưu. Java là một nhãn hiệu đã đăng ký của Oracle và/hoặc chi nhánh của Oracle.
Cập nhật lần gần đây nhất: 2025-07-25 UTC.
[[["Dễ hiểu","easyToUnderstand","thumb-up"],["Giúp tôi giải quyết được vấn đề","solvedMyProblem","thumb-up"],["Khác","otherUp","thumb-up"]],[["Thiếu thông tin tôi cần","missingTheInformationINeed","thumb-down"],["Quá phức tạp/quá nhiều bước","tooComplicatedTooManySteps","thumb-down"],["Đã lỗi thời","outOfDate","thumb-down"],["Vấn đề về bản dịch","translationIssue","thumb-down"],["Vấn đề về mẫu/mã","samplesCodeIssue","thumb-down"],["Khác","otherDown","thumb-down"]],["Cập nhật lần gần đây nhất: 2025-07-25 UTC."],[],["The `AuthenticationAuthorizationRequest` is a JSON object containing a `requestId` (a unique string identifier) and an `authorizations` array (strings indicating requested permissions). This object, in clear text, is signed and encrypted using either PGP or JWS+JWE. The result is then encoded using Base64UrlEncode. This process is detailed with an example and the required JSON field structure is defined, ensuring that the received authorizations match the ones requested.\n"]]