mongoc_oidc_callback_params_get_username
Synopsis
const char * mongoc_oidc_callback_params_get_username (const mongoc_oidc_callback_params_t *params);
Return the username component of the URI of an associated mongoc_client_t <> or mongoc_client_pool_t <> object.
Parameters
- params: a mongoc_oidc_callback_params_t <>.
Returns
A string which must not be modified or freed, or NULL.
Lifecycle
The string is only valid for the duration of the invocation of the OIDC callback function.
See also:
- mongoc_oidc_callback_params_t <>
- mongoc_oidc_callback_t <>
- mongoc_uri_t <>
Author
MongoDB, Inc
Copyright
2009-present, MongoDB, Inc.
Info
Mar 04, 2026 2.2.3 libmongoc