GRPC C++
1.39.1
|
#include "src/cpp/client/secure_credentials.h"
#include <grpc/impl/codegen/slice.h>
#include <grpc/slice.h>
#include <grpc/support/alloc.h>
#include <grpc/support/log.h>
#include <grpc/support/string_util.h>
#include <grpcpp/channel.h>
#include <grpcpp/impl/codegen/status.h>
#include <grpcpp/impl/grpc_library.h>
#include <grpcpp/support/channel_arguments.h>
#include "absl/strings/str_join.h"
#include "src/core/lib/gpr/env.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/transport/auth_filters.h"
#include "src/core/lib/security/util/json_util.h"
#include "src/cpp/client/create_channel_internal.h"
#include "src/cpp/common/secure_auth_context.h"
Namespaces | |
grpc | |
An Alarm posts the user-provided tag to its associated completion queue or invokes the user-provided function on expiry or cancellation. | |
grpc::internal | |
Models a gRPC server. | |
grpc::experimental | |
ClientRpcInfo represents the state of a particular RPC as it appears to an interceptor. | |
Functions | |
std::shared_ptr< ChannelCredentials > | grpc::internal::WrapChannelCredentials (grpc_channel_credentials *creds) |
std::shared_ptr< ChannelCredentials > | grpc::GoogleDefaultCredentials () |
Builds credentials with reasonable defaults. More... | |
std::shared_ptr< CallCredentials > | grpc::ExternalAccountCredentials (const grpc::string &json_string, const std::vector< grpc::string > &scopes) |
Builds External Account credentials. More... | |
std::shared_ptr< ChannelCredentials > | grpc::SslCredentials (const SslCredentialsOptions &options) |
Builds SSL Credentials given SSL specific options. More... | |
grpc::Status | grpc::experimental::StsCredentialsOptionsFromJson (const std::string &json_string, StsCredentialsOptions *options) |
grpc::Status | grpc::experimental::StsCredentialsOptionsFromEnv (StsCredentialsOptions *options) |
Creates STS credentials options from the $STS_CREDENTIALS environment variable. More... | |
grpc_sts_credentials_options | grpc::experimental::StsCredentialsCppToCoreOptions (const StsCredentialsOptions &options) |
std::shared_ptr< CallCredentials > | grpc::experimental::StsCredentials (const StsCredentialsOptions &options) |
std::shared_ptr< CallCredentials > | grpc::experimental::MetadataCredentialsFromPlugin (std::unique_ptr< MetadataCredentialsPlugin > plugin, grpc_security_level min_security_level) |
std::shared_ptr< ChannelCredentials > | grpc::experimental::AltsCredentials (const AltsCredentialsOptions &options) |
Builds ALTS Credentials given ALTS specific options. More... | |
std::shared_ptr< ChannelCredentials > | grpc::experimental::LocalCredentials (grpc_local_connect_type type) |
Builds Local Credentials. More... | |
std::shared_ptr< ChannelCredentials > | grpc::experimental::TlsCredentials (const TlsChannelCredentialsOptions &options) |
Builds TLS Credentials given TLS options. More... | |
std::shared_ptr< CallCredentials > | grpc::GoogleComputeEngineCredentials () |
Builds credentials for use when running in GCE. More... | |
std::shared_ptr< CallCredentials > | grpc::ServiceAccountJWTAccessCredentials (const std::string &json_key, long token_lifetime_seconds) |
std::shared_ptr< CallCredentials > | grpc::GoogleRefreshTokenCredentials (const std::string &json_refresh_token) |
std::shared_ptr< CallCredentials > | grpc::AccessTokenCredentials (const std::string &access_token) |
std::shared_ptr< CallCredentials > | grpc::GoogleIAMCredentials (const std::string &authorization_token, const std::string &authority_selector) |
std::shared_ptr< ChannelCredentials > | grpc::CompositeChannelCredentials (const std::shared_ptr< ChannelCredentials > &channel_creds, const std::shared_ptr< CallCredentials > &call_creds) |
Combines a channel credentials and a call credentials into a composite channel credentials. 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< CallCredentials > | grpc::MetadataCredentialsFromPlugin (std::unique_ptr< MetadataCredentialsPlugin > plugin) |