constants.h 742 B

1234567891011121314151617
  1. #pragma once
  2. #define CONFIG_FILE_HEADER "Flipper TOTP plugin config file"
  3. #define CONFIG_FILE_ACTUAL_VERSION (4)
  4. #define TOTP_CONFIG_KEY_TIMEZONE "Timezone"
  5. #define TOTP_CONFIG_KEY_TOKEN_NAME "TokenName"
  6. #define TOTP_CONFIG_KEY_TOKEN_SECRET "TokenSecret"
  7. #define TOTP_CONFIG_KEY_TOKEN_ALGO "TokenAlgo"
  8. #define TOTP_CONFIG_KEY_TOKEN_DIGITS "TokenDigits"
  9. #define TOTP_CONFIG_KEY_TOKEN_DURATION "TokenDuration"
  10. #define TOTP_CONFIG_KEY_TOKEN_AUTOMATION_FEATURES "TokenAutomationFeatures"
  11. #define TOTP_CONFIG_KEY_CRYPTO_VERIFY "Crypto"
  12. #define TOTP_CONFIG_KEY_BASE_IV "BaseIV"
  13. #define TOTP_CONFIG_KEY_PINSET "PinIsSet"
  14. #define TOTP_CONFIG_KEY_NOTIFICATION_METHOD "NotificationMethod"
  15. #define TOTP_CONFIG_KEY_AUTOMATION_METHOD "AutomationMethod"