MONGOC_CLIENT_SET_OIDC_CALLBACK(3)
π
mongoc_client_set_oidc_callback π
okay so bestie, we're in libmongoc land (that's the MongoDB C driver, mwah π) and this little icon right here is your one-way ticket to registering a callback for the MONGODB-OIDC authentication mechanism. that's it, that's the whole vibe. no cap.
β¨ SYNOPSIS β¨
bool
mongoc_client_set_oidc_callback(mongoc_client_t *client,
const mongoc_oidc_callback_t *callback);
register a callback for the MONGODB-OIDC authentication mechanism. slay. periodt. π₯
π«Ά PARAMETERS π«Ά
clientβ amongoc_client_t. your main character client, the one you're handing the callback to πββοΈcallbackβ amongoc_oidc_callback_t. the actual callback. the moment. the icon. the legend. π
π RETURNS π
returns true on success β we love a happy ending π.
returns false and logs on error β so if the vibe check fails, check your logs, because it will be in there π.
ngl, error case just means "false + it gets logged", so don't be out here ignoring your log output, bestie.
π SEE ALSO π
mongoc_client_pool_set_oidc_callback()β for setting a callback on a pooled client. iykyk, pool girlies stay winning π¦mongoc_oidc_callback_tβ the type itself, go read it, it's giving essential β¨mongoc_oidc_callback_params_tβ the params buddy of the above, also required reading fr fr π
π AUTHOR π
MongoDB, Inc β our beloved corporate fairy godmother π§
β COPYRIGHT β
2009-present, MongoDB, Inc. β all the legal sparkle, preserved exactly, no notes π
alright, cute sign-off time πΈ: this page is from libmongoc 2.5.6, and the footer date got itself clipped mid-word in the source, so it literally reads Oct 09, 202 β tragic, i know π β but that's the whole footer, and we're keeping it exactly like that. bye bestie! π
π¦ where this page comes from
- epel 10: mongo-c-driver-devel 2.5.6-1.el10_3 Β· Apache-2.0 AND ISC AND MIT AND Zlib
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms