GRPC C++  0.11.0.0
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Data Structures | Namespaces | Functions
credentials.h File Reference
#include <memory>
#include <grpc++/impl/grpc_library.h>
#include <grpc++/support/config.h>

Go to the source code of this file.

Data Structures

class  grpc::Credentials
 A credentials object encapsulates all the state needed by a client to authenticate with a server and make various assertions, e.g., about the client’s identity, role, or whether it is authorized to make a particular call. More...
 
struct  grpc::SslCredentialsOptions
 Options used to build SslCredentials. More...
 

Namespaces

 grpc
 

Functions

std::shared_ptr< Credentials > grpc::GoogleDefaultCredentials ()
 Builds credentials with reasonable defaults. More...
 
std::shared_ptr< Credentials > grpc::SslCredentials (const SslCredentialsOptions &options)
 Builds SSL Credentials given SSL specific options. More...
 
std::shared_ptr< Credentials > grpc::GoogleComputeEngineCredentials ()
 Builds credentials for use when running in GCE. More...
 
std::shared_ptr< Credentials > grpc::ServiceAccountJWTAccessCredentials (const grpc::string &json_key, long token_lifetime_seconds)
 Builds Service Account JWT Access credentials. More...
 
std::shared_ptr< Credentials > grpc::GoogleRefreshTokenCredentials (const grpc::string &json_refresh_token)
 Builds refresh token credentials. More...
 
std::shared_ptr< Credentials > grpc::AccessTokenCredentials (const grpc::string &access_token)
 Builds access token credentials. More...
 
std::shared_ptr< Credentials > grpc::GoogleIAMCredentials (const grpc::string &authorization_token, const grpc::string &authority_selector)
 Builds IAM credentials. More...
 
std::shared_ptr< Credentials > grpc::CompositeCredentials (const std::shared_ptr< Credentials > &creds1, const std::shared_ptr< Credentials > &creds2)
 Combines two credentials objects into a composite credentials. More...
 
std::shared_ptr< Credentials > grpc::InsecureCredentials ()
 Credentials for an unencrypted, unauthenticated channel. More...