QGrpcCredentials Class
template <typename Call, typename Channel> class QGrpcCredentialsThe QGrpcCredentials class is a combination of call and channel credentials that is used by gRPC channels to communicate with services, using the given authentication parameters. More...
Header: | #include <QGrpcCredentials> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS Grpc) target_link_libraries(mytarget PRIVATE Qt6::Grpc) |
Since: | Qt 6.5 |
Inherits: | QAbstractGrpcCredentials |
Public Functions
QGrpcCredentials(const Call &call, const Channel &channel) | |
QGrpcCredentials(const Call &call) | |
QGrpcCredentials(const Channel &channel) | |
virtual | ~QGrpcCredentials() override |
Reimplemented Public Functions
virtual QGrpcCredentialMap | callCredentials() const override |
virtual QGrpcCredentialMap | channelCredentials() const override |
Member Function Documentation
[explicit]
QGrpcCredentials::QGrpcCredentials(const Call &call, const Channel &channel)
Constructs QGrpcCredentials with call and channel credentials. The Call type must be the base of QGrpcCallCredentials and the Channel type must be the base of QGrpcChannelCredentials.
[explicit]
QGrpcCredentials::QGrpcCredentials(const Call &call)
Constructs QGrpcCredentials with call credentials. The Call type must be the base of QGrpcCallCredentials.
[explicit]
QGrpcCredentials::QGrpcCredentials(const Channel &channel)
Constructs QGrpcCredentials with channel credentials. The Channel type must be the base of QGrpcChannelCredentials.
[override virtual]
QGrpcCredentials::~QGrpcCredentials()
Destroys the QGrpcCredentials object.
[override virtual]
QGrpcCredentialMap QGrpcCredentials::callCredentials() const
Reimplements: QAbstractGrpcCredentials::callCredentials() const.
Returns a map of call credentials by calling QGrpcCallCredentials::operator() on a stored Call object.
[override virtual]
QGrpcCredentialMap QGrpcCredentials::channelCredentials() const
Reimplements: QAbstractGrpcCredentials::channelCredentials() const.
Returns a map of channel credentials by calling QGrpcChannelCredentials::channelCredentials() on a stored Channel object.
© 2023 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.