QGrpcUserPasswordCredentials Class

The QGrpcUserPasswordCredentials class is a reference implementation of simple user-password call authentication. More...

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

Detailed Description

You may manually specify UserFieldName and PasswordFieldName in class template parameters to change header keys. The userNameField defaults to "user-name", the passwordField defaults to "user-password".