Session and CLI authsession_module
Poll CLI Auth
Poll the device-code flow for a CLI access token once the user approves.
Request
Response
Errors
An error keeps the envelope: a negative code and a message in data.
Related methods
start_cli_authpublicBegin the device-code flow used by @xuda.ai/cli to sign a user in.
clear_session_logsadminHandles session logs.
get_host_locationuserWhere a server address or host name sits, by its public IP, for the map on the External VPS screen. Gives nothing for a private address or a name that does not resolve.
3 of 4 in Session and CLI auth