11 #include <azure/core/credentials/credentials.hpp>
17 namespace Azure {
namespace Identity {
19 class ChainedTokenCredentialImpl;
34 using Sources = std::vector<std::shared_ptr<Core::Credentials::TokenCredential>>;
58 Core::Credentials::AccessToken
GetToken(
59 Core::Credentials::TokenRequestContext
const& tokenRequestContext,
60 Core::Context
const& context)
const override;
63 std::unique_ptr<_detail::ChainedTokenCredentialImpl> m_impl;
Chained Token Credential provides a token credential implementation which chains multiple Azure::Core...
Definition: chained_token_credential.hpp:28
Core::Credentials::AccessToken GetToken(Core::Credentials::TokenRequestContext const &tokenRequestContext, Core::Context const &context) const override
Gets an authentication token.
Definition: chained_token_credential.cpp:27
~ChainedTokenCredential() override
Destructs ChainedTokenCredential.
ChainedTokenCredential(Sources sources)
Constructs a Chained Token Credential.
Definition: chained_token_credential.cpp:19
std::vector< std::shared_ptr< Core::Credentials::TokenCredential > > Sources
A container type to store the ordered chain of credentials.
Definition: chained_token_credential.hpp:34
Azure SDK abstractions.
Definition: azure_cli_credential.hpp:22