Files
vscode/src/vscode-dts/vscode.proposed.authSession.d.ts
2021-11-16 09:41:27 -08:00

14 lines
625 B
TypeScript

/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
declare module 'vscode' {
export namespace authentication {
/**
* @deprecated Use {@link getSession()} {@link AuthenticationGetSessionOptions.silent} instead.
*/
export function hasSession(providerId: string, scopes: readonly string[]): Thenable<boolean>;
}
}