Skip to main content

resolve_existing_token

Function resolve_existing_token 

Source
pub fn resolve_existing_token(token_file: Option<&Path>) -> Result<String>
Expand description

Resolves an existing session token for a client.

Used by the request subcommand: --token-file then OMNI_BRIDGE_TOKEN. Unlike resolve_token, it never generates one — a client must use the token the running bridge printed.