19 #ifndef GRPC_CORE_LIB_SECURITY_CREDENTIALS_COMPOSITE_COMPOSITE_CREDENTIALS_H 20 #define GRPC_CORE_LIB_SECURITY_CREDENTIALS_COMPOSITE_COMPOSITE_CREDENTIALS_H 36 inner_creds_(std::move(channel_creds)),
57 return inner_creds_.
get();
Definition: credentials.h:205
An array of arguments that can be passed around.
Definition: grpc_types.h:132
Definition: credentials.h:99
const char * type() const
Definition: credentials.h:147
Definition: error_internal.h:39
grpc_channel_args * update_arguments(grpc_channel_args *args) override
Definition: composite_credentials.h:52
Definition: credentials.h:225
~grpc_composite_call_credentials() override=default
Definition: polling_entity.h:37
grpc_composite_call_credentials(grpc_core::RefCountedPtr< grpc_call_credentials > creds1, grpc_core::RefCountedPtr< grpc_call_credentials > creds2)
Definition: composite_credentials.cc:141
const grpc_channel_credentials * inner_creds() const
Definition: composite_credentials.h:56
grpc_core::RefCountedPtr< grpc_channel_security_connector > create_security_connector(grpc_core::RefCountedPtr< grpc_call_credentials > call_creds, const char *target, const grpc_channel_args *args, grpc_channel_args **new_args) override
Definition: composite_credentials.cc:182
const grpc_call_credentials * call_creds() const
Definition: composite_credentials.h:59
grpc_core::RefCountedPtr< grpc_channel_credentials > duplicate_without_call_credentials() override
Definition: composite_credentials.h:42
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
Definition: composite_credentials.cc:88
T * get() const
Definition: ref_counted_ptr.h:144
A closure over a grpc_iomgr_cb_func.
Definition: closure.h:56
~grpc_composite_channel_credentials() override=default
void cancel_get_request_metadata(grpc_credentials_mdelem_array *md_array, grpc_error *error) override
Definition: composite_credentials.cc:111
grpc_call_credentials * mutable_call_creds()
Definition: composite_credentials.h:60
virtual grpc_channel_args * update_arguments(grpc_channel_args *args)
Definition: credentials.h:128
const CallCredentialsList & inner() const
Definition: composite_credentials.h:89
grpc_composite_channel_credentials(grpc_core::RefCountedPtr< grpc_channel_credentials > channel_creds, grpc_core::RefCountedPtr< grpc_call_credentials > call_creds)
Definition: composite_credentials.h:32
Definition: composite_credentials.h:30
Definition: composite_credentials.h:69
Context that can be used by metadata credentials plugin in order to create auth related metadata...
Definition: grpc_security.h:373
grpc_core::InlinedVector< grpc_core::RefCountedPtr< grpc_call_credentials >, 2 > CallCredentialsList
Definition: composite_credentials.h:73