auth
Check or set credentials for environment variables and OAuth tokens, including revocation.
Instructions
Check or set credentials. ALL_CAPS = env var; server-id = creds check or OAuth.
auth('GITHUB_TOKEN', 'ghp_...') # save env var auth('GITHUB_TOKEN') # check if set auth('server-id') # show creds needed / run OAuth auth('server-id', 'logout') # revoke OAuth tokens
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | No | ||
| server_id_or_var | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |