Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
microsoft
GitHub Repository: microsoft/vscode
Path: blob/main/src/vscode-dts/vscode.proposed.authSession.d.ts
3290 views
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
6
declare 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