#include "src/cpp/client/secure_credentials.h"
#include <string.h>
#include <algorithm>
#include <map>
#include <utility>
#include "absl/strings/str_join.h"
#include <grpc/grpc_security_constants.h>
#include <grpc/impl/codegen/gpr_types.h>
#include <grpc/slice.h>
#include <grpc/support/alloc.h>
#include <grpc/support/log.h>
#include <grpc/support/string_util.h>
#include <grpc/support/time.h>
#include <grpcpp/channel.h>
#include <grpcpp/impl/grpc_library.h>
#include <grpcpp/security/tls_credentials_options.h>
#include <grpcpp/support/channel_arguments.h>
#include <grpcpp/support/slice.h>
#include <grpcpp/support/status.h>
#include "src/core/lib/gpr/env.h"
#include "src/core/lib/iomgr/closure.h"
#include "src/core/lib/iomgr/error.h"
#include "src/core/lib/iomgr/executor.h"
#include "src/core/lib/iomgr/load_file.h"
#include "src/core/lib/json/json.h"
#include "src/core/lib/security/util/json_util.h"
#include "src/core/lib/slice/slice_refcount.h"
#include "src/cpp/client/create_channel_internal.h"
#include "src/cpp/common/secure_auth_context.h"
Go to the source code of this file.
Namespaces | |
grpc | |
grpc::experimental | |
grpc::internal | |
Actual implementation of bi-directional streaming. | |
Functions | |
std::shared_ptr< CallCredentials > | grpc::AccessTokenCredentials (const std::string &access_token) |
std::shared_ptr< ChannelCredentials > | grpc::experimental::AltsCredentials (const AltsCredentialsOptions &options) |
Builds ALTS Credentials given ALTS specific options. More... | |
std::shared_ptr< CallCredentials > | grpc::CompositeCallCredentials (const std::shared_ptr< CallCredentials > &creds1, const std::shared_ptr< CallCredentials > &creds2) |
Combines two call credentials objects into a composite call credentials. More... | |
std::shared_ptr< ChannelCredentials > | grpc::CompositeChannelCredentials (const std::shared_ptr< ChannelCredentials > &channel_creds, const std::shared_ptr< CallCredentials > &call_creds) |
std::shared_ptr< CallCredentials > | grpc::ExternalAccountCredentials (const grpc::string &json_string, const std::vector< grpc::string > &scopes) |
std::shared_ptr< CallCredentials > | grpc::GoogleComputeEngineCredentials () |
std::shared_ptr< ChannelCredentials > | grpc::GoogleDefaultCredentials () |
std::shared_ptr< CallCredentials > | grpc::GoogleIAMCredentials (const std::string &authorization_token, const std::string &authority_selector) |
std::shared_ptr< CallCredentials > | grpc::GoogleRefreshTokenCredentials (const std::string &json_refresh_token) |
std::shared_ptr< ChannelCredentials > | grpc::experimental::LocalCredentials (grpc_local_connect_type type) |
Builds Local Credentials. More... | |
std::shared_ptr< CallCredentials > | grpc::MetadataCredentialsFromPlugin (std::unique_ptr< MetadataCredentialsPlugin > plugin) |
std::shared_ptr< CallCredentials > | grpc::experimental::MetadataCredentialsFromPlugin (std::unique_ptr< MetadataCredentialsPlugin > plugin, grpc_security_level min_security_level) |
std::shared_ptr< CallCredentials > | grpc::ServiceAccountJWTAccessCredentials (const std::string &json_key, long token_lifetime_seconds) |
std::shared_ptr< ChannelCredentials > | grpc::SslCredentials (const SslCredentialsOptions &options) |
Builds SSL Credentials given SSL specific options. More... | |
std::shared_ptr< CallCredentials > | grpc::experimental::StsCredentials (const StsCredentialsOptions &options) |
grpc_sts_credentials_options | grpc::experimental::StsCredentialsCppToCoreOptions (const StsCredentialsOptions &options) |
grpc::Status | grpc::experimental::StsCredentialsOptionsFromEnv (StsCredentialsOptions *options) |
grpc::Status | grpc::experimental::StsCredentialsOptionsFromJson (const std::string &json_string, StsCredentialsOptions *options) |
std::shared_ptr< ChannelCredentials > | grpc::experimental::TlsCredentials (const TlsChannelCredentialsOptions &options) |
Builds TLS Credentials given TLS options. More... | |
std::shared_ptr< ChannelCredentials > | grpc::internal::WrapChannelCredentials (grpc_channel_credentials *creds) |
Variables | |
static grpc::internal::GrpcLibraryInitializer | grpc::g_gli_initializer |