wx auth
此内容尚不支持你的语言。
Sign the selected account in or out of WeChat
wx auth attempts
Inspect or cancel a WeChat login attempt
wx auth attempts cancel
Request cancellation of an item by ID
| Argument or flag | Takes | What it does |
|---|---|---|
<ID> | position 1, required | ID printed when the job, operation or login attempt was started |
wx auth attempts get
Show the current result and state of an item by ID
| Argument or flag | Takes | What it does |
|---|---|---|
<ID> | position 1, required | ID printed when the job, operation or login attempt was started |
wx auth attempts retry
Retry an eligible failed item by ID
| Argument or flag | Takes | What it does |
|---|---|---|
<ID> | position 1, required | ID printed when the job, operation or login attempt was started |
--reuse-completed-upload | switch | Reuse a completed file upload whose message submission never started |
wx auth cancel
Cancel a login attempt by ID
| Argument or flag | Takes | What it does |
|---|---|---|
<ID> | position 1, required | Login attempt ID printed by wx auth login |
wx auth disconnect
Disconnect while retaining the saved WeChat login
wx auth forget
Forget local authentication material while retaining history
| Argument or flag | Takes | What it does |
|---|---|---|
--idempotency-key | takes <IDEMPOTENCY_KEY> | Reuse this key when retrying so the daemon applies the request only once |
--yes | required, switch | Confirm discarding this account’s saved login credentials; history is kept |
wx auth login
Sign in using saved device trust or a phone-approved QR code
| Argument or flag | Takes | What it does |
|---|---|---|
--detach | switch | Return as soon as the work is queued instead of waiting for it |
--force-qr | switch, alias —qr | Skip saved device trust and sign in with a QR code |
--idempotency-key | takes <IDEMPOTENCY_KEY> | Reuse this key when retrying so the daemon applies the request only once |
--max-refreshes | takes <MAX_REFRESHES>, default 3 | Most times an expired QR code is replaced automatically (0 to 3) |
--no-qr | switch, alias —saved-only | Never show a QR code; sign in only with saved device trust |
--official | takes <OFFICIAL> | Use supported stopped Linux files in place; optional absolute path on the daemon host, not the CLI host. macOS/Windows profiles are unverified |
--qr-output | takes <QR_OUTPUT>, alias —qr-out | Save the login QR code PNG to this path; later refreshes add a -N suffix |
--qr-refresh | takes <QR_REFRESH>, default auto, values auto|manual | Replace an expired, unscanned QR code automatically, or leave it expired |
--strategy | takes <STRATEGY>, default auto, values auto|saved-device|qr | Which sign-in method to use; auto tries saved device trust first, then a QR code |
--timeout | takes <TIMEOUT>, alias —wait, default 300 | Seconds to allow for the login to finish (30 to 900) |
wx auth logout
Sign out of WeChat and disable automatic reconnection
| Argument or flag | Takes | What it does |
|---|---|---|
--detach | switch | Return as soon as the work is queued instead of waiting for it |
--idempotency-key | takes <IDEMPOTENCY_KEY> | Reuse this key when retrying so the daemon applies the request only once |
--local | switch | Sign out on the daemon and keep saved credentials, without contacting WeChat |
--wait | takes <WAIT>, default 30 | Seconds to wait for completion; the work keeps running after the wait ends |
wx auth operation
Show a login attempt by ID
| Argument or flag | Takes | What it does |
|---|---|---|
<ID> | position 1, required | Login attempt ID printed by wx auth login |
wx auth qr
Show or save the QR code for a login attempt
| Argument or flag | Takes | What it does |
|---|---|---|
<ID> | position 1, required | Login attempt ID printed by wx auth login |
--output | takes <OUTPUT> | Save the QR code PNG to this path instead of the default folder |
wx auth status
Show the selected account’s WeChat login state