gws.accounts.complete
Finalize a pending OAuth flow by passing the pendingId. If sign-in is incomplete, returns 'pending'—poll again until the user finishes.
Instructions
Finalize a pending OAuth flow started by gws.accounts.add or gws.accounts.reauth. Returns quickly; if the user has not yet completed sign-in, responds with status 'pending' and the caller should call again.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pendingId | Yes | The pendingId returned by add/reauth | |
| waitSeconds | No | Max seconds to wait for completion on this call (default 3, max 3). Poll in short increments rather than holding a single call open. |