getCredentials returns credentials for any saved connection (#11029)

* getCredentials returns credentials for any saved connection

* Update doc comment

* Add tests

* cleanup

* cleanup
This commit is contained in:
Charles Gagnon
2020-06-23 11:04:13 -07:00
committed by GitHub
parent 29bf016fb8
commit a303144226
6 changed files with 59 additions and 14 deletions

View File

@@ -121,7 +121,7 @@ export class MainThreadConnectionManagement extends Disposable implements MainTh
}
public $getCredentials(connectionId: string): Thenable<{ [name: string]: string }> {
return Promise.resolve(this._connectionManagementService.getActiveConnectionCredentials(connectionId));
return Promise.resolve(this._connectionManagementService.getConnectionCredentials(connectionId));
}
public $getServerInfo(connectionId: string): Thenable<azdata.ServerInfo> {