aboutsummaryrefslogtreecommitdiff
path: root/src/kyclogic/sample.conf
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2022-08-09 12:11:56 +0200
committerChristian Grothoff <christian@grothoff.org>2022-08-09 12:11:56 +0200
commitf50a2e11b09d67eaa1db3b2de882294f08c2847a (patch)
treeb19536e2cee7e5e3e794c9cb9816a996c0638300 /src/kyclogic/sample.conf
parentff48ada7d5ba026a39c0e8ddefd54b80b813425b (diff)
downloadexchange-f50a2e11b09d67eaa1db3b2de882294f08c2847a.tar.xz
work on kyc-tester
Diffstat (limited to 'src/kyclogic/sample.conf')
-rw-r--r--src/kyclogic/sample.conf33
1 files changed, 33 insertions, 0 deletions
diff --git a/src/kyclogic/sample.conf b/src/kyclogic/sample.conf
new file mode 100644
index 000000000..b9a88c292
--- /dev/null
+++ b/src/kyclogic/sample.conf
@@ -0,0 +1,33 @@
+# This file is in the public domain.
+#
+
+[exchange]
+
+# HTTP port the exchange listens to
+PORT = 8081
+
+# Base URL of the exchange. Must be set to a URL where the
+# exchange (or the twister) is actually listening.
+BASE_URL = "http://localhost:8081/"
+
+[kyc-provider-test-oauth2]
+
+COST = 0
+LOGIC = oauth2
+USER_TYPE = INDIVIDUAL
+PROVIDED_CHECKS = DUMMY
+
+KYC_OAUTH2_VALIDITY = forever
+KYC_OAUTH2_AUTH_URL = http://kyc.taler.net/auth
+KYC_OAUTH2_LOGIN_URL = http://kyc.taler.net/login
+KYC_OAUTH2_INFO_URL = http://kyc.taler.net/info
+KYC_OAUTH2_POST_URL = http://kyc.taler.net/thank-you
+KYC_OAUTH2_CLIENT_ID = testcase
+KYC_OAUTH2_CLIENT_SECRET = password
+
+[kyc-legitimization-withdraw-high]
+
+OPERATION_TYPE = WITHDRAW
+REQUIRED_CHECKS = DUMMY
+THRESHOLD = KUDOS:100
+TIMEFRAME = 1a