1MONGOC_URI_SET_AUTH_SOURCE(3)      libmongoc     MONGOC_URI_SET_AUTH_SOURCE(3)
2
3
4

NAME

6       mongoc_uri_set_auth_source - mongoc_uri_set_auth_source()
7

SYNOPSIS

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

PARAMETERS

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

DESCRIPTION

18       Sets  the "authSource" URI option, after the URI has been parsed from a
19       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.16.2                           Feb 25, 2020    MONGOC_URI_SET_AUTH_SOURCE(3)
Impressum