table of contents
| MONGOC_OIDC_CREDENTIAL_T(3) | libmongoc | MONGOC_OIDC_CREDENTIAL_T(3) |
SYNOPSIS¶
typedef struct _mongoc_oidc_credential_t mongoc_oidc_credential_t;
Represents the return value of a mongoc_oidc_callback_fn_t <>.
The value will be returned by the mongoc_oidc_callback_fn_t <> stored in an mongoc_oidc_callback_t <> object when it is invoked by an associated mongoc_client_t <> or mongoc_client_pool_t <> object.
RETURN VALUES¶
The list of currently supported return values are:
| Value | Versions | Description |
| access_token | 1 | The OIDC access token. |
| expires_in | 1 | An optional expiration duration (in milliseconds). |
The "Version" column indicates the OIDC callback API versions for which the parameter is applicable.
Access Token¶
An OIDC access token (a signed JWT token).
Warning:
Expiry Duration¶
An optional expiry duration (in milliseconds) for the access token.
Important:
See also:
- mongoc_oidc_callback_t <>
- mongoc_oidc_callback_fn_t <>
Author¶
MongoDB, Inc
Copyright¶
2009-present, MongoDB, Inc.
| November 26, 2025 | 2.2.0 |