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

@@ -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> {