Adopt getAccounts API in GitHub Authentication (#221224)

This allows the GitHub Auth provider to take in a account per this proposal:

417dddb83f/src/vscode-dts/vscode.proposed.authGetSessions.d.ts (L35-L69)

Additionally, this makes an additional small change that allows `clearSessionPreference` to work in single-account auth providers.
This commit is contained in:
Tyler James Leonhardt
2024-07-08 15:19:40 -07:00
committed by GitHub
parent 6c907814bf
commit 1b24381b5c
5 changed files with 80 additions and 21 deletions

View File

@@ -13,6 +13,9 @@
"Other"
],
"api": "none",
"enabledApiProposals": [
"authGetSessions"
],
"extensionKind": [
"ui",
"workspace"