mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-26 03:29:00 +01:00
Account extension - support multiple sessions, passing scopes to login
This commit is contained in:
@@ -24,8 +24,8 @@ export class MainThreadAuthenticationProvider {
|
||||
return this._proxy.$getSessions(this.id);
|
||||
}
|
||||
|
||||
login(): Promise<modes.Session> {
|
||||
return this._proxy.$login(this.id);
|
||||
login(scopes: string[]): Promise<modes.Session> {
|
||||
return this._proxy.$login(this.id, scopes);
|
||||
}
|
||||
|
||||
logout(accountId: string): Promise<void> {
|
||||
|
||||
Reference in New Issue
Block a user