Remove deprecated auth API proposals. Fixes #127144

This commit is contained in:
Tyler Leonhardt
2021-07-08 10:38:10 -07:00
parent a28d028d2d
commit ba01bbac9c
6 changed files with 0 additions and 89 deletions

View File

@@ -233,18 +233,6 @@ export function createApiFactoryAndRegisterActors(accessor: ServicesAccessor): I
},
registerAuthenticationProvider(id: string, label: string, provider: vscode.AuthenticationProvider, options?: vscode.AuthenticationProviderOptions): vscode.Disposable {
return extHostAuthentication.registerAuthenticationProvider(id, label, provider, options);
},
get onDidChangeAuthenticationProviders(): Event<vscode.AuthenticationProvidersChangeEvent> {
checkProposedApiEnabled(extension);
return extHostAuthentication.onDidChangeAuthenticationProviders;
},
get providers(): ReadonlyArray<vscode.AuthenticationProviderInformation> {
checkProposedApiEnabled(extension);
return extHostAuthentication.providers;
},
logout(providerId: string, sessionId: string): Thenable<void> {
checkProposedApiEnabled(extension);
return extHostAuthentication.removeSession(providerId, sessionId);
}
};