Go to the documentation of this file.
11 #include <azure/core/credentials/credentials.hpp>
16 namespace Azure {
namespace Identity {
29 using Sources = std::vector<std::shared_ptr<Core::Credentials::TokenCredential>>;
53 Core::Credentials::AccessToken
GetToken(
54 Core::Credentials::TokenRequestContext
const& tokenRequestContext,
55 Core::Context
const& context)
const override;
ChainedTokenCredential(Sources sources)
Constructs a Chained Token Credential.
Definition: chained_token_credential.cpp:14
Chained Token Credential provides a token credential implementation which chains multiple Azure::Core...
Definition: chained_token_credential.hpp:23
std::vector< std::shared_ptr< Core::Credentials::TokenCredential > > Sources
A container type to store the ordered chain of credentials.
Definition: chained_token_credential.hpp:29
Azure SDK abstractions.
Definition: chained_token_credential.hpp:16
~ChainedTokenCredential() override
Destructs ChainedTokenCredential.
Core::Credentials::AccessToken GetToken(Core::Credentials::TokenRequestContext const &tokenRequestContext, Core::Context const &context) const override
Gets an authentication token.
Definition: chained_token_credential.cpp:21