GRPC C++
1.13.0-dev
|
#include <map>
#include <memory>
#include <vector>
#include <grpcpp/impl/codegen/grpc_library.h>
#include <grpcpp/security/auth_context.h>
#include <grpcpp/support/status.h>
#include <grpcpp/support/string_ref.h>
Go to the source code of this file.
Data Structures | |
class | grpc::ChannelCredentials |
A channel credentials object encapsulates all the state needed by a client to authenticate with a server for a given channel. More... | |
class | grpc::CallCredentials |
A call credentials object encapsulates the state needed by a client to authenticate with a server for a given call on a channel. More... | |
struct | grpc::SslCredentialsOptions |
Options used to build SslCredentials. More... | |
class | grpc::MetadataCredentialsPlugin |
User defined metadata credentials. More... | |
struct | grpc::experimental::AltsCredentialsOptions |
Options used to build AltsCredentials. More... | |
Namespaces | |
grpc | |
An Alarm posts the user provided tag to its associated completion queue upon expiry or cancellation. | |
grpc::experimental | |
Functions | |
std::shared_ptr< ChannelCredentials > | grpc::GoogleDefaultCredentials () |
Builds credentials with reasonable defaults. More... | |
std::shared_ptr< ChannelCredentials > | grpc::SslCredentials (const SslCredentialsOptions &options) |
Builds SSL Credentials given SSL specific options. More... | |
std::shared_ptr< CallCredentials > | grpc::GoogleComputeEngineCredentials () |
Builds credentials for use when running in GCE. More... | |
std::shared_ptr< CallCredentials > | grpc::ServiceAccountJWTAccessCredentials (const grpc::string &json_key, long token_lifetime_seconds=kMaxAuthTokenLifetimeSecs) |
Builds Service Account JWT Access credentials. More... | |
std::shared_ptr< CallCredentials > | grpc::GoogleRefreshTokenCredentials (const grpc::string &json_refresh_token) |
Builds refresh token credentials. More... | |
std::shared_ptr< CallCredentials > | grpc::AccessTokenCredentials (const grpc::string &access_token) |
Builds access token credentials. More... | |
std::shared_ptr< CallCredentials > | grpc::GoogleIAMCredentials (const grpc::string &authorization_token, const grpc::string &authority_selector) |
Builds IAM credentials. More... | |
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< ChannelCredentials > | grpc::InsecureChannelCredentials () |
Credentials for an unencrypted, unauthenticated channel. More... | |
std::shared_ptr< ChannelCredentials > | grpc::CronetChannelCredentials (void *engine) |
Credentials for a channel using Cronet. More... | |
std::shared_ptr< CallCredentials > | grpc::MetadataCredentialsFromPlugin (std::unique_ptr< MetadataCredentialsPlugin > plugin) |
std::shared_ptr< ChannelCredentials > | grpc::experimental::AltsCredentials (const AltsCredentialsOptions &options) |
Builds ALTS Credentials given ALTS specific options. More... | |
Variables | |
constexpr long | grpc::kMaxAuthTokenLifetimeSecs = 3600 |
Constant for maximum auth token lifetime. More... | |