Skip to content

Commit ea031c7

Browse files
Update vscode.d.ts for clearSessionPreference (microsoft#180979)
Fixes microsoft#180860
1 parent 50cc7df commit ea031c7

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

src/vscode-dts/vscode.d.ts

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15653,12 +15653,19 @@ declare module 'vscode' {
1565315653
*/
1565415654
export interface AuthenticationGetSessionOptions {
1565515655
/**
15656-
* Whether the existing user session preference should be cleared.
15656+
* Whether the existing session preference should be cleared.
1565715657
*
1565815658
* For authentication providers that support being signed into multiple accounts at once, the user will be
1565915659
* prompted to select an account to use when {@link authentication.getSession getSession} is called. This preference
1566015660
* is remembered until {@link authentication.getSession getSession} is called with this flag.
1566115661
*
15662+
* Note:
15663+
* The preference is extension specific. So if one extension calls {@link authentication.getSession getSession}, it will not
15664+
* affect the session preference for another extension calling {@link authentication.getSession getSession}. Additionally,
15665+
* the preference is set for the current workspace and also globally. This means that new workspaces will use the "global"
15666+
* value at first and then when this flag is provided, a new value can be set for that workspace. This also means
15667+
* that pre-existing workspaces will not lose their preference if a new workspace sets this flag.
15668+
*
1566215669
* Defaults to false.
1566315670
*/
1566415671
clearSessionPreference?: boolean;

0 commit comments

Comments
 (0)