MONGOC_OIDC_CA..._SET_USER_DATA(3)

πŸ“¦
version 2.5.6 Β· 3 versions
, in epel 10

πŸ¦‹ mongoc_oidc_callback_set_user_data πŸ¦‹

okay so this is the MONGOC_OIDC_CA..._SET_USER_DATA(3) page in the libmongoc manual β€” yes, the title is serving truncated-chic and we love that for it. Let's get into it, bestie. πŸ’…

✨ SYNOPSIS ✨

void
mongoc_oidc_callback_set_user_data (mongoc_oidc_callback_t *callback, void *user_data);

Store the provided pointer to user data. That's the whole assignment: you hand it a pointer, it stores that pointer. Simple, iconic, no cap. ✨

⚠️ WARNING ⚠️

The lifetime of the object pointed to by user_data is managed by the user, not by mongoc_oidc_callback_t! So yeah β€” that lifetime is your problem, not the callback struct's problem. Important, bestie. 🫢

πŸ’… PARAMETERS πŸ’…

  • callback β€” a mongoc_oidc_callback_t.
  • user_data β€” a pointer to user data or NULL.

πŸ¦‹ SEE ALSO πŸ¦‹

  • mongoc_oidc_callback_t
  • mongoc_oidc_callback_get_user_data()

🌸 AUTHOR 🌸

MongoDB, Inc

2009-present, MongoDB, Inc.


πŸ’Œ cute lil sign-off: this page comes from libmongoc 2.5.6, dated Oct 09, 202 β€” mwah, bye bestie! πŸ’–

πŸ“¦ where this page comes from