Add authentication contribution point, #103507

This commit is contained in:
Rachel Macfarlane
2020-08-27 11:50:51 -07:00
parent 3bd7c6981e
commit 650197b991
8 changed files with 143 additions and 6 deletions

View File

@@ -232,6 +232,12 @@ export class MainThreadAuthentication extends Disposable implements MainThreadAu
this._register(this.authenticationService.onDidUnregisterAuthenticationProvider(info => {
this._proxy.$onDidChangeAuthenticationProviders([], [info]);
}));
this._proxy.$setProviders(this.authenticationService.declaredProviders);
this._register(this.authenticationService.onDidChangeDeclaredProviders(e => {
this._proxy.$setProviders(e);
}));
}
$getProviderIds(): Promise<string[]> {