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

SYNOPSIS

6          bool
7          mongoc_uri_set_auth_mechanism (mongoc_uri_t *uri, const char *value);
8

PARAMETERS

10uri: A mongoc_uri_t.
11
12value: The new "authMechanism" value.
13

DESCRIPTION

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

RETURNS

22       Returns  false if the option cannot be set, for example if value is not
23       valid UTF-8.
24

AUTHOR

26       MongoDB, Inc
27
29       2017-present, MongoDB, Inc
30
31
32
33
341.25.1                           Nov 08, 2023 MONGOC_URI_SET_AUTH_MECHANISM(3)
Impressum