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