feat: easier login
This commit is contained in:
@@ -31,16 +31,21 @@ Gmail, Outlook.com.
|
||||
|
||||
#### `login`
|
||||
|
||||
Authenticate to Exchange EWS via NTLM.
|
||||
Authenticate to Exchange EWS via NTLM. On first use, all fields except `domain`
|
||||
are required. On subsequent logins, only `password` is needed — previously saved
|
||||
`serverUrl`, `email`, `username`, and `domain` are reused automatically.
|
||||
|
||||
| Parameter | Type | Required | Description |
|
||||
| ----------- | ------ | -------- | ------------------------------------------------ |
|
||||
| `serverUrl` | string | yes | EWS server URL (e.g. `https://mail.example.com`) |
|
||||
| `email` | string | yes | Email address |
|
||||
| `username` | string | yes | NTLM username |
|
||||
| `serverUrl` | string | no* | EWS server URL (e.g. `https://mail.example.com`) |
|
||||
| `email` | string | no* | Email address |
|
||||
| `username` | string | no* | NTLM username |
|
||||
| `password` | string | yes | NTLM password |
|
||||
| `domain` | string | no | NTLM domain (default: `corp`) |
|
||||
|
||||
\* Required only on first login; skipped on subsequent logins (loaded from saved
|
||||
config).
|
||||
|
||||
#### `check_session`
|
||||
|
||||
Check if the current session is authenticated. No parameters. Returns
|
||||
|
||||
Reference in New Issue
Block a user