mongoc_oidc_credential_t#
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.
Functions#
Return Values#
The list of currently supported return values are:
Value |
Versions |
Description |
|
1 |
The OIDC access token. |
|
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
access_token
is NOT directly validated by the driver.
Expiry Duration#
An optional expiry duration (in milliseconds) for the access token.
Important
An unset value is interpreted as an infinite expiry duration.