QGrpcSslCredentials Class

The QGrpcSslCredentials class provides SSL credentials for channel. More...

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

Public Functions

QGrpcSslCredentials(const QSslConfiguration &configuration)
virtual ~QGrpcSslCredentials() override

Reimplemented Public Functions

virtual QGrpcCredentialMap channelCredentials() const override

Detailed Description

Member Function Documentation

[explicit] QGrpcSslCredentials::QGrpcSslCredentials(const QSslConfiguration &configuration)

Constructs the QGrpcSslCredentials object with SSL configuration.

Fills a stored QGrpcCredentialMap with key sslConfig and QVariant with configuration.

[override virtual] QGrpcSslCredentials::~QGrpcSslCredentials()

Destroys the QGrpcSslCredentials object.

[override virtual] QGrpcCredentialMap QGrpcSslCredentials::channelCredentials() const

Reimplements: QGrpcChannelCredentials::channelCredentials() const.

Returns the stored QGrpcCredentialMap.

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