From f2dbb45c194cfc41395b7a13a828e24ceeb7bc89 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sun, 26 Sep 2021 19:24:14 +0200 Subject: starting with TOTP plugin for #7023 --- src/include/anastasis_authorization_plugin.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/include') diff --git a/src/include/anastasis_authorization_plugin.h b/src/include/anastasis_authorization_plugin.h index 91a88f8..48d8741 100644 --- a/src/include/anastasis_authorization_plugin.h +++ b/src/include/anastasis_authorization_plugin.h @@ -126,6 +126,14 @@ struct ANASTASIS_AuthorizationPlugin */ bool payment_plugin_managed; + /** + * The plugin expects the "code" in the "start" function to be + * provided by the user and not generated by the Anastasis + * backend. The plugin will then validate the code using its own + * means. Used by TOTP. + */ + bool user_provided_code; + /** * How often are retries allowed for challenges created * by this plugin? -- cgit v1.2.3