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 type * as vscode from 'vscode';
import { stringHash } from '../../../base/common/hash.js';
import { buildIdJagExchangeBody, buildResourceRedemptionBody, fetchAuthorizationServerMetadata, getClaimsFromJWT, IAuthorizationJWTClaims, IAuthorizationTokenResponse, isAuthorizationTokenResponse } from '../../../base/common/oauth.js';
import { DynamicAuthProvider } from './extHostAuthentication.js';
// eslint-disable-next-line @typescript-eslint/no-explicit-any
type Ctor<T> = new (...args: any[]
resource
scopes
token IAuthorizationTokenResponse
account vscodeAuthenticationSessionAccountInformation
created_at
resource scopes
resource scopes
entry token expires_in created_at now Date
entrytokenexpires_in
now entrycreated_at entrytokenexpires_in
Base TBase TBase
_resourceTokens
_resourceClientSecrets
resource clientId
args
args
issuer authorizationServer
id
_logger
override scopes options vscodeAuthenticationProviderSessionOptions vscodeAuthenticationSession
resource optionsresource
audience optionsaudience
scopes resource audience
scopes options
resource scopes audience
key resource scopes
entry _resourceTokenskey
entry entry
entrytoken entryscopes entryaccount
entry
_resourceTokenskey
idpSession
idpSessionidToken
minted idpSession scopes audience resource options
minted
mintedtoken mintedscopes mintedaccount
err
_logger
override scopes options vscodeAuthenticationProviderSessionOptions vscodeAuthenticationSession
audience optionsaudience
resource optionsresource
_logger
audience
resource
idpSession
idpSessionidToken
minted idpSession scopes audience resource options
minted
mintedtoken mintedscopes mintedaccount
idpSession vscodeAuthenticationSession
scopes
audience
resource
options vscodeAuthenticationProviderSessionOptions
silent
IResourceCacheEntry
jag idpSessionidToken audience resource scopes
resourceTokenEndpoint audience
resourceClientId _clientId
resourceClientIdFromJag
configuredResourceClientId optionsclientId optionsclientIdlength optionsclientId
configuredResourceClientId
resourceClientId configuredResourceClientId
resourceClientIdFromJag resourceClientId _clientId
jagClaims jag
jagClaimsclient_id jagClaimsclient_idlength
resourceClientId jagClaimsclient_id
resourceClientIdFromJag resourceClientId _clientId
err
_logger
resourceClientSecret _clientSecret
configuredResourceClientSecret optionsclientSecret optionsclientSecretlength optionsclientSecret
secretCacheKey resource resourceClientId
configuredResourceClientSecret
resourceClientSecret configuredResourceClientSecret
_resourceClientSecretssecretCacheKey configuredResourceClientSecret
resourceClientIdFromJag
_resourceClientSecretssecretCacheKey
resourceClientSecret _resourceClientSecretssecretCacheKey
silent
_logger
_logger
promptedSecret _proxyresourceClientId resource
promptedSecret
_resourceClientSecretssecretCacheKey promptedSecret
resourceClientSecret promptedSecretlength promptedSecret
resourceToken resourceTokenEndpoint jag resource scopes resourceClientId resourceClientSecret
entry IResourceCacheEntry
resource
scopes
token resourceToken
account idpSessionaccount
created_at Date
_resourceTokensresource scopes entry
entry
vscodeAuthenticationSession
cleanOptions vscodeAuthenticationProviderSessionOptions
existing cleanOptions
existinglength existing
vscodeAuthenticationSession
_logger
silent
silentidToken
_logger
silent
_logger
idToken audience resource scopes
tokenEndpoint _serverMetadatatoken_endpoint
tokenEndpoint
body _clientId _clientSecret idToken audience resource scopes
_logger
response tokenEndpoint
method
headers
body body
responseok
data response
issued data data data access_token access_token
data access_token access_token
issued
issued
audience
metadata errors audience
metadatatoken_endpoint
metadatatoken_endpoint
tokenEndpoint idJag resource scopes resourceClientId resourceClientSecret IAuthorizationTokenResponse
body resourceClientId resourceClientSecret idJag resource scopes
_logger
response tokenEndpoint
method
headers
body body
responseok
data response
data
data
token IAuthorizationTokenResponse scopes fallbackAccount vscodeAuthenticationSessionAccountInformation vscodeAuthenticationSession
account vscodeAuthenticationSessionAccountInformation
tokenid_token
claims IAuthorizationJWTClaims tokenid_token
account
id claimssub
label claimspreferred_username claimsname claimsemail
account fallbackAccount id label
id tokenaccess_token
accessToken tokenaccess_token
account
scopes scopes
idToken tokenid_token
response Response
response
responsestatusText