QGrpcCallCredentials Class

The QGrpcCallCredentials is the base class for gRPC call credentials. More...

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

QGrpcInsecureCallCredentials and QGrpcUserPasswordCredentials

Public Functions

virtual QGrpcCredentialMap operator()() const = 0

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.

Member Function Documentation

[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.

© 2024 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.