Meet us at at Real World in Orlando, Florida.
All functions
Mac OS X
Windows
Crossplatform
Components
Guides
New in version:
2.0
2.1
2.2
2.3
2.4
2.5
2.6
2.7
2.8
CURL.SetOptionSSHAuthTypes
Component: CURL
Version: 2.5
Mac OS X: Works
Windows: Works
MBS( "CURL.SetOptionSSHAuthTypes"; handle; value )
Parameters
| Parameter | Description | Example value |
|---|---|---|
| Handle | The CURL session handle. | $curl |
| Value | The new types. | 3 |
Result
Returns "OK" on success.
Description
Sets the SSL authentication types.Pass a number set to a bitmask consisting of one or more of CURLSSH_AUTH_PUBLICKEY, CURLSSH_AUTH_PASSWORD, CURLSSH_AUTH_HOST, CURLSSH_AUTH_KEYBOARD. Set CURLSSH_AUTH_ANY to let libcurl pick one.
| CURLSSH_AUTH_ANY | -1 | all types supported by the server. |
| CURLSSH_AUTH_NONE | 0 | none allowed, silly but complete. |
| CURLSSH_AUTH_PUBLICKEY | 1 | public/private key files. |
| CURLSSH_AUTH_PASSWORD | 2 | password. |
| CURLSSH_AUTH_HOST | 4 | host key files. |
| CURLSSH_AUTH_KEYBOARD | 8 | keyboard interactive. |
| CURLSSH_AUTH_DEFAULT | -1 | default. |
Feedback: Report problem or ask question.
Links
MBS Realbasic PDF Plugins - Nachhilfe in Kell