MongoDB C++ Driver
4.4.0
Loading...
Searching...
No Matches
oidc_callback.hpp
Go to the documentation of this file.
1
// Copyright 2009-present MongoDB, Inc.
2
//
3
// Licensed under the Apache License, Version 2.0 (the "License");
4
// you may not use this file except in compliance with the License.
5
// You may obtain a copy of the License at
6
//
7
// http://www.apache.org/licenses/LICENSE-2.0
8
//
9
// Unless required by applicable law or agreed to in writing, software
10
// distributed under the License is distributed on an "AS IS" BASIS,
11
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
// See the License for the specific language governing permissions and
13
// limitations under the License.
14
15
#pragma once
16
17
#include <
mongocxx/v1/detail/prelude.hpp
>
18
19
#include <
mongocxx/v1/oidc_callback_params-fwd.hpp
>
20
#include <
mongocxx/v1/oidc_credential-fwd.hpp
>
21
22
#include <
mongocxx/v1/config/export.hpp
>
23
24
#include <functional>
25
26
namespace
mongocxx
{
27
namespace
v1
{
28
36
using
oidc_callback
= std::function<
oidc_credential
MONGOCXX_ABI_CDECL
(
oidc_callback_params
const
&)>;
37
38
}
// namespace v1
39
}
// namespace mongocxx
40
41
#include <
mongocxx/v1/detail/postlude.hpp
>
42
mongocxx::v1::oidc_callback_params
Parameters passed to an OIDC callback.
Definition
oidc_callback_params.hpp:40
mongocxx::v1::oidc_credential
The credential returned by an OIDC callback.
Definition
oidc_credential.hpp:37
export.hpp
Provides macros to control the set of symbols exported in the ABI.
MONGOCXX_ABI_CDECL
#define MONGOCXX_ABI_CDECL
Expands to __cdecl when built with MSVC on Windows.
Definition
export.hpp:49
postlude.hpp
The mongocxx v1 macro guard postlude header.
prelude.hpp
The mongocxx v1 macro guard prelude header.
mongocxx::v1
Declares entities whose ABI stability is guaranteed for documented symbols.
mongocxx::v1::oidc_callback
std::function< oidc_credential(oidc_callback_params const &)> oidc_callback
An OIDC credential callback function.
Definition
oidc_callback.hpp:36
mongocxx
The top-level namespace within which all mongocxx library entities are declared.
oidc_callback_params-fwd.hpp
Declares mongocxx::v1::oidc_callback_params.
oidc_credential-fwd.hpp
Declares mongocxx::v1::oidc_credential.
mongocxx
v1
oidc_callback.hpp
Generated by
1.15.0