QGrpcChannelCredentials Class

The QGrpcChannelCredentials is the base class for gRPC channel credentials. More...

Header: #include <QGrpcChannelCredentials>
CMake: find_package(Qt6 REQUIRED COMPONENTS Grpc)
target_link_libraries(mytarget PRIVATE Qt6::Grpc)
Since: Qt 6.5
Inherited By:

QGrpcInsecureChannelCredentials and QGrpcSslCredentials

Detailed Description

Channel credentials are used by the channel when establishing an initial connection. For example Ssl credentials or some session tokens. Classes inheriting this class should reimplement QGrpcCredentialMap channelCredentials() const, that returns session parameters for the specific channel.