From 398ef9d971019cb2cce28b5936f491bc0738b046 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sun, 7 Nov 2021 23:46:23 +0100 Subject: implement OAuth 2.0 service --- src/include/taler_testing_lib.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'src/include/taler_testing_lib.h') diff --git a/src/include/taler_testing_lib.h b/src/include/taler_testing_lib.h index 05ace639..1f678b43 100644 --- a/src/include/taler_testing_lib.h +++ b/src/include/taler_testing_lib.h @@ -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 ********* */ -- cgit v1.2.3