Obiekt: AuthenticationAuthorizationResponse
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Treść odpowiedzi
Obiekt wysyłany podczas odpowiedzi uwierzytelniania-autoryzacji.
Oto przykład odpowiedzi w formie zwykłego tekstu w formacie JSON:
{
"requestId": "375dhjf9-Uydd="
"authorizations": ["LIST_ACCOUNTS", "ASSOCIATE_ACCOUNT"]
}
AuthenticationAuthorizationResponse jest szyfrowany i podpisany za pomocą PGP lub JWS + JWE.
Ponadto ta wartość jest zakodowana w formacie base64, który jest obsługiwany w internecie. Ten kod jest poniżej określany jako Base64UrlEncode. Inaczej mówiąc, czytelna wersja JSON obiektu
AuthenticationAuthorizationRequest musi zostać przekazane przez ten kod
funkcje:
Base64UrlEncode(
PGPSignAndEncrypt(
'{"requestId": "375dhjf9-Uydd=",
"authorizations": ["LIST_ACCOUNTS", "ASSOCIATE_ACCOUNT"]}'
)
)
lub
Base64UrlEncode(
JWSignAndEncrypt(
'{"requestId": "375dhjf9-Uydd=",
"authorizations": ["LIST_ACCOUNTS", "ASSOCIATE_ACCOUNT"]}'
)
)
| Zapis JSON |
{
"requestId": string,
"authorizations": repeated string,
}
|
| Pola |
requestId |
string
WYMAGANE: integrator płatności przekazuje ten parametr do Google. Dzięki temu Google zapobiega atakom typu replay.
|
authorizations |
repeated string
WYMAGANE: jest zwracany przez integratora płatności w celu
Google. Pozwala to Google sprawdzić, czy zwrócone wartości authorizations są takie same jak przekazane wartości authorizations.
|
Wszelkie prawa zastrzeżone. Java jest zastrzeżonym znakiem towarowym firmy Oracle lub jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-07-25 UTC.
[[["Łatwo zrozumieć","easyToUnderstand","thumb-up"],["Rozwiązało to mój problem","solvedMyProblem","thumb-up"],["Inne","otherUp","thumb-up"]],[["Brak potrzebnych mi informacji","missingTheInformationINeed","thumb-down"],["Zbyt skomplikowane / zbyt wiele czynności do wykonania","tooComplicatedTooManySteps","thumb-down"],["Nieaktualne treści","outOfDate","thumb-down"],["Problem z tłumaczeniem","translationIssue","thumb-down"],["Problem z przykładami/kodem","samplesCodeIssue","thumb-down"],["Inne","otherDown","thumb-down"]],["Ostatnia aktualizacja: 2025-07-25 UTC."],[],["The `AuthenticationAuthorizationResponse` contains a `requestId` (string) and `authorizations` (repeated string). The `requestId` is used to prevent replay attacks, and `authorizations` are checked against the initial request. This JSON data is encrypted and signed using PGP or JWS+JWE, then encoded using `Base64UrlEncode`. The example shows how clear text JSON, including request ID and authorization types like \"LIST_ACCOUNTS\" and \"ASSOCIATE_ACCOUNT,\" is processed.\n"]]