The QGrpcUserPasswordCredentials class is reference implementation of simple user-password call authentication. More...
#include <qgrpcuserpasswordcredentials.h>
Public Member Functions | |
QGrpcUserPasswordCredentials (const QString &userName, const QString &password) | |
QGrpcUserPasswordCredentials constucts QGrpcUserPasswordCredentials. More... | |
The QGrpcUserPasswordCredentials class is reference implementation of simple user-password call authentication.
You may manually specify UserFieldName and PasswordFieldName in class template parameters to change header keys. Default values for:
|
inline |
QGrpcUserPasswordCredentials constucts QGrpcUserPasswordCredentials.
userName | value that will be assigned to UserFieldName header for each gRPC call |
password | value that will be assigned to PasswordFieldName header for each gRPC call |