Sign in to Antideploy
loginConnects this machine to your Antideploy account by returning a link and code for the user to approve, then saves the session and reports the connected account.
Instructions
Connect this machine to the user's Antideploy account. First call: returns a link and a short code; show both to the user, who opens the link, checks the code matches and clicks Approve (that is the only thing they do; if they have no account the same link creates one). Then call login again: it waits for the approval, saves the login in ~/.antideploy and tells you which account was connected, which you must tell the user. Later calls just confirm the connection. The login can be revoked any time at https://antideploy.com/tokens. If the user declines, stop and do not start another unless they ask. The token is never shown to you.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | Start a new login even if one is saved, to switch to a different account. |