mirror of
https://github.com/logos-co/logos-cpp-sdk.git
synced 2026-08-31 09:41:06 +00:00
add function to redact logged tokens
This commit is contained in:
@@ -173,7 +173,7 @@ void LogosAPIConsumer::onEvent(LogosObject* originObject, const QString& eventNa
|
||||
|
||||
bool LogosAPIConsumer::informModuleToken(const QString& authToken, const QString& moduleName, const QString& token)
|
||||
{
|
||||
qDebug() << "LogosAPIConsumer: Informing module token for module:" << moduleName << "with token:" << token;
|
||||
qDebug() << "LogosAPIConsumer: Informing module token for module:" << moduleName << "with token:" << redactToken(token);
|
||||
|
||||
LogosObject* plugin = m_transport->requestObject("capability_module", 20000);
|
||||
if (!plugin) {
|
||||
@@ -190,7 +190,7 @@ bool LogosAPIConsumer::informModuleToken(const QString& authToken, const QString
|
||||
|
||||
bool LogosAPIConsumer::informModuleToken_module(const QString& authToken, const QString& originModule, const QString& moduleName, const QString& token)
|
||||
{
|
||||
qDebug() << "LogosAPIConsumer: Informing module token for module:" << moduleName << "with token:" << token;
|
||||
qDebug() << "LogosAPIConsumer: Informing module token for module:" << moduleName << "with token:" << redactToken(token);
|
||||
|
||||
LogosObject* plugin = m_transport->requestObject(originModule, 20000);
|
||||
if (!plugin) {
|
||||
|
||||
Reference in New Issue
Block a user