MONGOC_OIDC_CALLBACK_NEW(3)

SYNOPSIS

    mongoc_oidc_callback_t *
    mongoc_oidc_callback_new (mongoc_oidc_callback_fn_t fn)

Create a new mongoc_oidc_callback_t object which stores the provided OIDC callback function.

Equivalent to calling mongoc_oidc_callback_new_with_user_data() with user_data set to NULL.

PARAMETERS

•   fn: a mongoc_oidc_callback_fn_t. Must not be NULL.

RETURNS

A new mongoc_oidc_callback_t that must be freed with mongoc_oidc_callback_destroy(), or NULL when an invalid argument was given.

SEE ALSO:

•   mongoc_oidc_callback_t

•   mongoc_oidc_callback_new_with_user_data()

AUTHOR
MongoDB, Inc

COPYRIGHT
2009-present, MongoDB, Inc.