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 * as assert from 'assert';
import * as vscode from 'vscode';
import { Config } from '../config';
import { AuthProviderType } from '../github';
import { AccountLinks } from '../common/accountLinks';
import { IGitHubUserInfo } from '../common/gitHubAccount';
import { IHttpClient, IHttpRequest, IHttpResponse } from '../common/http';
import { Log } from
IMicrosoftAuthentication
EntraTokenExchange
EntraTokenExchangeError
EntraTokenExchangeFailure
IConfirmationDialog
IEntraRenewal
TestMemento
IGitHubUserInfo id accountName avatarUrl
vscodeAuthenticationSessionAccountInformation id label
Action
SignIn
UseDifferentAccount
Cancel
body Record status IHttpResponse
ok status status status statusText body
token scope Record
access_token token
issued_token_type
token_type
expires_in
scope
request IHttpRequest Record
Object requestbody
silent
forceNewSession
accountId
exchange EntraTokenExchange
requests IHttpRequest
acquisitions IAcquisition
lookups
accountLinks AccountLinks
confirmations
logger Log
realClientSecret
logger AuthProviderTypegithub
realClientSecret ConfiggitHubClientSecret
ConfiggitHubClientSecret
ConfiggitHubClientSecret realClientSecret
overrides
noExchangeEndpoint
microsoftToken call
microsoftError Error
respond call IHttpResponse
requestError Error
userInfo call Record
userInfoError Error
storageError Error
choose call Action
IHarness
requests IHttpRequest
acquisitions IAcquisition
lookups
confirmations
memento
mementoupdateError overridesstorageError
accountLinks memento logger
microsoft IMicrosoftAuthentication
request
acquisitions
silent requestsilent
forceNewSession requestsilent requestforceNewSession
accountId requestaccountid
overridesmicrosoftError
overridesmicrosoftError
token overridesmicrosoftToken
overridesacquisitionslength
token token account
http IHttpClient
request
requestmethod
lookupsrequestheadersAuthorization
overridesuserInfoError
overridesuserInfoError
overridesuserInfolookupslength id login name
requestsrequest
overridesrequestError
overridesrequestError
overridesrespond
overridesrequestslength
requestedScope requestscope
requestedScope
requestedScope
requestedScope
confirmation IConfirmationDialog
message actions
confirmationsmessage
action overrideschooseconfirmationslength ActionSignIn
action ActionCancel actionsaction
exchange
logger
tokenExchange overridesnoExchangeEndpoint
userInfo
microsoft
accountLinks
http
confirmation
exchange requests acquisitions lookups accountLinks confirmations
harness IHarness scopes
harnessexchangescopes
e
e efailure e Errormessage
IEntraRenewal
scopes
gitHubAccountId id
microsoftAccount
harness IHarness renewal IEntraRenewal
harnessexchangerenewal
e
e efailure e Errormessage
harness
harnessexchange
assertharnessrequestsrequest
url requesturl
method requestmethod
headers requestheaders
form request
url
method
headers Accept
form
client_id ConfiggitHubClientId
client_secret
grant_type
subject_token
subject_token_type
scope
url
method
headers Accept
form
client_id ConfiggitHubClientId
client_secret
grant_type
subject_token
subject_token_type
scope
harness
result harnessexchange
assert
lookups harnesslookups
confirmations harnessconfirmations
linked harnessaccountLinks
result
lookups
confirmations
linked
result
token
expiresIn
account
told
toldexchange microsoftAccount
backedOut ActionCancel
backedOut
assert
acquisitions toldacquisitions
cancelledLink backedOutaccountLinks
acquisitions silent forceNewSession accountId
cancelledLink
harness storageError
result harnessexchange
assert
token resulttoken
linked harnessaccountLinks
token
linked
harness ActionCancel
assert
failure harness
exchanges harnessrequestslength
confirmations harnessconfirmationslength
failure
exchanges
confirmations
harness call call ActionUseDifferentAccount ActionSignIn
result harnessexchange microsoftAccount
assert
acquisitions harnessacquisitions
subjectTokens harnessrequestsrequest requestsubject_token
scopes harnessrequestsrequest requestscope
token resulttoken
acquisitions
silent forceNewSession accountId
silent forceNewSession accountId
subjectTokens
scopes
token
code
error code error_description
descriptive
message
descriptiveexchange
e
message e Errormessage
assert
microsoftDismissed
microsoftFailed microsoftError
microsoftCancelled microsoftError
accountLookupFailed userInfoError
network requestError
invalidRequest
invalidClient
invalidScope
unsupportedGrantType
invalidGrant
unknownCode
descriptionLeaked message
microsoftDismissed
microsoftFailed EntraTokenExchangeFailureMicrosoftSignIn
microsoftCancelled
accountLookupFailed EntraTokenExchangeFailureIdentity
network EntraTokenExchangeFailureNetwork
invalidRequest EntraTokenExchangeFailureConfiguration
invalidClient EntraTokenExchangeFailureConfiguration
invalidScope EntraTokenExchangeFailureConfiguration
unsupportedGrantType EntraTokenExchangeFailureConfiguration
invalidGrant EntraTokenExchangeFailureIdentity
unknownCode EntraTokenExchangeFailureProtocol
descriptionLeaked
harness
ConfiggitHubClientSecret
assert
failure harness
exchanges harnessrequestslength
acquisitions harnessacquisitionslength
failure EntraTokenExchangeFailureConfiguration
exchanges
acquisitions
ConfiggitHubClientSecret
harness noExchangeEndpoint
assert
failure harness
exchanges harnessrequestslength
acquisitions harnessacquisitionslength
failure EntraTokenExchangeFailureConfiguration
exchanges
acquisitions
body Record body
assert
notAnObject
emptyToken access_token
wrongIssuedType issued_token_type
wrongTokenType token_type
missingExpiry expires_in
negativeExpiry expires_in
invalidScopes scope
errorlessFailure
notAnObject EntraTokenExchangeFailureProtocol
emptyToken EntraTokenExchangeFailureProtocol
wrongIssuedType EntraTokenExchangeFailureProtocol
wrongTokenType EntraTokenExchangeFailureProtocol
missingExpiry EntraTokenExchangeFailureProtocol
negativeExpiry EntraTokenExchangeFailureProtocol
invalidScopes EntraTokenExchangeFailureProtocol
errorlessFailure EntraTokenExchangeFailureProtocol
granted
harness
call call
granted scope granted
harnessexchange token
assert
narrowed
commaSeparated
unreported
narrowed
commaSeparated
unreported
harness
renewed harnessexchange
assert
acquisitions harnessacquisitions
scopes harnessrequestsrequest requestscope
subjectTokens harnessrequestsrequest requestsubject_token
lookups harnesslookups
confirmations harnessconfirmations
renewed
acquisitions silent forceNewSession accountId
scopes
subjectTokens
lookups
confirmations
renewed token expiresIn account scopes
harness
renewed harnessexchange scopes
assert
scope harnessrequestsscope
renewed
scope
renewed
token
expiresIn
account
scopes
harness id login
assert
failure harness
exchanges harnessrequestslength
lookups harnesslookups
failure EntraTokenExchangeFailureAccountMismatch
exchanges
lookups
harness
call call id login id login
assert
failure harness
lookups harnesslookups
links harnessaccountLinks
failure EntraTokenExchangeFailureAccountMismatch
lookups
links
harness
assert
failure harness
silent harnessacquisitionsacquisition acquisitionsilent
exchanges harnessrequestslength
confirmations harnessconfirmationslength
failure EntraTokenExchangeFailureMicrosoftSignIn
silent
exchanges
confirmations
noEndpoint noExchangeEndpoint
noSecret
ConfiggitHubClientSecret
withoutSecret
withoutSecret noSecret
ConfiggitHubClientSecret
assert
withoutEndpoint noEndpoint
withoutSecret
acquisitions noEndpointacquisitionslength noSecretacquisitionslength
withoutEndpoint EntraTokenExchangeFailureConfiguration
withoutSecret EntraTokenExchangeFailureConfiguration
acquisitions