Files
vscode/src/vscode-dts/vscode.proposed.authProviderSpecific.d.ts
Tyler James Leonhardt 2fabac413d Introduce auth-provider specific props & use it for social sign in for GitHub (#251649)
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.
2025-06-16 23:02:36 +02:00

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;
// }
}