1/*--------------------------------------------------------------------------------------------- 2 * Copyright (c) Microsoft Corporation. All rights reserved. 3 * Licensed under the MIT License. See License.txt in the project root for license information. 4 *--------------------------------------------------------------------------------------------*/ 5 6declare module 'vscode' { 7 export namespace authentication { 8 /** 9 * @deprecated Use {@link getSession()} {@link AuthenticationGetSessionOptions.silent} instead. 10 */ 11 export function hasSession(providerId: string, scopes: readonly string[]): Thenable<boolean>; 12 } 13} 14 15