GRPC Core  9.0.0
Public Member Functions
grpc_channel_credentials Struct Referenceabstract

#include <credentials.h>

Public Member Functions

 grpc_channel_credentials (const char *type)
 
virtual ~grpc_channel_credentials ()=default
 
virtual grpc_core::RefCountedPtr< grpc_channel_security_connectorcreate_security_connector (grpc_core::RefCountedPtr< grpc_call_credentials > call_creds, const char *target, const grpc_channel_args *args, grpc_channel_args **new_args)=0
 
virtual grpc_core::RefCountedPtr< grpc_channel_credentialsduplicate_without_call_credentials ()
 
virtual grpc_channel_argsupdate_arguments (grpc_channel_args *args)
 
bool attach_credentials (const char *authority, grpc_core::RefCountedPtr< grpc_channel_credentials > control_plane_creds)
 
grpc_core::RefCountedPtr< grpc_channel_credentialsget_control_plane_credentials (const char *authority)
 
const char * type () const
 
- Public Member Functions inherited from grpc_core::RefCounted< grpc_channel_credentials >
 ~RefCounted ()=default
 
RefCountedPtr< grpc_channel_credentialsRef () GRPC_MUST_USE_RESULT
 
RefCountedPtr< grpc_channel_credentialsRef (const DebugLocation &location, const char *reason) GRPC_MUST_USE_RESULT
 
void Unref ()
 
void Unref (const DebugLocation &location, const char *reason)
 
bool RefIfNonZero ()
 
bool RefIfNonZero (const DebugLocation &location, const char *reason)
 
 RefCounted (const RefCounted &)=delete
 
RefCountedoperator= (const RefCounted &)=delete
 
- Public Member Functions inherited from grpc_core::PolymorphicRefCount
virtual ~PolymorphicRefCount ()=default
 

Additional Inherited Members

- Protected Member Functions inherited from grpc_core::RefCounted< grpc_channel_credentials >
 RefCounted (TraceFlagT *trace_flag=nullptr, intptr_t initial_refcount=1)
 

Constructor & Destructor Documentation

◆ grpc_channel_credentials()

grpc_channel_credentials::grpc_channel_credentials ( const char *  type)
inlineexplicit

◆ ~grpc_channel_credentials()

virtual grpc_channel_credentials::~grpc_channel_credentials ( )
virtualdefault

Member Function Documentation

◆ attach_credentials()

bool grpc_channel_credentials::attach_credentials ( const char *  authority,
grpc_core::RefCountedPtr< grpc_channel_credentials control_plane_creds 
)

◆ create_security_connector()

virtual grpc_core::RefCountedPtr<grpc_channel_security_connector> grpc_channel_credentials::create_security_connector ( grpc_core::RefCountedPtr< grpc_call_credentials call_creds,
const char *  target,
const grpc_channel_args args,
grpc_channel_args **  new_args 
)
pure virtual

◆ duplicate_without_call_credentials()

virtual grpc_core::RefCountedPtr<grpc_channel_credentials> grpc_channel_credentials::duplicate_without_call_credentials ( )
inlinevirtual

◆ get_control_plane_credentials()

grpc_core::RefCountedPtr< grpc_channel_credentials > grpc_channel_credentials::get_control_plane_credentials ( const char *  authority)

◆ type()

const char* grpc_channel_credentials::type ( ) const
inline

◆ update_arguments()

virtual grpc_channel_args* grpc_channel_credentials::update_arguments ( grpc_channel_args args)
inlinevirtual

The documentation for this struct was generated from the following files: