Account extension - support multiple sessions, passing scopes to login

This commit is contained in:
Rachel Macfarlane
2020-01-24 10:43:57 -08:00
parent c7c619784a
commit 8c2a25968f
9 changed files with 176 additions and 81 deletions

View File

@@ -908,8 +908,8 @@ export interface ExtHostLabelServiceShape {
export interface ExtHostAuthenticationShape {
$getSessions(id: string): Promise<ReadonlyArray<modes.Session>>;
$login(id: string): Promise<modes.Session>;
$logout(id: string, accountId: string): Promise<void>;
$login(id: string, scopes: string[]): Promise<modes.Session>;
$logout(id: string, sessionId: string): Promise<void>;
}
export interface ExtHostSearchShape {