1MONGOC_URI_GET_AUTH_SOURCE(3) libmongoc MONGOC_URI_GET_AUTH_SOURCE(3)
23
4
SYNOPSIS
6const char *
7mongoc_uri_get_auth_source (const mongoc_uri_t *uri);
8
PARAMETERS
10• uri: A mongoc_uri_t.
11
DESCRIPTION
13Fetches the authSource parameter of an URI if provided.
14
RETURNS
16A string which should not be modified or freed if the authSource param‐
17eter is provided, otherwise NULL.
18
AUTHOR
20MongoDB, Inc
21
COPYRIGHT
232017-present, MongoDB, Inc
2425
26
27
28
1.25.1 Nov 08, 2023 MONGOC_URI_GET_AUTH_SOURCE(3)