Oggetto: AuthenticationRequest
Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
Corpo della richiesta
Oggetto inviato durante la richiesta di autenticazione.
Ecco un esempio di richiesta JSON in chiaro:
{
"requestId": "375dhjf9-Uydd="
}
AuthenticationRequest
è criptato e firmato utilizzando PGP o JWE+JWS.
Inoltre, questo valore è codificato in Base64 sicuro per il web. Questa codifica è indicata di seguito come
Base64UrlEncode
. In altre parole, la versione JSON in chiaro
AuthenticationRequest
deve essere trasmesso tramite le seguenti funzioni:
Base64UrlEncode(
PGPSignAndEncrypt(
'{"requestId": "375dhjf9-Uydd="}'
)
)
o
Base64UrlEncode(
JWSignAndEncrypt(
'{"requestId": "375dhjf9-Uydd="}'
)
)
Rappresentazione JSON |
{
"requestId": string,
"associationId": string,
}
|
Campi |
requestId |
string
OBBLIGATORIO: identificatore di questa richiesta.
|
associationId |
string
OPTIONAL: l'ID che rappresenta l'associazione tra l'Account Google di un cliente e l'account di un cliente presso il fornitore. Se questo flusso di autenticazione viene utilizzato per autenticare nuovamente un utente che ha già completato un flusso di associazione, questo campo identifica l'account specifico del fornitore con cui l'utente deve autenticarsi. Ciò consente di assicurarsi che l'utente non (ad es.) esegua accidentalmente l'autenticazione utilizzando un altro account. Se viene fornito questo campo, l'integratore pagamenti deve assicurarsi che l'account da autenticare sia associato a questo AssociationId, altrimenti deve restituire un errore.
|
Tutti i diritti riservati. Java è un marchio registrato di Oracle e/o delle sue consociate.
Ultimo aggiornamento 2025-07-25 UTC.
[[["Facile da capire","easyToUnderstand","thumb-up"],["Il problema è stato risolto","solvedMyProblem","thumb-up"],["Altra","otherUp","thumb-up"]],[["Mancano le informazioni di cui ho bisogno","missingTheInformationINeed","thumb-down"],["Troppo complicato/troppi passaggi","tooComplicatedTooManySteps","thumb-down"],["Obsoleti","outOfDate","thumb-down"],["Problema di traduzione","translationIssue","thumb-down"],["Problema relativo a esempi/codice","samplesCodeIssue","thumb-down"],["Altra","otherDown","thumb-down"]],["Ultimo aggiornamento 2025-07-25 UTC."],[[["Authentication requests contain a request ID and, optionally, an association ID, within a JSON object."],["The JSON request body is encrypted and signed using either PGP or JWE+JWS for security."],["This secured data is then encoded using web-safe base64 encoding before transmission."],["The `requestId` is a required field that uniquely identifies each authentication request."],["Including the `associationId` is optional but helps link the Google Account with the vendor's customer account for re-authentication purposes."]]],["The `AuthenticationRequest` is a JSON object containing a `requestId` (required string identifier) and an optional `associationId` (string linking Google and vendor accounts). This JSON is encrypted and signed using PGP or JWE+JWS, then encoded using Base64UrlEncode. The resulting string is sent during the authentication. The Payment Integrator, if provided with an `associationId`, is responsible for validating that the account the user authenticates, is the correct account tied to the `associationId`.\n"]]