Update challenges proposal shape (#263484)

ref https://github.com/microsoft/vscode/issues/260156
This commit is contained in:
Tyler James Leonhardt
2025-08-26 15:40:35 -07:00
committed by GitHub
parent 8ee3a00117
commit 5eaa23c2a9
8 changed files with 68 additions and 50 deletions

View File

@@ -301,7 +301,7 @@ export function createApiFactoryAndRegisterActors(accessor: ServicesAccessor): I
})();
const authentication: typeof vscode.authentication = {
getSession(providerId: string, scopesOrChallenge: readonly string[] | vscode.AuthenticationSessionRequest, options?: vscode.AuthenticationGetSessionOptions) {
getSession(providerId: string, scopesOrChallenge: readonly string[] | vscode.AuthenticationWWWAuthenticateRequest, options?: vscode.AuthenticationGetSessionOptions) {
if (!Array.isArray(scopesOrChallenge)) {
checkProposedApiEnabled(extension, 'authenticationChallenges');
}