QGrpcCallCredentials Class▲
-
Header: QGrpcCallCredentials
-
Since: Qt 6.5
-
CMake:
find_package(Qt6 REQUIRED COMPONENTS Grpc)
target_link_libraries(mytarget PRIVATE Qt6::Grpc)
-
Inherited By: QGrpcInsecureCallCredentials and QGrpcUserPasswordCredentials
I. Detailed Description▲
You may inherrit this class to create your own credentials implementation, that will be used for each method call. Classes inheriting from QGrpcCallCredentials must reimplement QGrpcCredentialMap operator() and return a credentials map for the call.
II. Member Function Documentation▲
II-1. [pure virtual] QGrpcCredentialMap QGrpcCallCredentials::operator()() const▲
This pure virtual operator returns a key-value map of the credentials for RPC calls.
This operator is called to obtain the QGrpcCredentialMap for the call.