Skip to main content

Module session

Module session 

Source
Expand description

CLI session lifecycle: resolve, create, persist, and clear sessions.

Re-exports the session surface used across commands: CliSessionContext (an authenticated session bound to its profile), get_or_create_session (the primary entry point), and the on-disk session store helpers (load_session_store, get_session_for_key, clear_session, clear_all_sessions). The api submodule carries the remote-session HTTP surface.

Modules§

api

Structs§

CliSessionContext

Functions§

clear_all_sessions
clear_session
get_or_create_session
get_session_for_key
load_session_store