Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
microsoft
GitHub Repository: microsoft/vscode
Path: blob/main/src/vscode-dts/vscode.proposed.authProviderSpecific.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
8
// https://github.com/microsoft/vscode/issues/251648
9
10
export interface AuthenticationProviderSessionOptions {
11
/**
12
* Allows the authentication provider to take in additional parameters.
13
* It is up to the provider to define what these parameters are and handle them.
14
* This is useful for passing in additional information that is specific to the provider
15
* and not part of the standard authentication flow.
16
*/
17
[key: string]: any;
18
}
19
20
// TODO: Implement this interface if needed via an extension
21
// export interface AuthenticationGetSessionOptions {
22
// /**
23
// * Allows the authentication provider to take in additional parameters.
24
// * It is up to the provider to define what these parameters are and handle them.
25
// * This is useful for passing in additional information that is specific to the provider
26
// * and not part of the standard authentication flow.
27
// */
28
// [key: string]: any;
29
// }
30
}
31
32