GRPC Core  9.0.0
Public Types | Public Member Functions
grpc_composite_call_credentials Class Reference

#include <composite_credentials.h>

Public Types

using CallCredentialsList = grpc_core::InlinedVector< grpc_core::RefCountedPtr< grpc_call_credentials >, 2 >
 

Public Member Functions

 grpc_composite_call_credentials (grpc_core::RefCountedPtr< grpc_call_credentials > creds1, grpc_core::RefCountedPtr< grpc_call_credentials > creds2)
 
 ~grpc_composite_call_credentials () override=default
 
bool get_request_metadata (grpc_polling_entity *pollent, grpc_auth_metadata_context context, grpc_credentials_mdelem_array *md_array, grpc_closure *on_request_metadata, grpc_error **error) override
 
void cancel_get_request_metadata (grpc_credentials_mdelem_array *md_array, grpc_error *error) override
 
const CallCredentialsListinner () const
 
- Public Member Functions inherited from grpc_call_credentials
 grpc_call_credentials (const char *type)
 
virtual ~grpc_call_credentials ()=default
 
const char * type () const
 
- Public Member Functions inherited from grpc_core::RefCounted< grpc_call_credentials >
 ~RefCounted ()=default
 
RefCountedPtr< grpc_call_credentialsRef () GRPC_MUST_USE_RESULT
 
RefCountedPtr< grpc_call_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_call_credentials >
 RefCounted (TraceFlagT *trace_flag=nullptr, intptr_t initial_refcount=1)
 

Member Typedef Documentation

◆ CallCredentialsList

Constructor & Destructor Documentation

◆ grpc_composite_call_credentials()

grpc_composite_call_credentials::grpc_composite_call_credentials ( grpc_core::RefCountedPtr< grpc_call_credentials creds1,
grpc_core::RefCountedPtr< grpc_call_credentials creds2 
)

◆ ~grpc_composite_call_credentials()

grpc_composite_call_credentials::~grpc_composite_call_credentials ( )
overridedefault

Member Function Documentation

◆ cancel_get_request_metadata()

void grpc_composite_call_credentials::cancel_get_request_metadata ( grpc_credentials_mdelem_array md_array,
grpc_error error 
)
overridevirtual

Implements grpc_call_credentials.

◆ get_request_metadata()

bool grpc_composite_call_credentials::get_request_metadata ( grpc_polling_entity pollent,
grpc_auth_metadata_context  context,
grpc_credentials_mdelem_array md_array,
grpc_closure on_request_metadata,
grpc_error **  error 
)
overridevirtual

Implements grpc_call_credentials.

◆ inner()

const CallCredentialsList& grpc_composite_call_credentials::inner ( ) const
inline

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