GRPC C++  1.46.2
Public Member Functions | Friends
grpc::ServerCredentials Class Referenceabstract

Wrapper around grpc_server_credentials, a way to authenticate a server. More...

#include <server_credentials.h>

Public Member Functions

 ServerCredentials ()
 
 ~ServerCredentials () override
 
virtual void SetAuthMetadataProcessor (const std::shared_ptr< grpc::AuthMetadataProcessor > &processor)=0
 This method is not thread-safe and has to be called before the server is started. More...
 

Friends

class Server
 
std::shared_ptr< ServerCredentialsgrpc::XdsServerCredentials (const std::shared_ptr< ServerCredentials > &fallback_credentials)
 

Detailed Description

Wrapper around grpc_server_credentials, a way to authenticate a server.

Constructor & Destructor Documentation

◆ ServerCredentials()

grpc::ServerCredentials::ServerCredentials ( )

◆ ~ServerCredentials()

grpc::ServerCredentials::~ServerCredentials ( )
override

Member Function Documentation

◆ SetAuthMetadataProcessor()

virtual void grpc::ServerCredentials::SetAuthMetadataProcessor ( const std::shared_ptr< grpc::AuthMetadataProcessor > &  processor)
pure virtual

This method is not thread-safe and has to be called before the server is started.

The last call to this function wins.

Friends And Related Function Documentation

◆ grpc::XdsServerCredentials

std::shared_ptr<ServerCredentials> grpc::XdsServerCredentials ( const std::shared_ptr< ServerCredentials > &  fallback_credentials)
friend

◆ Server

friend class Server
friend

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