@azure/msal-common 14.14.1 → 14.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/browser/README.md +1 -0
- package/browser/package.json +5 -0
- package/dist/account/AccountInfo.d.ts +1 -1
- package/dist/account/AccountInfo.d.ts.map +1 -1
- package/dist/account/AccountInfo.mjs +1 -1
- package/dist/account/AuthToken.d.ts +1 -1
- package/dist/account/AuthToken.d.ts.map +1 -1
- package/dist/account/AuthToken.mjs +1 -1
- package/dist/account/CcsCredential.mjs +1 -1
- package/dist/account/ClientInfo.mjs +1 -1
- package/dist/account/TokenClaims.mjs +1 -1
- package/dist/authority/Authority.d.ts +12 -12
- package/dist/authority/Authority.d.ts.map +1 -1
- package/dist/authority/Authority.mjs +1 -1
- package/dist/authority/AuthorityFactory.d.ts +6 -6
- package/dist/authority/AuthorityFactory.d.ts.map +1 -1
- package/dist/authority/AuthorityFactory.mjs +1 -1
- package/dist/authority/AuthorityMetadata.d.ts +6 -6
- package/dist/authority/AuthorityMetadata.d.ts.map +1 -1
- package/dist/authority/AuthorityMetadata.mjs +1 -1
- package/dist/authority/AuthorityOptions.d.ts +4 -4
- package/dist/authority/AuthorityOptions.d.ts.map +1 -1
- package/dist/authority/AuthorityOptions.mjs +1 -1
- package/dist/authority/AuthorityType.mjs +1 -1
- package/dist/authority/AzureRegionConfiguration.d.ts +1 -1
- package/dist/authority/AzureRegionConfiguration.d.ts.map +1 -1
- package/dist/authority/CloudInstanceDiscoveryErrorResponse.mjs +1 -1
- package/dist/authority/CloudInstanceDiscoveryResponse.d.ts +1 -1
- package/dist/authority/CloudInstanceDiscoveryResponse.d.ts.map +1 -1
- package/dist/authority/CloudInstanceDiscoveryResponse.mjs +1 -1
- package/dist/authority/OIDCOptions.d.ts +1 -1
- package/dist/authority/OIDCOptions.d.ts.map +1 -1
- package/dist/authority/OpenIdConfigResponse.mjs +1 -1
- package/dist/authority/ProtocolMode.mjs +1 -1
- package/dist/authority/RegionDiscovery.d.ts +5 -5
- package/dist/authority/RegionDiscovery.d.ts.map +1 -1
- package/dist/authority/RegionDiscovery.mjs +1 -1
- package/dist/authority/RegionDiscoveryMetadata.d.ts +1 -1
- package/dist/authority/RegionDiscoveryMetadata.d.ts.map +1 -1
- package/dist/broker/nativeBroker/INativeBrokerPlugin.d.ts +6 -6
- package/dist/broker/nativeBroker/INativeBrokerPlugin.d.ts.map +1 -1
- package/dist/cache/CacheManager.d.ts +18 -18
- package/dist/cache/CacheManager.d.ts.map +1 -1
- package/dist/cache/CacheManager.mjs +1 -1
- package/dist/cache/entities/AccessTokenEntity.d.ts +2 -2
- package/dist/cache/entities/AccessTokenEntity.d.ts.map +1 -1
- package/dist/cache/entities/AccountEntity.d.ts +6 -6
- package/dist/cache/entities/AccountEntity.d.ts.map +1 -1
- package/dist/cache/entities/AccountEntity.mjs +1 -1
- package/dist/cache/entities/CacheRecord.d.ts +5 -5
- package/dist/cache/entities/CacheRecord.d.ts.map +1 -1
- package/dist/cache/entities/CredentialEntity.d.ts +1 -1
- package/dist/cache/entities/CredentialEntity.d.ts.map +1 -1
- package/dist/cache/entities/IdTokenEntity.d.ts +1 -1
- package/dist/cache/entities/IdTokenEntity.d.ts.map +1 -1
- package/dist/cache/entities/RefreshTokenEntity.d.ts +1 -1
- package/dist/cache/entities/RefreshTokenEntity.d.ts.map +1 -1
- package/dist/cache/interface/ICacheManager.d.ts +12 -12
- package/dist/cache/interface/ICacheManager.d.ts.map +1 -1
- package/dist/cache/interface/ICachePlugin.d.ts +1 -1
- package/dist/cache/interface/ICachePlugin.d.ts.map +1 -1
- package/dist/cache/persistence/TokenCacheContext.d.ts +1 -1
- package/dist/cache/persistence/TokenCacheContext.d.ts.map +1 -1
- package/dist/cache/persistence/TokenCacheContext.mjs +1 -1
- package/dist/cache/utils/CacheHelpers.d.ts +9 -9
- package/dist/cache/utils/CacheHelpers.d.ts.map +1 -1
- package/dist/cache/utils/CacheHelpers.mjs +1 -1
- package/dist/cache/utils/CacheTypes.d.ts +11 -11
- package/dist/cache/utils/CacheTypes.d.ts.map +1 -1
- package/dist/client/AuthorizationCodeClient.d.ts +10 -9
- package/dist/client/AuthorizationCodeClient.d.ts.map +1 -1
- package/dist/client/AuthorizationCodeClient.mjs +13 -5
- package/dist/client/AuthorizationCodeClient.mjs.map +1 -1
- package/dist/client/BaseClient.d.ts +13 -13
- package/dist/client/BaseClient.d.ts.map +1 -1
- package/dist/client/BaseClient.mjs +1 -1
- package/dist/client/RefreshTokenClient.d.ts +6 -6
- package/dist/client/RefreshTokenClient.d.ts.map +1 -1
- package/dist/client/RefreshTokenClient.mjs +1 -1
- package/dist/client/SilentFlowClient.d.ts +6 -6
- package/dist/client/SilentFlowClient.d.ts.map +1 -1
- package/dist/client/SilentFlowClient.mjs +1 -1
- package/dist/config/ClientConfiguration.d.ts +13 -11
- package/dist/config/ClientConfiguration.d.ts.map +1 -1
- package/dist/config/ClientConfiguration.mjs +2 -1
- package/dist/config/ClientConfiguration.mjs.map +1 -1
- package/dist/constants/AADServerParamKeys.mjs +1 -1
- package/dist/crypto/ICrypto.d.ts +2 -2
- package/dist/crypto/ICrypto.d.ts.map +1 -1
- package/dist/crypto/ICrypto.mjs +1 -1
- package/dist/crypto/JoseHeader.d.ts +1 -1
- package/dist/crypto/JoseHeader.d.ts.map +1 -1
- package/dist/crypto/JoseHeader.mjs +1 -1
- package/dist/crypto/PopTokenGenerator.d.ts +3 -3
- package/dist/crypto/PopTokenGenerator.d.ts.map +1 -1
- package/dist/crypto/PopTokenGenerator.mjs +1 -1
- package/dist/crypto/SignedHttpRequest.d.ts +1 -1
- package/dist/crypto/SignedHttpRequest.d.ts.map +1 -1
- package/dist/error/AuthError.d.ts +1 -1
- package/dist/error/AuthError.d.ts.map +1 -1
- package/dist/error/AuthError.mjs +1 -1
- package/dist/error/AuthErrorCodes.mjs +1 -1
- package/dist/error/CacheError.d.ts +1 -1
- package/dist/error/CacheError.d.ts.map +1 -1
- package/dist/error/CacheError.mjs +1 -1
- package/dist/error/CacheErrorCodes.mjs +1 -1
- package/dist/error/ClientAuthError.d.ts +2 -2
- package/dist/error/ClientAuthError.d.ts.map +1 -1
- package/dist/error/ClientAuthError.mjs +1 -1
- package/dist/error/ClientAuthErrorCodes.mjs +1 -1
- package/dist/error/ClientConfigurationError.d.ts +2 -2
- package/dist/error/ClientConfigurationError.d.ts.map +1 -1
- package/dist/error/ClientConfigurationError.mjs +1 -1
- package/dist/error/ClientConfigurationErrorCodes.mjs +1 -1
- package/dist/error/InteractionRequiredAuthError.d.ts +2 -2
- package/dist/error/InteractionRequiredAuthError.d.ts.map +1 -1
- package/dist/error/InteractionRequiredAuthError.mjs +1 -1
- package/dist/error/InteractionRequiredAuthErrorCodes.mjs +1 -1
- package/dist/error/JoseHeaderError.d.ts +2 -2
- package/dist/error/JoseHeaderError.d.ts.map +1 -1
- package/dist/error/JoseHeaderError.mjs +1 -1
- package/dist/error/JoseHeaderErrorCodes.mjs +1 -1
- package/dist/error/ServerError.d.ts +1 -1
- package/dist/error/ServerError.d.ts.map +1 -1
- package/dist/error/ServerError.mjs +1 -1
- package/dist/exports-browser-only.d.ts +10 -0
- package/dist/exports-browser-only.d.ts.map +1 -0
- package/dist/exports-common.d.ts +80 -0
- package/dist/exports-common.d.ts.map +1 -0
- package/dist/exports-node-only.d.ts +18 -0
- package/dist/exports-node-only.d.ts.map +1 -0
- package/dist/index-browser.d.ts +7 -0
- package/dist/index-browser.d.ts.map +1 -0
- package/dist/index-browser.mjs +67 -0
- package/dist/index-browser.mjs.map +1 -0
- package/dist/index-node.d.ts +7 -0
- package/dist/index-node.d.ts.map +1 -0
- package/dist/index-node.mjs +66 -0
- package/dist/index-node.mjs.map +1 -0
- package/dist/index.d.ts +7 -103
- package/dist/index.d.ts.map +1 -1
- package/dist/index.mjs +30 -30
- package/dist/logger/Logger.d.ts +1 -1
- package/dist/logger/Logger.d.ts.map +1 -1
- package/dist/logger/Logger.mjs +1 -1
- package/dist/network/INetworkModule.d.ts +1 -1
- package/dist/network/INetworkModule.d.ts.map +1 -1
- package/dist/network/INetworkModule.mjs +1 -1
- package/dist/network/NetworkManager.d.ts +4 -4
- package/dist/network/NetworkManager.d.ts.map +1 -1
- package/dist/network/NetworkManager.mjs +1 -1
- package/dist/network/RequestThumbprint.d.ts +2 -2
- package/dist/network/RequestThumbprint.d.ts.map +1 -1
- package/dist/network/ThrottlingUtils.d.ts +5 -5
- package/dist/network/ThrottlingUtils.d.ts.map +1 -1
- package/dist/network/ThrottlingUtils.mjs +1 -1
- package/dist/packageMetadata.d.ts +1 -1
- package/dist/packageMetadata.mjs +2 -2
- package/dist/request/AuthenticationHeaderParser.mjs +1 -1
- package/dist/request/BaseAuthRequest.d.ts +5 -5
- package/dist/request/BaseAuthRequest.d.ts.map +1 -1
- package/dist/request/CommonAuthorizationCodeRequest.d.ts +3 -3
- package/dist/request/CommonAuthorizationCodeRequest.d.ts.map +1 -1
- package/dist/request/CommonAuthorizationUrlRequest.d.ts +4 -4
- package/dist/request/CommonAuthorizationUrlRequest.d.ts.map +1 -1
- package/dist/request/CommonClientCredentialRequest.d.ts +3 -3
- package/dist/request/CommonClientCredentialRequest.d.ts.map +1 -1
- package/dist/request/CommonDeviceCodeRequest.d.ts +3 -3
- package/dist/request/CommonDeviceCodeRequest.d.ts.map +1 -1
- package/dist/request/CommonEndSessionRequest.d.ts +2 -2
- package/dist/request/CommonEndSessionRequest.d.ts.map +1 -1
- package/dist/request/CommonOnBehalfOfRequest.d.ts +1 -1
- package/dist/request/CommonOnBehalfOfRequest.d.ts.map +1 -1
- package/dist/request/CommonRefreshTokenRequest.d.ts +3 -3
- package/dist/request/CommonRefreshTokenRequest.d.ts.map +1 -1
- package/dist/request/CommonSilentFlowRequest.d.ts +3 -3
- package/dist/request/CommonSilentFlowRequest.d.ts.map +1 -1
- package/dist/request/CommonUsernamePasswordRequest.d.ts +1 -1
- package/dist/request/CommonUsernamePasswordRequest.d.ts.map +1 -1
- package/dist/request/NativeRequest.d.ts +1 -1
- package/dist/request/NativeRequest.d.ts.map +1 -1
- package/dist/request/RequestParameterBuilder.d.ts +5 -5
- package/dist/request/RequestParameterBuilder.d.ts.map +1 -1
- package/dist/request/RequestParameterBuilder.mjs +1 -1
- package/dist/request/RequestValidator.mjs +1 -1
- package/dist/request/ScopeSet.mjs +1 -1
- package/dist/response/AuthenticationResult.d.ts +1 -1
- package/dist/response/AuthenticationResult.d.ts.map +1 -1
- package/dist/response/ExternalTokenResponse.d.ts +1 -1
- package/dist/response/ExternalTokenResponse.d.ts.map +1 -1
- package/dist/response/ResponseHandler.d.ts +16 -16
- package/dist/response/ResponseHandler.d.ts.map +1 -1
- package/dist/response/ResponseHandler.mjs +1 -1
- package/dist/response/ServerAuthorizationTokenResponse.d.ts +1 -1
- package/dist/response/ServerAuthorizationTokenResponse.d.ts.map +1 -1
- package/dist/telemetry/performance/IPerformanceClient.d.ts +2 -2
- package/dist/telemetry/performance/IPerformanceClient.d.ts.map +1 -1
- package/dist/telemetry/performance/PerformanceClient.d.ts +5 -5
- package/dist/telemetry/performance/PerformanceClient.d.ts.map +1 -1
- package/dist/telemetry/performance/PerformanceClient.mjs +1 -1
- package/dist/telemetry/performance/PerformanceEvent.d.ts +0 -4
- package/dist/telemetry/performance/PerformanceEvent.d.ts.map +1 -1
- package/dist/telemetry/performance/PerformanceEvent.mjs +1 -5
- package/dist/telemetry/performance/PerformanceEvent.mjs.map +1 -1
- package/dist/telemetry/performance/StubPerformanceClient.d.ts +3 -3
- package/dist/telemetry/performance/StubPerformanceClient.d.ts.map +1 -1
- package/dist/telemetry/performance/StubPerformanceClient.mjs +1 -1
- package/dist/telemetry/performance/StubPerformanceClient.mjs.map +1 -1
- package/dist/telemetry/server/ServerTelemetryManager.d.ts +5 -5
- package/dist/telemetry/server/ServerTelemetryManager.d.ts.map +1 -1
- package/dist/telemetry/server/ServerTelemetryManager.mjs +1 -1
- package/dist/url/UrlString.d.ts +1 -1
- package/dist/url/UrlString.d.ts.map +1 -1
- package/dist/url/UrlString.mjs +1 -1
- package/dist/utils/ClientAssertionUtils.d.ts +1 -1
- package/dist/utils/ClientAssertionUtils.d.ts.map +1 -1
- package/dist/utils/ClientAssertionUtils.mjs +1 -1
- package/dist/utils/Constants.mjs +1 -1
- package/dist/utils/FunctionWrappers.d.ts +2 -2
- package/dist/utils/FunctionWrappers.d.ts.map +1 -1
- package/dist/utils/FunctionWrappers.mjs +1 -1
- package/dist/utils/ProtocolUtils.d.ts +1 -1
- package/dist/utils/ProtocolUtils.d.ts.map +1 -1
- package/dist/utils/ProtocolUtils.mjs +1 -1
- package/dist/utils/StringUtils.mjs +1 -1
- package/dist/utils/TimeUtils.mjs +1 -1
- package/dist/utils/UrlUtils.d.ts +1 -1
- package/dist/utils/UrlUtils.d.ts.map +1 -1
- package/dist/utils/UrlUtils.mjs +1 -1
- package/lib/index-browser.cjs +838 -0
- package/lib/index-browser.cjs.map +1 -0
- package/{dist/index.cjs → lib/index-node-aee3f7b6.js} +39 -769
- package/lib/index-node-aee3f7b6.js.map +1 -0
- package/lib/index-node.cjs +103 -0
- package/lib/index-node.cjs.map +1 -0
- package/lib/index.cjs +111 -0
- package/lib/index.cjs.map +1 -0
- package/lib/package.json +1 -0
- package/lib/types/account/AccountInfo.d.ts +67 -0
- package/lib/types/account/AccountInfo.d.ts.map +1 -0
- package/lib/types/account/AuthToken.d.ts +18 -0
- package/lib/types/account/AuthToken.d.ts.map +1 -0
- package/lib/types/account/CcsCredential.d.ts +10 -0
- package/lib/types/account/CcsCredential.d.ts.map +1 -0
- package/lib/types/account/ClientCredentials.d.ts +20 -0
- package/lib/types/account/ClientCredentials.d.ts.map +1 -0
- package/lib/types/account/ClientInfo.d.ts +19 -0
- package/lib/types/account/ClientInfo.d.ts.map +1 -0
- package/lib/types/account/TokenClaims.d.ts +84 -0
- package/lib/types/account/TokenClaims.d.ts.map +1 -0
- package/lib/types/authority/Authority.d.ts +255 -0
- package/lib/types/authority/Authority.d.ts.map +1 -0
- package/lib/types/authority/AuthorityFactory.d.ts +19 -0
- package/lib/types/authority/AuthorityFactory.d.ts.map +1 -0
- package/lib/types/authority/AuthorityMetadata.d.ts +44 -0
- package/lib/types/authority/AuthorityMetadata.d.ts.map +1 -0
- package/lib/types/authority/AuthorityOptions.d.ts +28 -0
- package/lib/types/authority/AuthorityOptions.d.ts.map +1 -0
- package/lib/types/authority/AuthorityType.d.ts +11 -0
- package/lib/types/authority/AuthorityType.d.ts.map +1 -0
- package/lib/types/authority/AzureRegion.d.ts +2 -0
- package/lib/types/authority/AzureRegion.d.ts.map +1 -0
- package/lib/types/authority/AzureRegionConfiguration.d.ts +6 -0
- package/lib/types/authority/AzureRegionConfiguration.d.ts.map +1 -0
- package/lib/types/authority/CloudDiscoveryMetadata.d.ts +6 -0
- package/lib/types/authority/CloudDiscoveryMetadata.d.ts.map +1 -0
- package/lib/types/authority/CloudInstanceDiscoveryErrorResponse.d.ts +14 -0
- package/lib/types/authority/CloudInstanceDiscoveryErrorResponse.d.ts.map +1 -0
- package/lib/types/authority/CloudInstanceDiscoveryResponse.d.ts +10 -0
- package/lib/types/authority/CloudInstanceDiscoveryResponse.d.ts.map +1 -0
- package/lib/types/authority/ImdsOptions.d.ts +6 -0
- package/lib/types/authority/ImdsOptions.d.ts.map +1 -0
- package/lib/types/authority/OIDCOptions.d.ts +9 -0
- package/lib/types/authority/OIDCOptions.d.ts.map +1 -0
- package/lib/types/authority/OpenIdConfigResponse.d.ts +12 -0
- package/lib/types/authority/OpenIdConfigResponse.d.ts.map +1 -0
- package/lib/types/authority/ProtocolMode.d.ts +9 -0
- package/lib/types/authority/ProtocolMode.d.ts.map +1 -0
- package/lib/types/authority/RegionDiscovery.d.ts +33 -0
- package/lib/types/authority/RegionDiscovery.d.ts.map +1 -0
- package/lib/types/authority/RegionDiscoveryMetadata.d.ts +7 -0
- package/lib/types/authority/RegionDiscoveryMetadata.d.ts.map +1 -0
- package/lib/types/broker/nativeBroker/INativeBrokerPlugin.d.ts +16 -0
- package/lib/types/broker/nativeBroker/INativeBrokerPlugin.d.ts.map +1 -0
- package/lib/types/cache/CacheManager.d.ts +498 -0
- package/lib/types/cache/CacheManager.d.ts.map +1 -0
- package/lib/types/cache/entities/AccessTokenEntity.d.ts +26 -0
- package/lib/types/cache/entities/AccessTokenEntity.d.ts.map +1 -0
- package/lib/types/cache/entities/AccountEntity.d.ts +107 -0
- package/lib/types/cache/entities/AccountEntity.d.ts.map +1 -0
- package/lib/types/cache/entities/AppMetadataEntity.d.ts +12 -0
- package/lib/types/cache/entities/AppMetadataEntity.d.ts.map +1 -0
- package/lib/types/cache/entities/AuthorityMetadataEntity.d.ts +16 -0
- package/lib/types/cache/entities/AuthorityMetadataEntity.d.ts.map +1 -0
- package/lib/types/cache/entities/CacheRecord.d.ts +14 -0
- package/lib/types/cache/entities/CacheRecord.d.ts.map +1 -0
- package/lib/types/cache/entities/CredentialEntity.d.ts +31 -0
- package/lib/types/cache/entities/CredentialEntity.d.ts.map +1 -0
- package/lib/types/cache/entities/IdTokenEntity.d.ts +9 -0
- package/lib/types/cache/entities/IdTokenEntity.d.ts.map +1 -0
- package/lib/types/cache/entities/RefreshTokenEntity.d.ts +8 -0
- package/lib/types/cache/entities/RefreshTokenEntity.d.ts.map +1 -0
- package/lib/types/cache/entities/ServerTelemetryEntity.d.ts +7 -0
- package/lib/types/cache/entities/ServerTelemetryEntity.d.ts.map +1 -0
- package/lib/types/cache/entities/ThrottlingEntity.d.ts +8 -0
- package/lib/types/cache/entities/ThrottlingEntity.d.ts.map +1 -0
- package/lib/types/cache/interface/ICacheManager.d.ts +167 -0
- package/lib/types/cache/interface/ICacheManager.d.ts.map +1 -0
- package/lib/types/cache/interface/ICachePlugin.d.ts +6 -0
- package/lib/types/cache/interface/ICachePlugin.d.ts.map +1 -0
- package/lib/types/cache/interface/ISerializableTokenCache.d.ts +5 -0
- package/lib/types/cache/interface/ISerializableTokenCache.d.ts.map +1 -0
- package/lib/types/cache/persistence/TokenCacheContext.d.ts +24 -0
- package/lib/types/cache/persistence/TokenCacheContext.d.ts.map +1 -0
- package/lib/types/cache/utils/CacheHelpers.d.ts +95 -0
- package/lib/types/cache/utils/CacheHelpers.d.ts.map +1 -0
- package/lib/types/cache/utils/CacheTypes.d.ts +70 -0
- package/lib/types/cache/utils/CacheTypes.d.ts.map +1 -0
- package/lib/types/client/AuthorizationCodeClient.d.ts +76 -0
- package/lib/types/client/AuthorizationCodeClient.d.ts.map +1 -0
- package/lib/types/client/BaseClient.d.ts +52 -0
- package/lib/types/client/BaseClient.d.ts.map +1 -0
- package/lib/types/client/RefreshTokenClient.d.ts +36 -0
- package/lib/types/client/RefreshTokenClient.d.ts.map +1 -0
- package/lib/types/client/SilentFlowClient.d.ts +28 -0
- package/lib/types/client/SilentFlowClient.d.ts.map +1 -0
- package/lib/types/config/AppTokenProvider.d.ts +39 -0
- package/lib/types/config/AppTokenProvider.d.ts.map +1 -0
- package/lib/types/config/ClientConfiguration.d.ts +153 -0
- package/lib/types/config/ClientConfiguration.d.ts.map +1 -0
- package/lib/types/constants/AADServerParamKeys.d.ts +54 -0
- package/lib/types/constants/AADServerParamKeys.d.ts.map +1 -0
- package/lib/types/crypto/ICrypto.d.ts +69 -0
- package/lib/types/crypto/ICrypto.d.ts.map +1 -0
- package/lib/types/crypto/IGuidGenerator.d.ts +5 -0
- package/lib/types/crypto/IGuidGenerator.d.ts.map +1 -0
- package/lib/types/crypto/JoseHeader.d.ts +23 -0
- package/lib/types/crypto/JoseHeader.d.ts.map +1 -0
- package/lib/types/crypto/PopTokenGenerator.d.ts +60 -0
- package/lib/types/crypto/PopTokenGenerator.d.ts.map +1 -0
- package/lib/types/crypto/SignedHttpRequest.d.ts +16 -0
- package/lib/types/crypto/SignedHttpRequest.d.ts.map +1 -0
- package/lib/types/error/AuthError.d.ts +45 -0
- package/lib/types/error/AuthError.d.ts.map +1 -0
- package/lib/types/error/AuthErrorCodes.d.ts +6 -0
- package/lib/types/error/AuthErrorCodes.d.ts.map +1 -0
- package/lib/types/error/CacheError.d.ts +21 -0
- package/lib/types/error/CacheError.d.ts.map +1 -0
- package/lib/types/error/CacheErrorCodes.d.ts +3 -0
- package/lib/types/error/CacheErrorCodes.d.ts.map +1 -0
- package/lib/types/error/ClientAuthError.d.ts +238 -0
- package/lib/types/error/ClientAuthError.d.ts.map +1 -0
- package/lib/types/error/ClientAuthErrorCodes.d.ts +45 -0
- package/lib/types/error/ClientAuthErrorCodes.d.ts.map +1 -0
- package/lib/types/error/ClientConfigurationError.d.ts +129 -0
- package/lib/types/error/ClientConfigurationError.d.ts.map +1 -0
- package/lib/types/error/ClientConfigurationErrorCodes.d.ts +23 -0
- package/lib/types/error/ClientConfigurationErrorCodes.d.ts.map +1 -0
- package/lib/types/error/InteractionRequiredAuthError.d.ts +66 -0
- package/lib/types/error/InteractionRequiredAuthError.d.ts.map +1 -0
- package/lib/types/error/InteractionRequiredAuthErrorCodes.d.ts +8 -0
- package/lib/types/error/InteractionRequiredAuthErrorCodes.d.ts.map +1 -0
- package/lib/types/error/JoseHeaderError.d.ts +16 -0
- package/lib/types/error/JoseHeaderError.d.ts.map +1 -0
- package/lib/types/error/JoseHeaderErrorCodes.d.ts +3 -0
- package/lib/types/error/JoseHeaderErrorCodes.d.ts.map +1 -0
- package/lib/types/error/ServerError.d.ts +16 -0
- package/lib/types/error/ServerError.d.ts.map +1 -0
- package/lib/types/exports-browser-only.d.ts +10 -0
- package/lib/types/exports-browser-only.d.ts.map +1 -0
- package/lib/types/exports-common.d.ts +80 -0
- package/lib/types/exports-common.d.ts.map +1 -0
- package/lib/types/exports-node-only.d.ts +18 -0
- package/lib/types/exports-node-only.d.ts.map +1 -0
- package/lib/types/index-browser.d.ts +7 -0
- package/lib/types/index-browser.d.ts.map +1 -0
- package/lib/types/index-node.d.ts +7 -0
- package/lib/types/index-node.d.ts.map +1 -0
- package/lib/types/index.d.ts +12 -0
- package/lib/types/index.d.ts.map +1 -0
- package/lib/types/logger/Logger.d.ts +96 -0
- package/lib/types/logger/Logger.d.ts.map +1 -0
- package/lib/types/network/INetworkModule.d.ts +30 -0
- package/lib/types/network/INetworkModule.d.ts.map +1 -0
- package/lib/types/network/NetworkManager.d.ts +34 -0
- package/lib/types/network/NetworkManager.d.ts.map +1 -0
- package/lib/types/network/RequestThumbprint.d.ts +19 -0
- package/lib/types/network/RequestThumbprint.d.ts.map +1 -0
- package/lib/types/network/ThrottlingUtils.d.ts +43 -0
- package/lib/types/network/ThrottlingUtils.d.ts.map +1 -0
- package/lib/types/packageMetadata.d.ts +3 -0
- package/lib/types/packageMetadata.d.ts.map +1 -0
- package/lib/types/request/AuthenticationHeaderParser.d.ts +20 -0
- package/lib/types/request/AuthenticationHeaderParser.d.ts.map +1 -0
- package/lib/types/request/BaseAuthRequest.d.ts +48 -0
- package/lib/types/request/BaseAuthRequest.d.ts.map +1 -0
- package/lib/types/request/CommonAuthorizationCodeRequest.d.ts +28 -0
- package/lib/types/request/CommonAuthorizationCodeRequest.d.ts.map +1 -0
- package/lib/types/request/CommonAuthorizationUrlRequest.d.ts +51 -0
- package/lib/types/request/CommonAuthorizationUrlRequest.d.ts.map +1 -0
- package/lib/types/request/CommonClientCredentialRequest.d.ts +18 -0
- package/lib/types/request/CommonClientCredentialRequest.d.ts.map +1 -0
- package/lib/types/request/CommonDeviceCodeRequest.d.ts +22 -0
- package/lib/types/request/CommonDeviceCodeRequest.d.ts.map +1 -0
- package/lib/types/request/CommonEndSessionRequest.d.ts +22 -0
- package/lib/types/request/CommonEndSessionRequest.d.ts.map +1 -0
- package/lib/types/request/CommonOnBehalfOfRequest.d.ts +14 -0
- package/lib/types/request/CommonOnBehalfOfRequest.d.ts.map +1 -0
- package/lib/types/request/CommonRefreshTokenRequest.d.ts +23 -0
- package/lib/types/request/CommonRefreshTokenRequest.d.ts.map +1 -0
- package/lib/types/request/CommonSilentFlowRequest.d.ts +28 -0
- package/lib/types/request/CommonSilentFlowRequest.d.ts.map +1 -0
- package/lib/types/request/CommonUsernamePasswordRequest.d.ts +18 -0
- package/lib/types/request/CommonUsernamePasswordRequest.d.ts.map +1 -0
- package/lib/types/request/NativeRequest.d.ts +20 -0
- package/lib/types/request/NativeRequest.d.ts.map +1 -0
- package/lib/types/request/NativeSignOutRequest.d.ts +6 -0
- package/lib/types/request/NativeSignOutRequest.d.ts.map +1 -0
- package/lib/types/request/RequestParameterBuilder.d.ts +218 -0
- package/lib/types/request/RequestParameterBuilder.d.ts.map +1 -0
- package/lib/types/request/RequestValidator.d.ts +28 -0
- package/lib/types/request/RequestValidator.d.ts.map +1 -0
- package/lib/types/request/ScopeSet.d.ts +89 -0
- package/lib/types/request/ScopeSet.d.ts.map +1 -0
- package/lib/types/request/StoreInCache.d.ts +9 -0
- package/lib/types/request/StoreInCache.d.ts.map +1 -0
- package/lib/types/response/AuthenticationResult.d.ts +42 -0
- package/lib/types/response/AuthenticationResult.d.ts.map +1 -0
- package/lib/types/response/AuthorizationCodePayload.d.ts +14 -0
- package/lib/types/response/AuthorizationCodePayload.d.ts.map +1 -0
- package/lib/types/response/DeviceCodeResponse.d.ts +26 -0
- package/lib/types/response/DeviceCodeResponse.d.ts.map +1 -0
- package/lib/types/response/ExternalTokenResponse.d.ts +16 -0
- package/lib/types/response/ExternalTokenResponse.d.ts.map +1 -0
- package/lib/types/response/IMDSBadResponse.d.ts +5 -0
- package/lib/types/response/IMDSBadResponse.d.ts.map +1 -0
- package/lib/types/response/ResponseHandler.d.ts +70 -0
- package/lib/types/response/ResponseHandler.d.ts.map +1 -0
- package/lib/types/response/ServerAuthorizationCodeResponse.d.ts +27 -0
- package/lib/types/response/ServerAuthorizationCodeResponse.d.ts.map +1 -0
- package/lib/types/response/ServerAuthorizationTokenResponse.d.ts +48 -0
- package/lib/types/response/ServerAuthorizationTokenResponse.d.ts.map +1 -0
- package/lib/types/telemetry/performance/IPerformanceClient.d.ts +58 -0
- package/lib/types/telemetry/performance/IPerformanceClient.d.ts.map +1 -0
- package/lib/types/telemetry/performance/IPerformanceMeasurement.d.ts +6 -0
- package/lib/types/telemetry/performance/IPerformanceMeasurement.d.ts.map +1 -0
- package/lib/types/telemetry/performance/PerformanceClient.d.ts +243 -0
- package/lib/types/telemetry/performance/PerformanceClient.d.ts.map +1 -0
- package/lib/types/telemetry/performance/PerformanceEvent.d.ts +512 -0
- package/lib/types/telemetry/performance/PerformanceEvent.d.ts.map +1 -0
- package/lib/types/telemetry/performance/StubPerformanceClient.d.ts +25 -0
- package/lib/types/telemetry/performance/StubPerformanceClient.d.ts.map +1 -0
- package/lib/types/telemetry/server/ServerTelemetryManager.d.ts +79 -0
- package/lib/types/telemetry/server/ServerTelemetryManager.d.ts.map +1 -0
- package/lib/types/telemetry/server/ServerTelemetryRequest.d.ts +9 -0
- package/lib/types/telemetry/server/ServerTelemetryRequest.d.ts.map +1 -0
- package/lib/types/url/IUri.d.ts +13 -0
- package/lib/types/url/IUri.d.ts.map +1 -0
- package/lib/types/url/UrlString.d.ts +49 -0
- package/lib/types/url/UrlString.d.ts.map +1 -0
- package/lib/types/utils/ClientAssertionUtils.d.ts +3 -0
- package/lib/types/utils/ClientAssertionUtils.d.ts.map +1 -0
- package/lib/types/utils/Constants.d.ts +310 -0
- package/lib/types/utils/Constants.d.ts.map +1 -0
- package/lib/types/utils/FunctionWrappers.d.ts +28 -0
- package/lib/types/utils/FunctionWrappers.d.ts.map +1 -0
- package/lib/types/utils/MsalTypes.d.ts +7 -0
- package/lib/types/utils/MsalTypes.d.ts.map +1 -0
- package/lib/types/utils/ProtocolUtils.d.ts +43 -0
- package/lib/types/utils/ProtocolUtils.d.ts.map +1 -0
- package/lib/types/utils/StringUtils.d.ts +41 -0
- package/lib/types/utils/StringUtils.d.ts.map +1 -0
- package/lib/types/utils/TimeUtils.d.ts +26 -0
- package/lib/types/utils/TimeUtils.d.ts.map +1 -0
- package/lib/types/utils/UrlUtils.d.ts +11 -0
- package/lib/types/utils/UrlUtils.d.ts.map +1 -0
- package/node/README.md +1 -0
- package/node/package.json +5 -0
- package/package.json +37 -8
- package/src/account/AccountInfo.ts +1 -1
- package/src/account/AuthToken.ts +2 -2
- package/src/account/ClientInfo.ts +2 -2
- package/src/authority/Authority.ts +26 -26
- package/src/authority/AuthorityFactory.ts +9 -9
- package/src/authority/AuthorityMetadata.ts +7 -7
- package/src/authority/AuthorityOptions.ts +4 -4
- package/src/authority/AzureRegionConfiguration.ts +1 -1
- package/src/authority/CloudInstanceDiscoveryResponse.ts +1 -1
- package/src/authority/OIDCOptions.ts +1 -1
- package/src/authority/RegionDiscovery.ts +10 -10
- package/src/authority/RegionDiscoveryMetadata.ts +1 -1
- package/src/broker/nativeBroker/INativeBrokerPlugin.ts +5 -5
- package/src/cache/CacheManager.ts +28 -28
- package/src/cache/entities/AccessTokenEntity.ts +2 -2
- package/src/cache/entities/AccountEntity.ts +10 -10
- package/src/cache/entities/CacheRecord.ts +5 -5
- package/src/cache/entities/CredentialEntity.ts +1 -1
- package/src/cache/entities/IdTokenEntity.ts +1 -1
- package/src/cache/entities/RefreshTokenEntity.ts +1 -1
- package/src/cache/interface/ICacheManager.ts +12 -12
- package/src/cache/interface/ICachePlugin.ts +1 -1
- package/src/cache/persistence/TokenCacheContext.ts +1 -1
- package/src/cache/utils/CacheHelpers.ts +13 -13
- package/src/cache/utils/CacheTypes.ts +11 -11
- package/src/client/AuthorizationCodeClient.ts +51 -38
- package/src/client/BaseClient.ts +19 -19
- package/src/client/RefreshTokenClient.ts +29 -29
- package/src/client/SilentFlowClient.ts +17 -17
- package/src/config/ClientConfiguration.ts +18 -15
- package/src/crypto/ICrypto.ts +3 -3
- package/src/crypto/JoseHeader.ts +2 -2
- package/src/crypto/PopTokenGenerator.ts +7 -7
- package/src/crypto/SignedHttpRequest.ts +1 -1
- package/src/error/AuthError.ts +2 -2
- package/src/error/CacheError.ts +1 -1
- package/src/error/ClientAuthError.ts +2 -2
- package/src/error/ClientConfigurationError.ts +2 -2
- package/src/error/InteractionRequiredAuthError.ts +3 -3
- package/src/error/JoseHeaderError.ts +2 -2
- package/src/error/ServerError.ts +1 -1
- package/src/exports-browser-only.ts +29 -0
- package/src/exports-common.ts +192 -0
- package/src/exports-node-only.ts +35 -0
- package/src/index-browser.ts +11 -0
- package/src/index-node.ts +11 -0
- package/src/index.ts +7 -250
- package/src/logger/Logger.ts +2 -2
- package/src/network/INetworkModule.ts +2 -2
- package/src/network/NetworkManager.ts +7 -7
- package/src/network/RequestThumbprint.ts +2 -2
- package/src/network/ThrottlingUtils.ts +8 -8
- package/src/packageMetadata.ts +1 -1
- package/src/request/AuthenticationHeaderParser.ts +2 -2
- package/src/request/BaseAuthRequest.ts +5 -5
- package/src/request/CommonAuthorizationCodeRequest.ts +3 -3
- package/src/request/CommonAuthorizationUrlRequest.ts +4 -4
- package/src/request/CommonClientCredentialRequest.ts +3 -3
- package/src/request/CommonDeviceCodeRequest.ts +3 -3
- package/src/request/CommonEndSessionRequest.ts +2 -2
- package/src/request/CommonOnBehalfOfRequest.ts +1 -1
- package/src/request/CommonRefreshTokenRequest.ts +3 -3
- package/src/request/CommonSilentFlowRequest.ts +3 -3
- package/src/request/CommonUsernamePasswordRequest.ts +1 -1
- package/src/request/NativeRequest.ts +1 -1
- package/src/request/RequestParameterBuilder.ts +9 -9
- package/src/request/RequestValidator.ts +2 -2
- package/src/request/ScopeSet.ts +4 -4
- package/src/response/AuthenticationResult.ts +1 -1
- package/src/response/ExternalTokenResponse.ts +1 -1
- package/src/response/ResponseHandler.ts +31 -31
- package/src/response/ServerAuthorizationTokenResponse.ts +1 -1
- package/src/telemetry/performance/IPerformanceClient.ts +2 -2
- package/src/telemetry/performance/PerformanceClient.ts +10 -10
- package/src/telemetry/performance/PerformanceEvent.ts +0 -5
- package/src/telemetry/performance/StubPerformanceClient.ts +6 -3
- package/src/telemetry/server/ServerTelemetryManager.ts +6 -6
- package/src/url/UrlString.ts +5 -5
- package/src/utils/ClientAssertionUtils.ts +1 -1
- package/src/utils/FunctionWrappers.ts +2 -2
- package/src/utils/ProtocolUtils.ts +3 -3
- package/src/utils/UrlUtils.ts +2 -2
- package/dist/index.cjs.map +0 -1
package/src/account/AuthToken.ts
CHANGED
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
* Licensed under the MIT License.
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
-
import { TokenClaims } from "./TokenClaims";
|
|
6
|
+
import { TokenClaims } from "./TokenClaims.js";
|
|
7
7
|
import {
|
|
8
8
|
createClientAuthError,
|
|
9
9
|
ClientAuthErrorCodes,
|
|
10
|
-
} from "../error/ClientAuthError";
|
|
10
|
+
} from "../error/ClientAuthError.js";
|
|
11
11
|
|
|
12
12
|
/**
|
|
13
13
|
* Extract token by decoding the rawToken
|
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
import {
|
|
7
7
|
createClientAuthError,
|
|
8
8
|
ClientAuthErrorCodes,
|
|
9
|
-
} from "../error/ClientAuthError";
|
|
10
|
-
import { Separators, Constants } from "../utils/Constants";
|
|
9
|
+
} from "../error/ClientAuthError.js";
|
|
10
|
+
import { Separators, Constants } from "../utils/Constants.js";
|
|
11
11
|
|
|
12
12
|
/**
|
|
13
13
|
* Client info object which consists of two IDs. Need to add more info here.
|
|
@@ -3,61 +3,61 @@
|
|
|
3
3
|
* Licensed under the MIT License.
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
-
import { AuthorityType } from "./AuthorityType";
|
|
6
|
+
import { AuthorityType } from "./AuthorityType.js";
|
|
7
7
|
import {
|
|
8
8
|
isOpenIdConfigResponse,
|
|
9
9
|
OpenIdConfigResponse,
|
|
10
|
-
} from "./OpenIdConfigResponse";
|
|
11
|
-
import { UrlString } from "../url/UrlString";
|
|
12
|
-
import { IUri } from "../url/IUri";
|
|
10
|
+
} from "./OpenIdConfigResponse.js";
|
|
11
|
+
import { UrlString } from "../url/UrlString.js";
|
|
12
|
+
import { IUri } from "../url/IUri.js";
|
|
13
13
|
import {
|
|
14
14
|
createClientAuthError,
|
|
15
15
|
ClientAuthErrorCodes,
|
|
16
|
-
} from "../error/ClientAuthError";
|
|
17
|
-
import { INetworkModule } from "../network/INetworkModule";
|
|
16
|
+
} from "../error/ClientAuthError.js";
|
|
17
|
+
import { INetworkModule } from "../network/INetworkModule.js";
|
|
18
18
|
import {
|
|
19
19
|
AADAuthorityConstants,
|
|
20
20
|
AuthorityMetadataSource,
|
|
21
21
|
Constants,
|
|
22
22
|
RegionDiscoveryOutcomes,
|
|
23
|
-
} from "../utils/Constants";
|
|
23
|
+
} from "../utils/Constants.js";
|
|
24
24
|
import {
|
|
25
25
|
EndpointMetadata,
|
|
26
26
|
getCloudDiscoveryMetadataFromHardcodedValues,
|
|
27
27
|
getCloudDiscoveryMetadataFromNetworkResponse,
|
|
28
28
|
InstanceDiscoveryMetadataAliases,
|
|
29
|
-
} from "./AuthorityMetadata";
|
|
29
|
+
} from "./AuthorityMetadata.js";
|
|
30
30
|
import {
|
|
31
31
|
createClientConfigurationError,
|
|
32
32
|
ClientConfigurationErrorCodes,
|
|
33
|
-
} from "../error/ClientConfigurationError";
|
|
34
|
-
import { ProtocolMode } from "./ProtocolMode";
|
|
35
|
-
import { ICacheManager } from "../cache/interface/ICacheManager";
|
|
36
|
-
import { AuthorityMetadataEntity } from "../cache/entities/AuthorityMetadataEntity";
|
|
33
|
+
} from "../error/ClientConfigurationError.js";
|
|
34
|
+
import { ProtocolMode } from "./ProtocolMode.js";
|
|
35
|
+
import { ICacheManager } from "../cache/interface/ICacheManager.js";
|
|
36
|
+
import { AuthorityMetadataEntity } from "../cache/entities/AuthorityMetadataEntity.js";
|
|
37
37
|
import {
|
|
38
38
|
AuthorityOptions,
|
|
39
39
|
AzureCloudInstance,
|
|
40
40
|
StaticAuthorityOptions,
|
|
41
|
-
} from "./AuthorityOptions";
|
|
41
|
+
} from "./AuthorityOptions.js";
|
|
42
42
|
import {
|
|
43
43
|
CloudInstanceDiscoveryResponse,
|
|
44
44
|
isCloudInstanceDiscoveryResponse,
|
|
45
|
-
} from "./CloudInstanceDiscoveryResponse";
|
|
45
|
+
} from "./CloudInstanceDiscoveryResponse.js";
|
|
46
46
|
import {
|
|
47
47
|
CloudInstanceDiscoveryErrorResponse,
|
|
48
48
|
isCloudInstanceDiscoveryErrorResponse,
|
|
49
|
-
} from "./CloudInstanceDiscoveryErrorResponse";
|
|
50
|
-
import { CloudDiscoveryMetadata } from "./CloudDiscoveryMetadata";
|
|
51
|
-
import { RegionDiscovery } from "./RegionDiscovery";
|
|
52
|
-
import { RegionDiscoveryMetadata } from "./RegionDiscoveryMetadata";
|
|
53
|
-
import { ImdsOptions } from "./ImdsOptions";
|
|
54
|
-
import { AzureCloudOptions } from "../config/ClientConfiguration";
|
|
55
|
-
import { Logger } from "../logger/Logger";
|
|
56
|
-
import { AuthError } from "../error/AuthError";
|
|
57
|
-
import { IPerformanceClient } from "../telemetry/performance/IPerformanceClient";
|
|
58
|
-
import { PerformanceEvents } from "../telemetry/performance/PerformanceEvent";
|
|
59
|
-
import { invokeAsync } from "../utils/FunctionWrappers";
|
|
60
|
-
import * as CacheHelpers from "../cache/utils/CacheHelpers";
|
|
49
|
+
} from "./CloudInstanceDiscoveryErrorResponse.js";
|
|
50
|
+
import { CloudDiscoveryMetadata } from "./CloudDiscoveryMetadata.js";
|
|
51
|
+
import { RegionDiscovery } from "./RegionDiscovery.js";
|
|
52
|
+
import { RegionDiscoveryMetadata } from "./RegionDiscoveryMetadata.js";
|
|
53
|
+
import { ImdsOptions } from "./ImdsOptions.js";
|
|
54
|
+
import { AzureCloudOptions } from "../config/ClientConfiguration.js";
|
|
55
|
+
import { Logger } from "../logger/Logger.js";
|
|
56
|
+
import { AuthError } from "../error/AuthError.js";
|
|
57
|
+
import { IPerformanceClient } from "../telemetry/performance/IPerformanceClient.js";
|
|
58
|
+
import { PerformanceEvents } from "../telemetry/performance/PerformanceEvent.js";
|
|
59
|
+
import { invokeAsync } from "../utils/FunctionWrappers.js";
|
|
60
|
+
import * as CacheHelpers from "../cache/utils/CacheHelpers.js";
|
|
61
61
|
|
|
62
62
|
/**
|
|
63
63
|
* The authority class validates the authority URIs used by the user, and retrieves the OpenID Configuration Data from the
|
|
@@ -3,18 +3,18 @@
|
|
|
3
3
|
* Licensed under the MIT License.
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
-
import { Authority, formatAuthorityUri } from "./Authority";
|
|
7
|
-
import { INetworkModule } from "../network/INetworkModule";
|
|
6
|
+
import { Authority, formatAuthorityUri } from "./Authority.js";
|
|
7
|
+
import { INetworkModule } from "../network/INetworkModule.js";
|
|
8
8
|
import {
|
|
9
9
|
createClientAuthError,
|
|
10
10
|
ClientAuthErrorCodes,
|
|
11
|
-
} from "../error/ClientAuthError";
|
|
12
|
-
import { ICacheManager } from "../cache/interface/ICacheManager";
|
|
13
|
-
import { AuthorityOptions } from "./AuthorityOptions";
|
|
14
|
-
import { Logger } from "../logger/Logger";
|
|
15
|
-
import { IPerformanceClient } from "../telemetry/performance/IPerformanceClient";
|
|
16
|
-
import { PerformanceEvents } from "../telemetry/performance/PerformanceEvent";
|
|
17
|
-
import { invokeAsync } from "../utils/FunctionWrappers";
|
|
11
|
+
} from "../error/ClientAuthError.js";
|
|
12
|
+
import { ICacheManager } from "../cache/interface/ICacheManager.js";
|
|
13
|
+
import { AuthorityOptions } from "./AuthorityOptions.js";
|
|
14
|
+
import { Logger } from "../logger/Logger.js";
|
|
15
|
+
import { IPerformanceClient } from "../telemetry/performance/IPerformanceClient.js";
|
|
16
|
+
import { PerformanceEvents } from "../telemetry/performance/PerformanceEvent.js";
|
|
17
|
+
import { invokeAsync } from "../utils/FunctionWrappers.js";
|
|
18
18
|
|
|
19
19
|
/**
|
|
20
20
|
* Create an authority object of the correct type based on the url
|
|
@@ -3,13 +3,13 @@
|
|
|
3
3
|
* Licensed under the MIT License.
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
-
import { Logger } from "../logger/Logger";
|
|
7
|
-
import { UrlString } from "../url/UrlString";
|
|
8
|
-
import { AuthorityMetadataSource } from "../utils/Constants";
|
|
9
|
-
import { StaticAuthorityOptions } from "./AuthorityOptions";
|
|
10
|
-
import { CloudDiscoveryMetadata } from "./CloudDiscoveryMetadata";
|
|
11
|
-
import { CloudInstanceDiscoveryResponse } from "./CloudInstanceDiscoveryResponse";
|
|
12
|
-
import { OpenIdConfigResponse } from "./OpenIdConfigResponse";
|
|
6
|
+
import { Logger } from "../logger/Logger.js";
|
|
7
|
+
import { UrlString } from "../url/UrlString.js";
|
|
8
|
+
import { AuthorityMetadataSource } from "../utils/Constants.js";
|
|
9
|
+
import { StaticAuthorityOptions } from "./AuthorityOptions.js";
|
|
10
|
+
import { CloudDiscoveryMetadata } from "./CloudDiscoveryMetadata.js";
|
|
11
|
+
import { CloudInstanceDiscoveryResponse } from "./CloudInstanceDiscoveryResponse.js";
|
|
12
|
+
import { OpenIdConfigResponse } from "./OpenIdConfigResponse.js";
|
|
13
13
|
|
|
14
14
|
type RawMetadata = {
|
|
15
15
|
endpointMetadata: { [key: string]: OpenIdConfigResponse };
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
* Licensed under the MIT License.
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
-
import { ProtocolMode } from "./ProtocolMode";
|
|
7
|
-
import { OIDCOptions } from "./OIDCOptions";
|
|
8
|
-
import { AzureRegionConfiguration } from "./AzureRegionConfiguration";
|
|
9
|
-
import { CloudInstanceDiscoveryResponse } from "./CloudInstanceDiscoveryResponse";
|
|
6
|
+
import { ProtocolMode } from "./ProtocolMode.js";
|
|
7
|
+
import { OIDCOptions } from "./OIDCOptions.js";
|
|
8
|
+
import { AzureRegionConfiguration } from "./AzureRegionConfiguration.js";
|
|
9
|
+
import { CloudInstanceDiscoveryResponse } from "./CloudInstanceDiscoveryResponse.js";
|
|
10
10
|
|
|
11
11
|
export type AuthorityOptions = {
|
|
12
12
|
protocolMode: ProtocolMode;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Licensed under the MIT License.
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
-
import { CloudDiscoveryMetadata } from "./CloudDiscoveryMetadata";
|
|
6
|
+
import { CloudDiscoveryMetadata } from "./CloudDiscoveryMetadata.js";
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* The OpenID Configuration Endpoint Response type. Used by the authority class to get relevant OAuth endpoints.
|
|
@@ -3,20 +3,20 @@
|
|
|
3
3
|
* Licensed under the MIT License.
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
-
import { INetworkModule } from "../network/INetworkModule";
|
|
7
|
-
import { NetworkResponse } from "../network/NetworkManager";
|
|
8
|
-
import { IMDSBadResponse } from "../response/IMDSBadResponse";
|
|
6
|
+
import { INetworkModule } from "../network/INetworkModule.js";
|
|
7
|
+
import { NetworkResponse } from "../network/NetworkManager.js";
|
|
8
|
+
import { IMDSBadResponse } from "../response/IMDSBadResponse.js";
|
|
9
9
|
import {
|
|
10
10
|
Constants,
|
|
11
11
|
RegionDiscoverySources,
|
|
12
12
|
ResponseCodes,
|
|
13
|
-
} from "../utils/Constants";
|
|
14
|
-
import { RegionDiscoveryMetadata } from "./RegionDiscoveryMetadata";
|
|
15
|
-
import { ImdsOptions } from "./ImdsOptions";
|
|
16
|
-
import { IPerformanceClient } from "../telemetry/performance/IPerformanceClient";
|
|
17
|
-
import { PerformanceEvents } from "../telemetry/performance/PerformanceEvent";
|
|
18
|
-
import { invokeAsync } from "../utils/FunctionWrappers";
|
|
19
|
-
import { Logger } from "../logger/Logger";
|
|
13
|
+
} from "../utils/Constants.js";
|
|
14
|
+
import { RegionDiscoveryMetadata } from "./RegionDiscoveryMetadata.js";
|
|
15
|
+
import { ImdsOptions } from "./ImdsOptions.js";
|
|
16
|
+
import { IPerformanceClient } from "../telemetry/performance/IPerformanceClient.js";
|
|
17
|
+
import { PerformanceEvents } from "../telemetry/performance/PerformanceEvent.js";
|
|
18
|
+
import { invokeAsync } from "../utils/FunctionWrappers.js";
|
|
19
|
+
import { Logger } from "../logger/Logger.js";
|
|
20
20
|
|
|
21
21
|
export class RegionDiscovery {
|
|
22
22
|
// Network interface to make requests with.
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
* Licensed under the MIT License.
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
-
import { AccountInfo } from "../../account/AccountInfo";
|
|
7
|
-
import { LoggerOptions } from "../../config/ClientConfiguration";
|
|
8
|
-
import { NativeRequest } from "../../request/NativeRequest";
|
|
9
|
-
import { NativeSignOutRequest } from "../../request/NativeSignOutRequest";
|
|
10
|
-
import { AuthenticationResult } from "../../response/AuthenticationResult";
|
|
6
|
+
import { AccountInfo } from "../../account/AccountInfo.js";
|
|
7
|
+
import { LoggerOptions } from "../../config/ClientConfiguration.js";
|
|
8
|
+
import { NativeRequest } from "../../request/NativeRequest.js";
|
|
9
|
+
import { NativeSignOutRequest } from "../../request/NativeSignOutRequest.js";
|
|
10
|
+
import { AuthenticationResult } from "../../response/AuthenticationResult.js";
|
|
11
11
|
|
|
12
12
|
export interface INativeBrokerPlugin {
|
|
13
13
|
isBrokerAvailable: boolean;
|
|
@@ -11,8 +11,8 @@ import {
|
|
|
11
11
|
AppMetadataCache,
|
|
12
12
|
TokenKeys,
|
|
13
13
|
TenantProfileFilter,
|
|
14
|
-
} from "./utils/CacheTypes";
|
|
15
|
-
import { CacheRecord } from "./entities/CacheRecord";
|
|
14
|
+
} from "./utils/CacheTypes.js";
|
|
15
|
+
import { CacheRecord } from "./entities/CacheRecord.js";
|
|
16
16
|
import {
|
|
17
17
|
CredentialType,
|
|
18
18
|
APP_METADATA,
|
|
@@ -20,40 +20,40 @@ import {
|
|
|
20
20
|
AUTHORITY_METADATA_CONSTANTS,
|
|
21
21
|
AuthenticationScheme,
|
|
22
22
|
Separators,
|
|
23
|
-
} from "../utils/Constants";
|
|
24
|
-
import { CredentialEntity } from "./entities/CredentialEntity";
|
|
25
|
-
import { generateCredentialKey } from "./utils/CacheHelpers";
|
|
26
|
-
import { ScopeSet } from "../request/ScopeSet";
|
|
27
|
-
import { AccountEntity } from "./entities/AccountEntity";
|
|
28
|
-
import { AccessTokenEntity } from "./entities/AccessTokenEntity";
|
|
29
|
-
import { IdTokenEntity } from "./entities/IdTokenEntity";
|
|
30
|
-
import { RefreshTokenEntity } from "./entities/RefreshTokenEntity";
|
|
31
|
-
import { ICacheManager } from "./interface/ICacheManager";
|
|
23
|
+
} from "../utils/Constants.js";
|
|
24
|
+
import { CredentialEntity } from "./entities/CredentialEntity.js";
|
|
25
|
+
import { generateCredentialKey } from "./utils/CacheHelpers.js";
|
|
26
|
+
import { ScopeSet } from "../request/ScopeSet.js";
|
|
27
|
+
import { AccountEntity } from "./entities/AccountEntity.js";
|
|
28
|
+
import { AccessTokenEntity } from "./entities/AccessTokenEntity.js";
|
|
29
|
+
import { IdTokenEntity } from "./entities/IdTokenEntity.js";
|
|
30
|
+
import { RefreshTokenEntity } from "./entities/RefreshTokenEntity.js";
|
|
31
|
+
import { ICacheManager } from "./interface/ICacheManager.js";
|
|
32
32
|
import {
|
|
33
33
|
createClientAuthError,
|
|
34
34
|
ClientAuthErrorCodes,
|
|
35
|
-
} from "../error/ClientAuthError";
|
|
35
|
+
} from "../error/ClientAuthError.js";
|
|
36
36
|
import {
|
|
37
37
|
AccountInfo,
|
|
38
38
|
TenantProfile,
|
|
39
39
|
tenantIdMatchesHomeTenant,
|
|
40
40
|
updateAccountTenantProfileData,
|
|
41
|
-
} from "../account/AccountInfo";
|
|
42
|
-
import { AppMetadataEntity } from "./entities/AppMetadataEntity";
|
|
43
|
-
import { ServerTelemetryEntity } from "./entities/ServerTelemetryEntity";
|
|
44
|
-
import { ThrottlingEntity } from "./entities/ThrottlingEntity";
|
|
45
|
-
import { extractTokenClaims } from "../account/AuthToken";
|
|
46
|
-
import { ICrypto } from "../crypto/ICrypto";
|
|
47
|
-
import { AuthorityMetadataEntity } from "./entities/AuthorityMetadataEntity";
|
|
48
|
-
import { BaseAuthRequest } from "../request/BaseAuthRequest";
|
|
49
|
-
import { Logger } from "../logger/Logger";
|
|
50
|
-
import { name, version } from "../packageMetadata";
|
|
51
|
-
import { StoreInCache } from "../request/StoreInCache";
|
|
52
|
-
import { getAliasesFromStaticSources } from "../authority/AuthorityMetadata";
|
|
53
|
-
import { StaticAuthorityOptions } from "../authority/AuthorityOptions";
|
|
54
|
-
import { TokenClaims } from "../account/TokenClaims";
|
|
55
|
-
import { IPerformanceClient } from "../telemetry/performance/IPerformanceClient";
|
|
56
|
-
import { CacheError, CacheErrorCodes } from "../error/CacheError";
|
|
41
|
+
} from "../account/AccountInfo.js";
|
|
42
|
+
import { AppMetadataEntity } from "./entities/AppMetadataEntity.js";
|
|
43
|
+
import { ServerTelemetryEntity } from "./entities/ServerTelemetryEntity.js";
|
|
44
|
+
import { ThrottlingEntity } from "./entities/ThrottlingEntity.js";
|
|
45
|
+
import { extractTokenClaims } from "../account/AuthToken.js";
|
|
46
|
+
import { ICrypto } from "../crypto/ICrypto.js";
|
|
47
|
+
import { AuthorityMetadataEntity } from "./entities/AuthorityMetadataEntity.js";
|
|
48
|
+
import { BaseAuthRequest } from "../request/BaseAuthRequest.js";
|
|
49
|
+
import { Logger } from "../logger/Logger.js";
|
|
50
|
+
import { name, version } from "../packageMetadata.js";
|
|
51
|
+
import { StoreInCache } from "../request/StoreInCache.js";
|
|
52
|
+
import { getAliasesFromStaticSources } from "../authority/AuthorityMetadata.js";
|
|
53
|
+
import { StaticAuthorityOptions } from "../authority/AuthorityOptions.js";
|
|
54
|
+
import { TokenClaims } from "../account/TokenClaims.js";
|
|
55
|
+
import { IPerformanceClient } from "../telemetry/performance/IPerformanceClient.js";
|
|
56
|
+
import { CacheError, CacheErrorCodes } from "../error/CacheError.js";
|
|
57
57
|
|
|
58
58
|
/**
|
|
59
59
|
* Interface class which implement cache storage functions used by MSAL to perform validity checks, and store tokens.
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
* Licensed under the MIT License.
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
-
import { CredentialEntity } from "./CredentialEntity";
|
|
7
|
-
import { AuthenticationScheme } from "../../utils/Constants";
|
|
6
|
+
import { CredentialEntity } from "./CredentialEntity.js";
|
|
7
|
+
import { AuthenticationScheme } from "../../utils/Constants.js";
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* Access token cache type
|
|
@@ -3,26 +3,26 @@
|
|
|
3
3
|
* Licensed under the MIT License.
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
-
import { CacheAccountType, Separators } from "../../utils/Constants";
|
|
7
|
-
import { Authority } from "../../authority/Authority";
|
|
8
|
-
import { ICrypto } from "../../crypto/ICrypto";
|
|
9
|
-
import { ClientInfo, buildClientInfo } from "../../account/ClientInfo";
|
|
6
|
+
import { CacheAccountType, Separators } from "../../utils/Constants.js";
|
|
7
|
+
import { Authority } from "../../authority/Authority.js";
|
|
8
|
+
import { ICrypto } from "../../crypto/ICrypto.js";
|
|
9
|
+
import { ClientInfo, buildClientInfo } from "../../account/ClientInfo.js";
|
|
10
10
|
import {
|
|
11
11
|
AccountInfo,
|
|
12
12
|
TenantProfile,
|
|
13
13
|
buildTenantProfile,
|
|
14
|
-
} from "../../account/AccountInfo";
|
|
14
|
+
} from "../../account/AccountInfo.js";
|
|
15
15
|
import {
|
|
16
16
|
createClientAuthError,
|
|
17
17
|
ClientAuthErrorCodes,
|
|
18
|
-
} from "../../error/ClientAuthError";
|
|
19
|
-
import { AuthorityType } from "../../authority/AuthorityType";
|
|
20
|
-
import { Logger } from "../../logger/Logger";
|
|
18
|
+
} from "../../error/ClientAuthError.js";
|
|
19
|
+
import { AuthorityType } from "../../authority/AuthorityType.js";
|
|
20
|
+
import { Logger } from "../../logger/Logger.js";
|
|
21
21
|
import {
|
|
22
22
|
TokenClaims,
|
|
23
23
|
getTenantIdFromIdTokenClaims,
|
|
24
|
-
} from "../../account/TokenClaims";
|
|
25
|
-
import { ProtocolMode } from "../../authority/ProtocolMode";
|
|
24
|
+
} from "../../account/TokenClaims.js";
|
|
25
|
+
import { ProtocolMode } from "../../authority/ProtocolMode.js";
|
|
26
26
|
|
|
27
27
|
/**
|
|
28
28
|
* Type that defines required and optional parameters for an Account field (based on universal cache schema implemented by all MSALs).
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
* Licensed under the MIT License.
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
-
import { IdTokenEntity } from "./IdTokenEntity";
|
|
7
|
-
import { AccessTokenEntity } from "./AccessTokenEntity";
|
|
8
|
-
import { RefreshTokenEntity } from "./RefreshTokenEntity";
|
|
9
|
-
import { AccountEntity } from "./AccountEntity";
|
|
10
|
-
import { AppMetadataEntity } from "./AppMetadataEntity";
|
|
6
|
+
import { IdTokenEntity } from "./IdTokenEntity.js";
|
|
7
|
+
import { AccessTokenEntity } from "./AccessTokenEntity.js";
|
|
8
|
+
import { RefreshTokenEntity } from "./RefreshTokenEntity.js";
|
|
9
|
+
import { AccountEntity } from "./AccountEntity.js";
|
|
10
|
+
import { AppMetadataEntity } from "./AppMetadataEntity.js";
|
|
11
11
|
|
|
12
12
|
/** @internal */
|
|
13
13
|
export type CacheRecord = {
|
|
@@ -3,18 +3,18 @@
|
|
|
3
3
|
* Licensed under the MIT License.
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
-
import { AccountFilter } from "../utils/CacheTypes";
|
|
7
|
-
import { CacheRecord } from "../entities/CacheRecord";
|
|
8
|
-
import { AccountEntity } from "../entities/AccountEntity";
|
|
9
|
-
import { AccountInfo } from "../../account/AccountInfo";
|
|
10
|
-
import { AppMetadataEntity } from "../entities/AppMetadataEntity";
|
|
11
|
-
import { ServerTelemetryEntity } from "../entities/ServerTelemetryEntity";
|
|
12
|
-
import { ThrottlingEntity } from "../entities/ThrottlingEntity";
|
|
13
|
-
import { IdTokenEntity } from "../entities/IdTokenEntity";
|
|
14
|
-
import { AccessTokenEntity } from "../entities/AccessTokenEntity";
|
|
15
|
-
import { RefreshTokenEntity } from "../entities/RefreshTokenEntity";
|
|
16
|
-
import { AuthorityMetadataEntity } from "../entities/AuthorityMetadataEntity";
|
|
17
|
-
import { StoreInCache } from "../../request/StoreInCache";
|
|
6
|
+
import { AccountFilter } from "../utils/CacheTypes.js";
|
|
7
|
+
import { CacheRecord } from "../entities/CacheRecord.js";
|
|
8
|
+
import { AccountEntity } from "../entities/AccountEntity.js";
|
|
9
|
+
import { AccountInfo } from "../../account/AccountInfo.js";
|
|
10
|
+
import { AppMetadataEntity } from "../entities/AppMetadataEntity.js";
|
|
11
|
+
import { ServerTelemetryEntity } from "../entities/ServerTelemetryEntity.js";
|
|
12
|
+
import { ThrottlingEntity } from "../entities/ThrottlingEntity.js";
|
|
13
|
+
import { IdTokenEntity } from "../entities/IdTokenEntity.js";
|
|
14
|
+
import { AccessTokenEntity } from "../entities/AccessTokenEntity.js";
|
|
15
|
+
import { RefreshTokenEntity } from "../entities/RefreshTokenEntity.js";
|
|
16
|
+
import { AuthorityMetadataEntity } from "../entities/AuthorityMetadataEntity.js";
|
|
17
|
+
import { StoreInCache } from "../../request/StoreInCache.js";
|
|
18
18
|
|
|
19
19
|
export interface ICacheManager {
|
|
20
20
|
/**
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Licensed under the MIT License.
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
-
import { TokenCacheContext } from "../persistence/TokenCacheContext";
|
|
6
|
+
import { TokenCacheContext } from "../persistence/TokenCacheContext.js";
|
|
7
7
|
|
|
8
8
|
export interface ICachePlugin {
|
|
9
9
|
beforeCacheAccess: (tokenCacheContext: TokenCacheContext) => Promise<void>;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Licensed under the MIT License.
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
-
import { ISerializableTokenCache } from "../interface/ISerializableTokenCache";
|
|
6
|
+
import { ISerializableTokenCache } from "../interface/ISerializableTokenCache.js";
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* This class instance helps track the memory changes facilitating
|
|
@@ -3,14 +3,14 @@
|
|
|
3
3
|
* Licensed under the MIT License.
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
-
import { extractTokenClaims } from "../../account/AuthToken";
|
|
7
|
-
import { TokenClaims } from "../../account/TokenClaims";
|
|
8
|
-
import { CloudDiscoveryMetadata } from "../../authority/CloudDiscoveryMetadata";
|
|
9
|
-
import { OpenIdConfigResponse } from "../../authority/OpenIdConfigResponse";
|
|
6
|
+
import { extractTokenClaims } from "../../account/AuthToken.js";
|
|
7
|
+
import { TokenClaims } from "../../account/TokenClaims.js";
|
|
8
|
+
import { CloudDiscoveryMetadata } from "../../authority/CloudDiscoveryMetadata.js";
|
|
9
|
+
import { OpenIdConfigResponse } from "../../authority/OpenIdConfigResponse.js";
|
|
10
10
|
import {
|
|
11
11
|
ClientAuthErrorCodes,
|
|
12
12
|
createClientAuthError,
|
|
13
|
-
} from "../../error/ClientAuthError";
|
|
13
|
+
} from "../../error/ClientAuthError.js";
|
|
14
14
|
import {
|
|
15
15
|
APP_METADATA,
|
|
16
16
|
AUTHORITY_METADATA_CONSTANTS,
|
|
@@ -19,14 +19,14 @@ import {
|
|
|
19
19
|
SERVER_TELEM_CONSTANTS,
|
|
20
20
|
Separators,
|
|
21
21
|
ThrottlingConstants,
|
|
22
|
-
} from "../../utils/Constants";
|
|
23
|
-
import * as TimeUtils from "../../utils/TimeUtils";
|
|
24
|
-
import { AccessTokenEntity } from "../entities/AccessTokenEntity";
|
|
25
|
-
import { AppMetadataEntity } from "../entities/AppMetadataEntity";
|
|
26
|
-
import { AuthorityMetadataEntity } from "../entities/AuthorityMetadataEntity";
|
|
27
|
-
import { CredentialEntity } from "../entities/CredentialEntity";
|
|
28
|
-
import { IdTokenEntity } from "../entities/IdTokenEntity";
|
|
29
|
-
import { RefreshTokenEntity } from "../entities/RefreshTokenEntity";
|
|
22
|
+
} from "../../utils/Constants.js";
|
|
23
|
+
import * as TimeUtils from "../../utils/TimeUtils.js";
|
|
24
|
+
import { AccessTokenEntity } from "../entities/AccessTokenEntity.js";
|
|
25
|
+
import { AppMetadataEntity } from "../entities/AppMetadataEntity.js";
|
|
26
|
+
import { AuthorityMetadataEntity } from "../entities/AuthorityMetadataEntity.js";
|
|
27
|
+
import { CredentialEntity } from "../entities/CredentialEntity.js";
|
|
28
|
+
import { IdTokenEntity } from "../entities/IdTokenEntity.js";
|
|
29
|
+
import { RefreshTokenEntity } from "../entities/RefreshTokenEntity.js";
|
|
30
30
|
|
|
31
31
|
/**
|
|
32
32
|
* Cache Key: <home_account_id>-<environment>-<credential_type>-<client_id or familyId>-<realm>-<scopes>-<claims hash>-<scheme>
|
|
@@ -3,17 +3,17 @@
|
|
|
3
3
|
* Licensed under the MIT License.
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
-
import { AccountEntity } from "../entities/AccountEntity";
|
|
7
|
-
import { IdTokenEntity } from "../entities/IdTokenEntity";
|
|
8
|
-
import { AccessTokenEntity } from "../entities/AccessTokenEntity";
|
|
9
|
-
import { RefreshTokenEntity } from "../entities/RefreshTokenEntity";
|
|
10
|
-
import { AppMetadataEntity } from "../entities/AppMetadataEntity";
|
|
11
|
-
import { ServerTelemetryEntity } from "../entities/ServerTelemetryEntity";
|
|
12
|
-
import { ThrottlingEntity } from "../entities/ThrottlingEntity";
|
|
13
|
-
import { AuthorityMetadataEntity } from "../entities/AuthorityMetadataEntity";
|
|
14
|
-
import { AuthenticationScheme } from "../../utils/Constants";
|
|
15
|
-
import { ScopeSet } from "../../request/ScopeSet";
|
|
16
|
-
import { AccountInfo } from "../../account/AccountInfo";
|
|
6
|
+
import { AccountEntity } from "../entities/AccountEntity.js";
|
|
7
|
+
import { IdTokenEntity } from "../entities/IdTokenEntity.js";
|
|
8
|
+
import { AccessTokenEntity } from "../entities/AccessTokenEntity.js";
|
|
9
|
+
import { RefreshTokenEntity } from "../entities/RefreshTokenEntity.js";
|
|
10
|
+
import { AppMetadataEntity } from "../entities/AppMetadataEntity.js";
|
|
11
|
+
import { ServerTelemetryEntity } from "../entities/ServerTelemetryEntity.js";
|
|
12
|
+
import { ThrottlingEntity } from "../entities/ThrottlingEntity.js";
|
|
13
|
+
import { AuthorityMetadataEntity } from "../entities/AuthorityMetadataEntity.js";
|
|
14
|
+
import { AuthenticationScheme } from "../../utils/Constants.js";
|
|
15
|
+
import { ScopeSet } from "../../request/ScopeSet.js";
|
|
16
|
+
import { AccountInfo } from "../../account/AccountInfo.js";
|
|
17
17
|
|
|
18
18
|
/** @internal */
|
|
19
19
|
export type AccountCache = Record<string, AccountEntity>;
|