totp_scenes_enum.h 736 B

123456789101112131415161718192021222324252627282930313233343536
  1. #pragma once
  2. /**
  3. * @brief TOTP application scenes
  4. */
  5. typedef enum {
  6. /**
  7. * @brief Empty scene which does nothing
  8. */
  9. TotpSceneNone,
  10. /**
  11. * @brief Scene where user have to enter PIN to authenticate
  12. */
  13. TotpSceneAuthentication,
  14. /**
  15. * @brief Scene where actual TOTP token is getting generated and displayed to the user
  16. */
  17. TotpSceneGenerateToken,
  18. /**
  19. * @brief Scene where user can add new token
  20. */
  21. TotpSceneAddNewToken,
  22. /**
  23. * @brief Scene with a menu for given token, allowing user to do multiple actions
  24. */
  25. TotpSceneTokenMenu,
  26. /**
  27. * @brief Scene where user can change application settings
  28. */
  29. TotpSceneAppSettings
  30. } Scene;