1MONGOC_URI_GET_AUTH_MECHANISM(3) libmongoc MONGOC_URI_GET_AUTH_MECHANISM(3)
2
3
4
6 mongoc_uri_get_auth_mechanism - mongoc_uri_get_auth_mechanism()
7
9 const char *
10 mongoc_uri_get_auth_mechanism (const mongoc_uri_t *uri);
11
13 • uri: A mongoc_uri_t.
14
16 Fetches the authMechanism parameter to an URI if provided.
17
19 A string which should not be modified or freed. Returns NULL if the au‐
20 thMechanism parameter was not provided to uri.
21
23 MongoDB, Inc
24
26 2017-present, MongoDB, Inc
27
28
29
30
311.21.1 Mar 02, 2022 MONGOC_URI_GET_AUTH_MECHANISM(3)