auth
Check or set credentials for server authentication. Save environment variables, run OAuth, or revoke tokens.
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 |
|---|---|---|---|
| server_id_or_var | Yes | ||
| value | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |