34 #ifndef GRPCXX_CREDENTIALS_H 
   35 #define GRPCXX_CREDENTIALS_H 
   43 class ChannelArguments;
 
   44 class ChannelInterface;
 
   45 class SecureCredentials;
 
   54       const std::shared_ptr<Credentials>& creds1,
 
   55       const std::shared_ptr<Credentials>& creds2);
 
   61       const grpc::string& target, 
const std::shared_ptr<Credentials>& creds,
 
  107     long token_lifetime_seconds);
 
  115     const grpc::string& json_key, 
long token_lifetime_seconds);
 
  136     const std::shared_ptr<Credentials>& creds1,
 
  137     const std::shared_ptr<Credentials>& creds2);
 
  144 #endif  // GRPCXX_CREDENTIALS_H 
std::shared_ptr< Credentials > SslCredentials(const SslCredentialsOptions &options)
std::string string
Definition: config.h:112
Definition: channel_arguments.h:52
std::shared_ptr< Credentials > ServiceAccountJWTAccessCredentials(const grpc::string &json_key, long token_lifetime_seconds)
std::shared_ptr< Credentials > ServiceAccountCredentials(const grpc::string &json_key, const grpc::string &scope, long token_lifetime_seconds)
~Credentials() GRPC_OVERRIDE
std::shared_ptr< Credentials > AccessTokenCredentials(const grpc::string &access_token)
virtual bool ApplyToCall(grpc_call *call)=0
std::shared_ptr< Credentials > ComputeEngineCredentials()
grpc::string pem_root_certs
Definition: credentials.h:78
Definition: credentials.h:77
Definition: grpc_library.h:41
virtual SecureCredentials * AsSecureCredentials()=0
std::shared_ptr< Credentials > RefreshTokenCredentials(const grpc::string &json_refresh_token)
grpc::string pem_cert_chain
Definition: credentials.h:80
Definition: credentials.h:47
grpc::string pem_private_key
Definition: credentials.h:79
friend std::shared_ptr< ChannelInterface > CreateChannel(const grpc::string &target, const std::shared_ptr< Credentials > &creds, const ChannelArguments &args)
std::shared_ptr< Credentials > GoogleDefaultCredentials()
friend std::shared_ptr< Credentials > CompositeCredentials(const std::shared_ptr< Credentials > &creds1, const std::shared_ptr< Credentials > &creds2)
std::shared_ptr< Credentials > InsecureCredentials()
std::shared_ptr< Credentials > CompositeCredentials(const std::shared_ptr< Credentials > &creds1, const std::shared_ptr< Credentials > &creds2)
#define GRPC_OVERRIDE
Definition: config.h:77
std::shared_ptr< Credentials > IAMCredentials(const grpc::string &authorization_token, const grpc::string &authority_selector)