curl/lib/vauth
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
..
cleartext.c creds: hold credentials 2026-05-12 16:05:15 +02:00
cram.c creds: hold credentials 2026-05-12 16:05:15 +02:00
digest.c creds: hold credentials 2026-05-12 16:05:15 +02:00
digest.h lib: use lib source directory as base include path 2026-02-23 16:00:42 +01:00
digest_sspi.c creds: hold credentials 2026-05-12 16:05:15 +02:00
gsasl.c creds: hold credentials 2026-05-12 16:05:15 +02:00
krb5_gssapi.c creds: hold credentials 2026-05-12 16:05:15 +02:00
krb5_sspi.c creds: hold credentials 2026-05-12 16:05:15 +02:00
ntlm.c creds: hold credentials 2026-05-12 16:05:15 +02:00
ntlm_sspi.c creds: hold credentials 2026-05-12 16:05:15 +02:00
oauth2.c creds: hold credentials 2026-05-12 16:05:15 +02:00
spnego_gssapi.c creds: hold credentials 2026-05-12 16:05:15 +02:00
spnego_sspi.c creds: hold credentials 2026-05-12 16:05:15 +02:00
vauth.c creds: hold credentials 2026-05-12 16:05:15 +02:00
vauth.h creds: hold credentials 2026-05-12 16:05:15 +02:00