implement OAuth 2.0 service

This commit is contained in:
Christian Grothoff 2021-11-07 23:46:23 +01:00
parent 051deacb97
commit 398ef9d971
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC
2 changed files with 13 additions and 1 deletions

View File

@ -2243,6 +2243,18 @@ TALER_TESTING_cmd_proof_kyc (const char *label,
unsigned int expected_response_code);
/**
* Starts a fake OAuth 2.0 service on @a port for testing
* KYC processes.
*
* @param label command label
* @param port the TCP port to listen on
*/
struct TALER_TESTING_Command
TALER_TESTING_cmd_oauth (const char *label,
uint16_t port);
/* *** Generic trait logic for implementing traits ********* */

View File

@ -245,4 +245,4 @@ TALER_TESTING_cmd_oauth (const char *label,
}
/* end of testing_api_cmd_kyc_proof.c */
/* end of testing_api_cmd_oauth.c */