summaryrefslogtreecommitdiff
path: root/src/include/anastasis_authorization_plugin.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/anastasis_authorization_plugin.h')
-rw-r--r--src/include/anastasis_authorization_plugin.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/include/anastasis_authorization_plugin.h b/src/include/anastasis_authorization_plugin.h
index b159aaa..a1006a7 100644
--- a/src/include/anastasis_authorization_plugin.h
+++ b/src/include/anastasis_authorization_plugin.h
@@ -97,6 +97,18 @@ struct ANASTASIS_AuthorizationPlugin
void *cls;
/**
+ * Cost to GET the /truth using this method. Set by the plugin's
+ * loader, not by the plugin itself.
+ */
+ struct TALER_Amount cost;
+
+ /**
+ * True if the payment is managed internally by the
+ * authorization plugin.
+ */
+ bool payment_plugin_managed;
+
+ /**
* How long should a generated challenge be valid for this type of method.
*/
struct GNUNET_TIME_Relative code_validity_period;