Expose authentication provider registartion/unregistration as single event, fixes #89806

This commit is contained in:
Rachel Macfarlane
2020-01-31 15:52:57 -08:00
parent f11a0b9a29
commit f4786e227c
3 changed files with 27 additions and 14 deletions

View File

@@ -188,11 +188,8 @@ export function createApiFactoryAndRegisterActors(accessor: ServicesAccessor): I
get providers() {
return extHostAuthentication.providers(extension);
},
get onDidRegisterAuthenticationProvider() {
return extHostAuthentication.onDidRegisterAuthenticationProvider;
},
get onDidUnregisterAuthenticationProvider() {
return extHostAuthentication.onDidUnregisterAuthenticationProvider;
get onDidChangeAuthenticationProviders(): Event<vscode.AuthenticationProvidersChangeEvent> {
return extHostAuthentication.onDidChangeAuthenticationProviders;
}
};