Add providerId array to authentication namespace

This commit is contained in:
Rachel Macfarlane
2020-03-09 13:59:56 -07:00
parent 2b029679b5
commit cfc1ab4c5f
3 changed files with 11 additions and 6 deletions

View File

@@ -188,8 +188,8 @@ export function createApiFactoryAndRegisterActors(accessor: ServicesAccessor): I
get onDidChangeAuthenticationProviders(): Event<vscode.AuthenticationProvidersChangeEvent> {
return extHostAuthentication.onDidChangeAuthenticationProviders;
},
hasProvider(providerId: string): boolean {
return extHostAuthentication.hasProvider(providerId);
get providerIds(): string[] {
return extHostAuthentication.providerIds;
},
getSessions(providerId: string, scopes: string[]): Thenable<readonly vscode.AuthenticationSession[]> {
return extHostAuthentication.getSessions(extension, providerId, scopes);