mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-19 16:18:58 +01:00
ref https://github.com/microsoft/vscode/issues/251648 NOTE: the server side is not quite ready. It doesn't redirect back to VS Code properly, but this should be good to go whenever that is.
31 lines
1.3 KiB
TypeScript
31 lines
1.3 KiB
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' {
|
|
|
|
// https://github.com/microsoft/vscode/issues/251648
|
|
|
|
export interface AuthenticationProviderSessionOptions {
|
|
/**
|
|
* Allows the authentication provider to take in additional parameters.
|
|
* It is up to the provider to define what these parameters are and handle them.
|
|
* This is useful for passing in additional information that is specific to the provider
|
|
* and not part of the standard authentication flow.
|
|
*/
|
|
[key: string]: any;
|
|
}
|
|
|
|
// TODO: Implement this interface if needed via an extension
|
|
// export interface AuthenticationGetSessionOptions {
|
|
// /**
|
|
// * Allows the authentication provider to take in additional parameters.
|
|
// * It is up to the provider to define what these parameters are and handle them.
|
|
// * This is useful for passing in additional information that is specific to the provider
|
|
// * and not part of the standard authentication flow.
|
|
// */
|
|
// [key: string]: any;
|
|
// }
|
|
}
|