Files
vscode/src/vscode-dts/vscode.proposed.authIssuers.d.ts
Tyler James Leonhardt c235626145 issuer -> authorizationServer refactor (#250359)
* `issuer` -> `authorizationServer` refactor

Also:
* adds `authorizationServerGlobs` to the authentication contribution schema
* removes ugly MCP issuer hack and instead plumbs the authorizationServer down to the new auth providers
2025-06-02 17:38:21 -07:00

31 lines
1.2 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' {
export interface AuthenticationProviderOptions {
/**
* When specified, this provider will be associated with these authorization servers. They can still contain globs
* just like their extension contribution counterparts.
*/
readonly supportedAuthorizationServers?: Uri[];
}
export interface AuthenticationProviderSessionOptions {
/**
* When specified, the authentication provider will use the provided authorization server URL to
* authenticate the user. This is only used when a provider has `supportsAuthorizationServers` set
*/
authorizationServer?: Uri;
}
export interface AuthenticationGetSessionOptions {
/**
* When specified, the authentication provider will use the provided authorization server URL to
* authenticate the user. This is only used when a provider has `supportsAuthorizationServers` set
*/
authorizationServer?: Uri;
}
}