mongoc_oidc_callback_fn_t

Synopsis

typedef mongoc_oidc_credential_t *(*mongoc_oidc_callback_fn_t) (mongoc_oidc_callback_params_t *params);

The type of the function pointer stored by mongoc_oidc_callback_t.

Parameters

Returns

A mongoc_oidc_credential_t object created with mongoc_oidc_credential_new(), or NULL to indicate an error or timeout.

The cancel_with_timeout out parameter is ignored if the return value is not NULL.