MCPcopy Create free account
hub / github.com/Windscribe/Desktop-App / continueWithPasswordImpl

Method continueWithPasswordImpl

src/client/engine/engine/engine.cpp:1150–1161  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1148}
1149
1150void Engine::continueWithPasswordImpl(const QString &password, bool bSave)
1151{
1152 // if password is empty, then disconnect
1153 if (password.isEmpty()) {
1154 connectionManager_->clickDisconnect();
1155 } else {
1156 if (bSave) {
1157 customOvpnAuthCredentialsStorage_->setAuthCredentials(connectionManager_->getCustomOvpnConfigFileName(), "", password);
1158 }
1159 connectionManager_->continueWithPassword(password, isNeedReconnectAfterRequestAuth_);
1160 }
1161}
1162
1163void Engine::continueWithPrivKeyPasswordImpl(const QString &password, bool bSave)
1164{

Callers

nothing calls this directly

Calls 5

setAuthCredentialsMethod · 0.80
isEmptyMethod · 0.45
clickDisconnectMethod · 0.45
continueWithPasswordMethod · 0.45

Tested by

no test coverage detected