mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-04-26 03:39:58 -07:00
@@ -45,7 +45,22 @@
|
||||
* @brief Checks whether user is authenticated and entered correct PIN.
|
||||
* If user is not authenticated it prompts user to enter correct PIN to authenticate.
|
||||
* @param plugin_state application state
|
||||
* @param cli reference to the firmware CLI subsystem
|
||||
* @param cli pointer to the firmware CLI subsystem
|
||||
* @return \c true if user is already authenticated or successfully authenticated; \c false otherwise
|
||||
*/
|
||||
bool totp_cli_ensure_authenticated(const PluginState* plugin_state, Cli* cli);
|
||||
|
||||
/**
|
||||
* @brief Forces application to be instantly closed
|
||||
* @param event_queue main app queue
|
||||
*/
|
||||
void totp_cli_force_close_app(FuriMessageQueue* event_queue);
|
||||
|
||||
/**
|
||||
* @brief Reads line of characters from console
|
||||
* @param cli pointer to the firmware CLI subsystem
|
||||
* @param out_str pointer to an output string to put read line to
|
||||
* @param mask_user_input whether to mask input characters in console or not
|
||||
* @return \c true if line successfully read and confirmed; \c false otherwise
|
||||
*/
|
||||
bool totp_cli_read_line(Cli* cli, FuriString* out_str, bool mask_user_input);
|
||||
|
||||
Reference in New Issue
Block a user