Scroll to navigation

MONGOC_OIDC_CALLBACK_PARAMS_GET_USERNAME(3) libmongoc MONGOC_OIDC_CALLBACK_PARAMS_GET_USERNAME(3)

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.

August 14, 2025 2.1.0