1MONGOC_URI_SET_AUTH_MECHANISM(3)   libmongoc  MONGOC_URI_SET_AUTH_MECHANISM(3)
2
3
4

NAME

6       mongoc_uri_set_auth_mechanism - mongoc_uri_set_auth_mechanism()
7

SYNOPSIS

9          bool
10          mongoc_uri_set_auth_mechanism (mongoc_uri_t *uri, const char *value);
11

PARAMETERS

13uri: A mongoc_uri_t.
14
15value: The new "authMechanism" value.
16

DESCRIPTION

18       Sets the "authMechanism" URI option, such as "SCRAM-SHA-1" or "GSSAPI",
19       after the URI has been parsed from a string.
20
21       Updates the option in-place if already set, otherwise appends it to the
22       URI's bson_t of options.
23

RETURNS

25       Returns  false if the option cannot be set, for example if value is not
26       valid UTF-8.
27

AUTHOR

29       MongoDB, Inc
30
32       2017-present, MongoDB, Inc
33
34
35
36
371.17.6                           Jun 03, 2021 MONGOC_URI_SET_AUTH_MECHANISM(3)
Impressum