curl/lib/vssh
Stefan Eissing 8f71d0fde5
creds: hold credentials
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
2026-05-12 16:05:15 +02:00
..
libssh.c creds: hold credentials 2026-05-12 16:05:15 +02:00
libssh2.c creds: hold credentials 2026-05-12 16:05:15 +02:00
ssh.h protocol source, all about protocols and uri schemes 2026-03-16 08:39:02 +01:00
vssh.c protocol source, all about protocols and uri schemes 2026-03-16 08:39:02 +01:00
vssh.h lib: use lib source directory as base include path 2026-02-23 16:00:42 +01:00