diff options
author | Christian Grothoff <christian@grothoff.org> | 2023-01-22 21:51:46 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2023-01-22 21:51:46 +0100 |
commit | a273b176da448cd27374acb94feee22c22dd8527 (patch) | |
tree | 3c19b5f6edcba35f4ed8b06214a2db59d9923434 /src/exchange/taler-exchange-httpd_kyc-proof.c | |
parent | c2eee251c2eda2ce544a808d77a9a5615a2e7c34 (diff) | |
download | exchange-a273b176da448cd27374acb94feee22c22dd8527.tar.gz exchange-a273b176da448cd27374acb94feee22c22dd8527.tar.bz2 exchange-a273b176da448cd27374acb94feee22c22dd8527.zip |
-towards storing KYC attribute data
Diffstat (limited to 'src/exchange/taler-exchange-httpd_kyc-proof.c')
-rw-r--r-- | src/exchange/taler-exchange-httpd_kyc-proof.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/exchange/taler-exchange-httpd_kyc-proof.c b/src/exchange/taler-exchange-httpd_kyc-proof.c index d37164987..1904c4acb 100644 --- a/src/exchange/taler-exchange-httpd_kyc-proof.c +++ b/src/exchange/taler-exchange-httpd_kyc-proof.c @@ -169,6 +169,7 @@ TEH_kyc_proof_cleanup (void) * @param provider_user_id set to user ID at the provider, or NULL if not supported or unknown * @param provider_legitimization_id set to legitimization process ID at the provider, or NULL if not supported or unknown * @param expiration until when is the KYC check valid + * @param attributes user attributes returned by the provider * @param http_status HTTP status code of @a response * @param[in] response to return to the HTTP client */ @@ -179,6 +180,7 @@ proof_cb ( const char *provider_user_id, const char *provider_legitimization_id, struct GNUNET_TIME_Absolute expiration, + const json_t *attributes, unsigned int http_status, struct MHD_Response *response) { @@ -194,6 +196,7 @@ proof_cb ( { enum GNUNET_DB_QueryStatus qs; + // FIXME: also store 'attributes' in DB! qs = TEH_plugin->update_kyc_process_by_row (TEH_plugin->cls, kpc->process_row, kpc->provider_section, |