ide на основе vs code
Это ide на основе vs code(code oss), в ней будет встроенный умный апи роутинг, свой маркет с плагинами(агент харнесс, поддержка java/kotlin/мобильной разработки, командная разработка проектов, orca, оркестратор агентов
Это ide на основе vs code(code oss), в ней будет встроенный умный апи роутинг, свой маркет с плагинами(агент харнесс, поддержка java/kotlin/мобильной разработки, командная разработка проектов, orca, оркестратор агентов
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import assert from 'assert';
import * as sinon from 'sinon';
import { authentication, AuthenticationGetSessionOptions, AuthenticationSession, AuthenticationSessionAccountInformation, AuthenticationWwwAuthenticateRequest, ConfigurationScope, ConfigurationTarget, workspace, WorkspaceConfiguration } from 'vscode';
import { GITHUB_SCOPE_ALIGNED, GITHUB_SCOPE_READ_USER, GITHUB_SCOPE_USER_EMAIL } from '../../../platform/authentication/common/authentication';
import { getAlignedSession, getAnyAuthSession } from '../../../platform/authentication/vscode-node/session';
import AuthProviderId Config ConfigKey IConfigurationService
DefaultsOnlyConfigurationService
InMemoryConfigurationService
ITelemetryUserConfig TelemetryUserConfigImpl
SyncDescriptor
createExtensionTestingServices
testingServiceCollection
testingServiceCollectionITelemetryUserConfig TelemetryUserConfigImpl
accessor testingServiceCollection
sandbox sinonSinonSandbox
getSessionStub sinonSinonStubproviderId scopeListOrRequest AuthenticationWwwAuthenticateRequest options AuthenticationGetSessionOptions ThenableAuthenticationSession
getAccountsStub sinonSinonStubproviderId Thenable AuthenticationSessionAccountInformation
configurationStub sinonSinonStubsection scope ConfigurationScope WorkspaceConfiguration
sessions AuthenticationSession
getAccountsStubsessionssession sessionaccount
sessionsByScope
session sessions
scopeKey sessionscopes
sessionsWithScope sessionsByScopescopeKey
sessionsWithScopesession
sessionsByScopescopeKey sessionsWithScope
getSessionStub_providerId scopeListOrRequest AuthenticationWwwAuthenticateRequest options AuthenticationGetSessionOptions
scopes scopeListOrRequest
sessionsWithScope sessionsByScopescopes
sessionsWithScope
optionsaccount
sessionsWithScope sessionsWithScopesession sessionaccountlabel optionsaccountlabel
sessionsWithScope
sandbox sinon
getSessionStub sandboxauthentication
getSessionStub
getAccountsStub sandboxauthentication
getAccountsStub
configurationStub sandboxworkspace
configurationStub
_data
section
section defaultValue
section defaultValue
_datasection defaultValue
section
_datasection
section
section value configurationTarget ConfigurationTarget overrideInLanguage Thenable
_datasection value
sandbox
scopes
sessionId
id sessionId scopes accessToken account id label
result accessorIConfigurationService
assertresult AuthenticationSessionid sessionId
scopes
sessionId
id sessionId scopes accessToken account id label
result accessorIConfigurationService
assertresult AuthenticationSessionid sessionId
scopes
sessionId
id sessionId scopes accessToken account id label
result accessorIConfigurationService
assertresult AuthenticationSessionid sessionId
newSessionId
oldSessionId
id oldSessionId
accessToken
scopes
account id label
id newSessionId
accessToken
scopes
account id label
result accessorIConfigurationService
assertresult AuthenticationSessionid newSessionId
newSessionId
oldSessionId
alignedSessionId
id alignedSessionId
accessToken
scopes
account id label
id oldSessionId
accessToken
scopes
account id label
id newSessionId
accessToken
scopes
account id label
result accessorIConfigurationService
assertresult AuthenticationSessionid alignedSessionId
alignedScopeSessionStub getSessionStub sinonmatch
userEmailSessionStub getSessionStub sinonmatch
readUserScopeSessionStub getSessionStub sinonmatch
result accessorIConfigurationService
assertresult
assertalignedScopeSessionStubcalledOnce
assertuserEmailSessionStubcalledOnce
assertreadUserScopeSessionStubcalledOnce
configurationService
ConfigKeySharedAuthProvider AuthProviderIdGitHubEnterprise
gheSessionId
getAccountsStub id label
gheSessionStub getSessionStub sinonmatch
gheSessionStub
id gheSessionId
accessToken
scopes
account id label
ghSessionStub getSessionStub sinonmatch
result configurationService
assertresult AuthenticationSessionid gheSessionId
assertgheSessionStubcalledOnce
assertghSessionStubnotCalled
alignedSessionId
id alignedSessionId
accessToken
scopes
account id label
result accessorIConfigurationService silent
assertresult AuthenticationSessionid alignedSessionId
alignedSessionId
id alignedSessionId
accessToken
scopes
account id label
result accessorIConfigurationService silent
assertresult