myxce/src/frontend/xcecli/common
Rongsong Shen 0379823098
fix(xcecli): call the logout API so the token is revoked (bug-1959)
xcecli logout only removed the token from the local config, so the token
stayed valid on the server until it expired. It now first sends
POST /xce/v1/auth/logout with the bearer token (APIClient.Logout), which
revokes it server side since bug-1946. Best effort: if the server is
unreachable or rejects the token, the local login info is still cleared
and a warning says the revocation could not be confirmed.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-10 10:25:23 +00:00
..
format feat(job-array-one-based-index): client identity and selection parser (task 8.1) 2026-10-01 12:47:39 +00:00
output fix(controller,apiserver,xcecli): expose job CPU peak and efficiency to the apiserver and xcecli (bug-1736) 2026-10-06 13:54:43 +00:00
request fix(xcecli): call the logout API so the token is revoked (bug-1959) 2026-10-10 10:25:23 +00:00
utils Merge Go frontend (apiserver + xcecli) into meson build 2026-04-14 11:23:18 +08:00