|
67 | 67 | },
|
68 | 68 | "main": "./out/extension",
|
69 | 69 | "activationEvents": [
|
70 |
| - "onAuthenticationRequest:intersystems-servermanager", |
| 70 | + "onAuthenticationRequest:intersystems-servermanager-credentials", |
71 | 71 | "onView:intersystems-community_servermanager",
|
72 | 72 | "onCommand:intersystems-community.servermanager.refreshTree",
|
73 | 73 | "onCommand:intersystems-community.servermanager.addServer",
|
74 | 74 | "onCommand:intersystems-community.servermanager.storePassword",
|
75 | 75 | "onCommand:intersystems-community.servermanager.clearPassword",
|
76 | 76 | "onCommand:intersystems-community.servermanager.importServers",
|
77 |
| - "onCommand:intersystems-community.servermanager.testLogin", |
78 |
| - "onCommand:intersystems-community.servermanager.testScopedLogin", |
79 |
| - "onCommand:intersystems-community.servermanager.testScopedLogin2", |
80 |
| - "onCommand:intersystems-community.servermanager.testScopedLoginWithPreferenceCleared", |
81 |
| - "onCommand:intersystems-community.servermanager.testScopedLogin2WithPreferenceCleared", |
82 |
| - "onCommand:intersystems-community.servermanager.testPartiallyScopedLogin", |
83 |
| - "onCommand:intersystems-community.servermanager.testPartiallyScopedLoginWithPreferenceCleared", |
84 |
| - "onCommand:intersystems-community.servermanager.testQuietLogin", |
85 |
| - "onCommand:intersystems-community.servermanager.testScopedQuietLogin", |
86 |
| - "onCommand:intersystems-community.servermanager.testScopedQuietLogin2" |
| 77 | + "onCommand:intersystems-community.servermanager-credentials.testLogin", |
| 78 | + "onCommand:intersystems-community.servermanager-credentials.testScopedLogin", |
| 79 | + "onCommand:intersystems-community.servermanager-credentials.testScopedLogin2", |
| 80 | + "onCommand:intersystems-community.servermanager-credentials.testScopedLoginWithPreferenceCleared", |
| 81 | + "onCommand:intersystems-community.servermanager-credentials.testScopedLogin2WithPreferenceCleared", |
| 82 | + "onCommand:intersystems-community.servermanager-credentials.testPartiallyScopedLogin", |
| 83 | + "onCommand:intersystems-community.servermanager-credentials.testPartiallyScopedLoginWithPreferenceCleared", |
| 84 | + "onCommand:intersystems-community.servermanager-credentials.testQuietLogin", |
| 85 | + "onCommand:intersystems-community.servermanager-credentials.testScopedQuietLogin", |
| 86 | + "onCommand:intersystems-community.servermanager-credentials.testScopedQuietLogin2" |
87 | 87 | ],
|
88 | 88 | "contributes": {
|
89 | 89 | "viewsContainers": {
|
|
230 | 230 | }
|
231 | 231 | },
|
232 | 232 | "additionalProperties": false
|
| 233 | + }, |
| 234 | + "intersystemsServerManager.useAuthenticationProvider": { |
| 235 | + "type": "boolean", |
| 236 | + "markdownDescription": "Use the 'intersystems-server-credentials' authentication provider for password management. Extensions that use the getServerSpec API will no longer receive a password in the response object. Instead they should call [`vscode.authentication`](https://code.visualstudio.com/api/references/vscode-api#authentication)`.getSession('intersystems-server-credentials', [serverName, userName])`. The `accessToken` property of the [`AuthenticationSession`](https://code.visualstudio.com/api/references/vscode-api#AuthenticationSession) promise returned is the password. If `serverName` or `userName` is omitted the user will be prompted.", |
| 237 | + "scope": "application" |
233 | 238 | }
|
234 | 239 | }
|
235 | 240 | },
|
|
294 | 299 | "title": "Import Servers from Windows Registry"
|
295 | 300 | },
|
296 | 301 | {
|
297 |
| - "command": "intersystems-community.servermanager.testLogin", |
298 |
| - "category": "InterSystems Server Manager", |
| 302 | + "command": "intersystems-community.servermanager-credentials.testLogin", |
| 303 | + "category": "InterSystems Server Credentials", |
299 | 304 | "title": "Test Login"
|
300 | 305 | },
|
301 | 306 | {
|
302 |
| - "command": "intersystems-community.servermanager.testScopedLogin", |
303 |
| - "category": "InterSystems Server Manager", |
| 307 | + "command": "intersystems-community.servermanager-credentials.testScopedLogin", |
| 308 | + "category": "InterSystems Server Credentials", |
304 | 309 | "title": "Test Scoped Login (iris201 as johnm)"
|
305 | 310 | },
|
306 | 311 | {
|
307 |
| - "command": "intersystems-community.servermanager.testScopedLogin2", |
308 |
| - "category": "InterSystems Server Manager", |
| 312 | + "command": "intersystems-community.servermanager-credentials.testScopedLogin2", |
| 313 | + "category": "InterSystems Server Credentials", |
309 | 314 | "title": "Test Scoped Login (iris201 as johnm2)"
|
310 | 315 | },
|
311 | 316 | {
|
312 |
| - "command": "intersystems-community.servermanager.testScopedLoginWithPreferenceCleared", |
313 |
| - "category": "InterSystems Server Manager", |
| 317 | + "command": "intersystems-community.servermanager-credentials.testScopedLoginWithPreferenceCleared", |
| 318 | + "category": "InterSystems Server Credentials", |
314 | 319 | "title": "Test Scoped Login (iris201 as johnm) With Preference Cleared"
|
315 | 320 | },
|
316 | 321 | {
|
317 |
| - "command": "intersystems-community.servermanager.testScopedLogin2WithPreferenceCleared", |
318 |
| - "category": "InterSystems Server Manager", |
| 322 | + "command": "intersystems-community.servermanager-credentials.testScopedLogin2WithPreferenceCleared", |
| 323 | + "category": "InterSystems Server Credentials", |
319 | 324 | "title": "Test Scoped Login (iris201 as johnm2) With Preference Cleared"
|
320 | 325 | },
|
321 | 326 | {
|
322 |
| - "command": "intersystems-community.servermanager.testPartiallyScopedLogin", |
323 |
| - "category": "InterSystems Server Manager", |
| 327 | + "command": "intersystems-community.servermanager-credentials.testPartiallyScopedLogin", |
| 328 | + "category": "InterSystems Server Credentials", |
324 | 329 | "title": "Test Partially Scoped Login (iris201)"
|
325 | 330 | },
|
326 | 331 | {
|
327 |
| - "command": "intersystems-community.servermanager.testPartiallyScopedLoginWithPreferenceCleared", |
328 |
| - "category": "InterSystems Server Manager", |
| 332 | + "command": "intersystems-community.servermanager-credentials.testPartiallyScopedLoginWithPreferenceCleared", |
| 333 | + "category": "InterSystems Server Credentials", |
329 | 334 | "title": "Test Partially Scoped Login (iris201) With Preference Cleared"
|
330 | 335 | },
|
331 | 336 | {
|
332 |
| - "command": "intersystems-community.servermanager.testQuietLogin", |
333 |
| - "category": "InterSystems Server Manager", |
| 337 | + "command": "intersystems-community.servermanager-credentials.testQuietLogin", |
| 338 | + "category": "InterSystems Server Credentials", |
334 | 339 | "title": "Test Quiet Login"
|
335 | 340 | },
|
336 | 341 | {
|
337 |
| - "command": "intersystems-community.servermanager.testScopedQuietLogin", |
338 |
| - "category": "InterSystems Server Manager", |
| 342 | + "command": "intersystems-community.servermanager-credentials.testScopedQuietLogin", |
| 343 | + "category": "InterSystems Server Credentials", |
339 | 344 | "title": "Test Scoped Quiet Login"
|
340 | 345 | },
|
341 | 346 | {
|
342 |
| - "command": "intersystems-community.servermanager.testScopedQuietLogin2", |
343 |
| - "category": "InterSystems Server Manager", |
| 347 | + "command": "intersystems-community.servermanager-credentials.testScopedQuietLogin2", |
| 348 | + "category": "InterSystems Server Credentials", |
344 | 349 | "title": "Test Scoped Quiet Login2"
|
345 | 350 | },
|
346 | 351 | {
|
|
0 commit comments