mongoc_oidc_credential_get_access_token - Man Page

Synopsis

const char *
mongoc_oidc_credential_get_access_token (const mongoc_oidc_credential_t *cred);

Return the access token stored in the mongoc_oidc_credential_t <> object.

Parameters

Returns

A string which must not be modified or freed.

Lifecycle

The string is only valid for the lifetime of the mongoc_oidc_credential_t <> object.

See also:

Author

MongoDB, Inc

Info

Mar 04, 2026 2.2.3 libmongoc