Classes | Public Member Functions | Private Member Functions | Private Attributes | List of all members
grpc_core::ChannelCredsRegistry< T > Class Template Reference

#include <channel_creds_registry.h>

Classes

class  Builder
 

Public Member Functions

RefCountedPtr< TCreateChannelCreds (const std::string &creds_type, const Json &config) const
 
bool IsSupported (const std::string &creds_type) const
 
bool IsValidConfig (const std::string &creds_type, const Json &config) const
 

Private Member Functions

 ChannelCredsRegistry ()=default
 

Private Attributes

std::map< absl::string_view, std::unique_ptr< ChannelCredsFactory< T > > > factories_
 

Detailed Description

template<typename T = grpc_channel_credentials>
class grpc_core::ChannelCredsRegistry< T >

Definition at line 57 of file channel_creds_registry.h.

Constructor & Destructor Documentation

◆ ChannelCredsRegistry()

template<typename T = grpc_channel_credentials>
grpc_core::ChannelCredsRegistry< T >::ChannelCredsRegistry ( )
privatedefault

Member Function Documentation

◆ CreateChannelCreds()

template<typename T = grpc_channel_credentials>
RefCountedPtr<T> grpc_core::ChannelCredsRegistry< T >::CreateChannelCreds ( const std::string &  creds_type,
const Json config 
) const
inline

Definition at line 88 of file channel_creds_registry.h.

◆ IsSupported()

template<typename T = grpc_channel_credentials>
bool grpc_core::ChannelCredsRegistry< T >::IsSupported ( const std::string &  creds_type) const
inline

Definition at line 79 of file channel_creds_registry.h.

◆ IsValidConfig()

template<typename T = grpc_channel_credentials>
bool grpc_core::ChannelCredsRegistry< T >::IsValidConfig ( const std::string &  creds_type,
const Json config 
) const
inline

Definition at line 83 of file channel_creds_registry.h.

Member Data Documentation

◆ factories_

template<typename T = grpc_channel_credentials>
std::map<absl::string_view, std::unique_ptr<ChannelCredsFactory<T> > > grpc_core::ChannelCredsRegistry< T >::factories_
private

Definition at line 98 of file channel_creds_registry.h.


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


grpc
Author(s):
autogenerated on Fri May 16 2025 03:03:35