diff options
author | Christian Grothoff <christian@grothoff.org> | 2021-09-26 19:24:14 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2021-09-26 19:24:14 +0200 |
commit | f2dbb45c194cfc41395b7a13a828e24ceeb7bc89 (patch) | |
tree | dfb104db289c3c3f306bbf0ec3a956631e412a04 /src/include | |
parent | f70f4ce7e052569d171af503034811fc0dfe9d19 (diff) | |
download | anastasis-f2dbb45c194cfc41395b7a13a828e24ceeb7bc89.tar.gz anastasis-f2dbb45c194cfc41395b7a13a828e24ceeb7bc89.tar.bz2 anastasis-f2dbb45c194cfc41395b7a13a828e24ceeb7bc89.zip |
starting with TOTP plugin for #7023
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/anastasis_authorization_plugin.h | 8 |
1 files changed, 8 insertions, 0 deletions
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 @@ -127,6 +127,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? */ |