mirror of
https://github.com/curl/curl.git
synced 2026-05-16 22:36:21 +03:00
Authorizdation credentials are kept in `struct Curl_creds`. This contains: * `user`: the username, maybe the empty string * `passwd`: the password, maybe the empty string * `sasl_authzid`: the SASL authz value, maybe the empty string * `oauth_bearer`: the OAUTH bearer token, maybe the empty string * `source`: where the credentials from from * `refcount`: a reference counter to link/unkink creds A `creds` with all values empty is equivalent to NULL, e.g. no `creds` instance. With reference counting, `creds` can be linked/unlinked in several places. See docs/internals/CREDENTIALS.md for use. Closes #21548 |
||
|---|---|---|
| .. | ||
| libssh.c | ||
| libssh2.c | ||
| ssh.h | ||
| vssh.c | ||
| vssh.h | ||