Skip to main content

TOKEN_APP_NAME

Constant TOKEN_APP_NAME 

Source
pub const TOKEN_APP_NAME: &str = "trusty-code";
Expand description

The app name whose data directory holds this daemon’s credential file.

Why: server (run_http) and client (crate::tui_client) resolve the token through the same constant, so they cannot end up reading two files.