@azure/msal-common 15.13.3 → 16.0.0-beta.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/dist/account/AccountInfo.d.ts +0 -1
- package/dist/account/AccountInfo.d.ts.map +1 -1
- package/dist/account/AccountInfo.mjs +1 -1
- package/dist/account/AccountInfo.mjs.map +1 -1
- package/dist/account/AuthToken.d.ts.map +1 -1
- package/dist/account/AuthToken.mjs +2 -3
- package/dist/account/AuthToken.mjs.map +1 -1
- package/dist/account/CcsCredential.mjs +1 -1
- package/dist/account/ClientInfo.d.ts.map +1 -1
- package/dist/account/ClientInfo.mjs +4 -6
- package/dist/account/ClientInfo.mjs.map +1 -1
- package/dist/account/TokenClaims.mjs +1 -1
- package/dist/authority/Authority.d.ts +2 -2
- package/dist/authority/Authority.d.ts.map +1 -1
- package/dist/authority/Authority.mjs +89 -105
- package/dist/authority/Authority.mjs.map +1 -1
- package/dist/authority/AuthorityFactory.d.ts +6 -2
- package/dist/authority/AuthorityFactory.d.ts.map +1 -1
- package/dist/authority/AuthorityFactory.mjs +8 -5
- package/dist/authority/AuthorityFactory.mjs.map +1 -1
- package/dist/authority/AuthorityMetadata.d.ts +2 -2
- package/dist/authority/AuthorityMetadata.d.ts.map +1 -1
- package/dist/authority/AuthorityMetadata.mjs +34 -31
- package/dist/authority/AuthorityMetadata.mjs.map +1 -1
- package/dist/authority/AuthorityOptions.d.ts +0 -1
- package/dist/authority/AuthorityOptions.d.ts.map +1 -1
- package/dist/authority/AuthorityOptions.mjs +1 -1
- package/dist/authority/AuthorityOptions.mjs.map +1 -1
- package/dist/authority/AuthorityType.mjs +1 -1
- package/dist/authority/CloudInstanceDiscoveryErrorResponse.mjs +1 -1
- package/dist/authority/CloudInstanceDiscoveryResponse.mjs +1 -1
- package/dist/authority/OIDCOptions.d.ts +2 -2
- 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 +3 -3
- package/dist/authority/RegionDiscovery.d.ts.map +1 -1
- package/dist/authority/RegionDiscovery.mjs +14 -15
- package/dist/authority/RegionDiscovery.mjs.map +1 -1
- package/dist/cache/CacheManager.d.ts +26 -19
- package/dist/cache/CacheManager.d.ts.map +1 -1
- package/dist/cache/CacheManager.mjs +70 -83
- package/dist/cache/CacheManager.mjs.map +1 -1
- package/dist/cache/entities/AccessTokenEntity.d.ts +0 -4
- package/dist/cache/entities/AccessTokenEntity.d.ts.map +1 -1
- package/dist/cache/entities/AccountEntity.d.ts +4 -56
- package/dist/cache/entities/AccountEntity.d.ts.map +1 -1
- package/dist/cache/entities/CredentialEntity.d.ts +0 -2
- package/dist/cache/entities/CredentialEntity.d.ts.map +1 -1
- package/dist/cache/interface/ICacheManager.d.ts +35 -17
- package/dist/cache/interface/ICacheManager.d.ts.map +1 -1
- package/dist/cache/persistence/TokenCacheContext.mjs +1 -1
- package/dist/cache/utils/AccountEntityUtils.d.ts +53 -0
- package/dist/cache/utils/AccountEntityUtils.d.ts.map +1 -0
- package/dist/cache/utils/AccountEntityUtils.mjs +192 -0
- package/dist/cache/utils/AccountEntityUtils.mjs.map +1 -0
- package/dist/cache/utils/CacheHelpers.d.ts +2 -2
- package/dist/cache/utils/CacheHelpers.d.ts.map +1 -1
- package/dist/cache/utils/CacheHelpers.mjs +10 -13
- package/dist/cache/utils/CacheHelpers.mjs.map +1 -1
- package/dist/cache/utils/CacheTypes.d.ts +0 -1
- package/dist/cache/utils/CacheTypes.d.ts.map +1 -1
- package/dist/client/AuthorizationCodeClient.d.ts +23 -4
- package/dist/client/AuthorizationCodeClient.d.ts.map +1 -1
- package/dist/client/AuthorizationCodeClient.mjs +63 -35
- package/dist/client/AuthorizationCodeClient.mjs.map +1 -1
- package/dist/client/RefreshTokenClient.d.ts +17 -4
- package/dist/client/RefreshTokenClient.d.ts.map +1 -1
- package/dist/client/RefreshTokenClient.mjs +51 -37
- package/dist/client/RefreshTokenClient.mjs.map +1 -1
- package/dist/client/SilentFlowClient.d.ts +17 -4
- package/dist/client/SilentFlowClient.d.ts.map +1 -1
- package/dist/client/SilentFlowClient.mjs +28 -15
- package/dist/client/SilentFlowClient.mjs.map +1 -1
- package/dist/config/ClientConfiguration.d.ts +2 -22
- package/dist/config/ClientConfiguration.d.ts.map +1 -1
- package/dist/config/ClientConfiguration.mjs +9 -15
- package/dist/config/ClientConfiguration.mjs.map +1 -1
- package/dist/constants/AADServerParamKeys.mjs +1 -1
- package/dist/crypto/ICrypto.d.ts +5 -3
- package/dist/crypto/ICrypto.d.ts.map +1 -1
- package/dist/crypto/ICrypto.mjs +1 -1
- package/dist/crypto/ICrypto.mjs.map +1 -1
- package/dist/crypto/JoseHeader.mjs +1 -1
- package/dist/crypto/PopTokenGenerator.d.ts +2 -2
- package/dist/crypto/PopTokenGenerator.d.ts.map +1 -1
- package/dist/crypto/PopTokenGenerator.mjs +3 -5
- package/dist/crypto/PopTokenGenerator.mjs.map +1 -1
- package/dist/error/AuthError.d.ts +1 -18
- package/dist/error/AuthError.d.ts.map +1 -1
- package/dist/error/AuthError.mjs +12 -34
- package/dist/error/AuthError.mjs.map +1 -1
- package/dist/error/AuthErrorCodes.mjs +1 -1
- package/dist/error/CacheError.d.ts +1 -6
- package/dist/error/CacheError.d.ts.map +1 -1
- package/dist/error/CacheError.mjs +6 -13
- package/dist/error/CacheError.mjs.map +1 -1
- package/dist/error/CacheErrorCodes.mjs +1 -1
- package/dist/error/ClientAuthError.d.ts +0 -229
- package/dist/error/ClientAuthError.d.ts.map +1 -1
- package/dist/error/ClientAuthError.mjs +3 -240
- package/dist/error/ClientAuthError.mjs.map +1 -1
- package/dist/error/ClientAuthErrorCodes.d.ts +0 -8
- package/dist/error/ClientAuthErrorCodes.d.ts.map +1 -1
- package/dist/error/ClientAuthErrorCodes.mjs +2 -10
- package/dist/error/ClientAuthErrorCodes.mjs.map +1 -1
- package/dist/error/ClientConfigurationError.d.ts +0 -128
- package/dist/error/ClientConfigurationError.d.ts.map +1 -1
- package/dist/error/ClientConfigurationError.mjs +3 -134
- package/dist/error/ClientConfigurationError.mjs.map +1 -1
- package/dist/error/ClientConfigurationErrorCodes.d.ts +0 -2
- package/dist/error/ClientConfigurationErrorCodes.d.ts.map +1 -1
- package/dist/error/ClientConfigurationErrorCodes.mjs +3 -5
- package/dist/error/ClientConfigurationErrorCodes.mjs.map +1 -1
- package/dist/error/InteractionRequiredAuthError.d.ts +1 -19
- package/dist/error/InteractionRequiredAuthError.d.ts.map +1 -1
- package/dist/error/InteractionRequiredAuthError.mjs +10 -35
- package/dist/error/InteractionRequiredAuthError.mjs.map +1 -1
- package/dist/error/InteractionRequiredAuthErrorCodes.mjs +1 -1
- package/dist/error/JoseHeaderError.d.ts +0 -4
- package/dist/error/JoseHeaderError.d.ts.map +1 -1
- package/dist/error/JoseHeaderError.mjs +3 -8
- package/dist/error/JoseHeaderError.mjs.map +1 -1
- package/dist/error/JoseHeaderErrorCodes.mjs +1 -1
- package/dist/error/NetworkError.mjs +1 -1
- package/dist/error/PlatformBrokerError.d.ts.map +1 -1
- package/dist/error/PlatformBrokerError.mjs +3 -2
- package/dist/error/PlatformBrokerError.mjs.map +1 -1
- package/dist/error/ServerError.mjs +1 -1
- package/dist/exports-browser-only.d.ts +4 -3
- package/dist/exports-browser-only.d.ts.map +1 -1
- package/dist/exports-common.d.ts +11 -8
- package/dist/exports-common.d.ts.map +1 -1
- package/dist/exports-node-only.d.ts +2 -4
- package/dist/exports-node-only.d.ts.map +1 -1
- package/dist/index-node.mjs +15 -10
- package/dist/index-node.mjs.map +1 -1
- package/dist/index.mjs +17 -11
- package/dist/index.mjs.map +1 -1
- package/dist/logger/Logger.d.ts +36 -13
- package/dist/logger/Logger.d.ts.map +1 -1
- package/dist/logger/Logger.mjs +105 -22
- package/dist/logger/Logger.mjs.map +1 -1
- package/dist/network/INetworkModule.mjs +1 -1
- package/dist/network/RequestThumbprint.mjs +2 -2
- package/dist/network/RequestThumbprint.mjs.map +1 -1
- package/dist/network/ThrottlingUtils.d.ts.map +1 -1
- package/dist/network/ThrottlingUtils.mjs +6 -7
- package/dist/network/ThrottlingUtils.mjs.map +1 -1
- package/dist/packageMetadata.d.ts +1 -1
- package/dist/packageMetadata.d.ts.map +1 -1
- package/dist/packageMetadata.mjs +2 -2
- package/dist/protocol/Authorize.d.ts +1 -2
- package/dist/protocol/Authorize.d.ts.map +1 -1
- package/dist/protocol/Authorize.mjs +14 -14
- package/dist/protocol/Authorize.mjs.map +1 -1
- package/dist/protocol/Token.d.ts +40 -0
- package/dist/protocol/Token.d.ts.map +1 -0
- package/dist/protocol/Token.mjs +129 -0
- package/dist/protocol/Token.mjs.map +1 -0
- package/dist/request/AuthenticationHeaderParser.d.ts.map +1 -1
- package/dist/request/AuthenticationHeaderParser.mjs +3 -3
- package/dist/request/AuthenticationHeaderParser.mjs.map +1 -1
- package/dist/request/BaseAuthRequest.d.ts +4 -8
- package/dist/request/BaseAuthRequest.d.ts.map +1 -1
- package/dist/request/CommonAuthorizationCodeRequest.d.ts +2 -1
- package/dist/request/CommonAuthorizationCodeRequest.d.ts.map +1 -1
- package/dist/request/CommonAuthorizationUrlRequest.d.ts +2 -4
- package/dist/request/CommonAuthorizationUrlRequest.d.ts.map +1 -1
- package/dist/request/CommonRefreshTokenRequest.d.ts +2 -1
- package/dist/request/CommonRefreshTokenRequest.d.ts.map +1 -1
- package/dist/request/CommonSilentFlowRequest.d.ts +2 -1
- package/dist/request/CommonSilentFlowRequest.d.ts.map +1 -1
- package/dist/request/RequestParameterBuilder.d.ts +6 -12
- package/dist/request/RequestParameterBuilder.d.ts.map +1 -1
- package/dist/request/RequestParameterBuilder.mjs +11 -24
- package/dist/request/RequestParameterBuilder.mjs.map +1 -1
- package/dist/request/ScopeSet.mjs +5 -5
- package/dist/request/ScopeSet.mjs.map +1 -1
- package/dist/response/AuthenticationResult.d.ts +1 -1
- package/dist/response/AuthenticationResult.d.ts.map +1 -1
- package/dist/response/ResponseHandler.d.ts +7 -6
- package/dist/response/ResponseHandler.d.ts.map +1 -1
- package/dist/response/ResponseHandler.mjs +41 -43
- package/dist/response/ResponseHandler.mjs.map +1 -1
- package/dist/telemetry/performance/IPerformanceClient.d.ts +0 -29
- package/dist/telemetry/performance/IPerformanceClient.d.ts.map +1 -1
- package/dist/telemetry/performance/PerformanceClient.d.ts +5 -81
- package/dist/telemetry/performance/PerformanceClient.d.ts.map +1 -1
- package/dist/telemetry/performance/PerformanceClient.mjs +24 -170
- package/dist/telemetry/performance/PerformanceClient.mjs.map +1 -1
- package/dist/telemetry/performance/PerformanceEvent.d.ts +1 -280
- package/dist/telemetry/performance/PerformanceEvent.d.ts.map +1 -1
- package/dist/telemetry/performance/PerformanceEvent.mjs +2 -483
- package/dist/telemetry/performance/PerformanceEvent.mjs.map +1 -1
- package/dist/telemetry/performance/PerformanceEvents.d.ts +66 -0
- package/dist/telemetry/performance/PerformanceEvents.d.ts.map +1 -0
- package/dist/telemetry/performance/PerformanceEvents.mjs +74 -0
- package/dist/telemetry/performance/PerformanceEvents.mjs.map +1 -0
- package/dist/telemetry/performance/StubPerformanceClient.d.ts +0 -4
- package/dist/telemetry/performance/StubPerformanceClient.d.ts.map +1 -1
- package/dist/telemetry/performance/StubPerformanceClient.mjs +2 -26
- package/dist/telemetry/performance/StubPerformanceClient.mjs.map +1 -1
- package/dist/telemetry/server/ServerTelemetryManager.d.ts +2 -2
- package/dist/telemetry/server/ServerTelemetryManager.d.ts.map +1 -1
- package/dist/telemetry/server/ServerTelemetryManager.mjs +28 -30
- package/dist/telemetry/server/ServerTelemetryManager.mjs.map +1 -1
- package/dist/url/UrlString.d.ts +0 -5
- package/dist/url/UrlString.d.ts.map +1 -1
- package/dist/url/UrlString.mjs +5 -13
- package/dist/url/UrlString.mjs.map +1 -1
- package/dist/utils/ClientAssertionUtils.mjs +1 -1
- package/dist/utils/Constants.d.ts +81 -112
- package/dist/utils/Constants.d.ts.map +1 -1
- package/dist/utils/Constants.mjs +100 -127
- package/dist/utils/Constants.mjs.map +1 -1
- package/dist/utils/FunctionWrappers.d.ts +2 -2
- package/dist/utils/FunctionWrappers.d.ts.map +1 -1
- package/dist/utils/FunctionWrappers.mjs +19 -20
- package/dist/utils/FunctionWrappers.mjs.map +1 -1
- package/dist/utils/ProtocolUtils.d.ts +14 -35
- package/dist/utils/ProtocolUtils.d.ts.map +1 -1
- package/dist/utils/ProtocolUtils.mjs +57 -61
- package/dist/utils/ProtocolUtils.mjs.map +1 -1
- package/dist/utils/StateTypes.d.ts +15 -0
- package/dist/utils/StateTypes.d.ts.map +1 -0
- package/dist/utils/StringUtils.mjs +1 -1
- package/dist/utils/TimeUtils.mjs +1 -1
- package/dist/utils/UrlUtils.d.ts +1 -2
- package/dist/utils/UrlUtils.d.ts.map +1 -1
- package/dist/utils/UrlUtils.mjs +3 -10
- package/dist/utils/UrlUtils.mjs.map +1 -1
- package/lib/index-browser.cjs +26 -206
- package/lib/index-browser.cjs.map +1 -1
- package/lib/{index-node-4Jss3kYh.js → index-node-B7mR4APO.js} +3494 -4270
- package/lib/index-node-B7mR4APO.js.map +1 -0
- package/lib/index-node.cjs +6 -34
- package/lib/index-node.cjs.map +1 -1
- package/lib/index.cjs +5 -34
- package/lib/index.cjs.map +1 -1
- package/lib/types/account/AccountInfo.d.ts +0 -1
- package/lib/types/account/AccountInfo.d.ts.map +1 -1
- package/lib/types/account/AuthToken.d.ts.map +1 -1
- package/lib/types/account/ClientInfo.d.ts.map +1 -1
- package/lib/types/authority/Authority.d.ts +2 -2
- package/lib/types/authority/Authority.d.ts.map +1 -1
- package/lib/types/authority/AuthorityFactory.d.ts +6 -2
- package/lib/types/authority/AuthorityFactory.d.ts.map +1 -1
- package/lib/types/authority/AuthorityMetadata.d.ts +2 -2
- package/lib/types/authority/AuthorityMetadata.d.ts.map +1 -1
- package/lib/types/authority/AuthorityOptions.d.ts +0 -1
- package/lib/types/authority/AuthorityOptions.d.ts.map +1 -1
- package/lib/types/authority/OIDCOptions.d.ts +2 -2
- package/lib/types/authority/OIDCOptions.d.ts.map +1 -1
- package/lib/types/authority/RegionDiscovery.d.ts +3 -3
- package/lib/types/authority/RegionDiscovery.d.ts.map +1 -1
- package/lib/types/cache/CacheManager.d.ts +26 -19
- package/lib/types/cache/CacheManager.d.ts.map +1 -1
- package/lib/types/cache/entities/AccessTokenEntity.d.ts +0 -4
- package/lib/types/cache/entities/AccessTokenEntity.d.ts.map +1 -1
- package/lib/types/cache/entities/AccountEntity.d.ts +4 -56
- package/lib/types/cache/entities/AccountEntity.d.ts.map +1 -1
- package/lib/types/cache/entities/CredentialEntity.d.ts +0 -2
- package/lib/types/cache/entities/CredentialEntity.d.ts.map +1 -1
- package/lib/types/cache/interface/ICacheManager.d.ts +35 -17
- package/lib/types/cache/interface/ICacheManager.d.ts.map +1 -1
- package/lib/types/cache/utils/AccountEntityUtils.d.ts +53 -0
- package/lib/types/cache/utils/AccountEntityUtils.d.ts.map +1 -0
- package/lib/types/cache/utils/CacheHelpers.d.ts +2 -2
- package/lib/types/cache/utils/CacheHelpers.d.ts.map +1 -1
- package/lib/types/cache/utils/CacheTypes.d.ts +0 -1
- package/lib/types/cache/utils/CacheTypes.d.ts.map +1 -1
- package/lib/types/client/AuthorizationCodeClient.d.ts +23 -4
- package/lib/types/client/AuthorizationCodeClient.d.ts.map +1 -1
- package/lib/types/client/RefreshTokenClient.d.ts +17 -4
- package/lib/types/client/RefreshTokenClient.d.ts.map +1 -1
- package/lib/types/client/SilentFlowClient.d.ts +17 -4
- package/lib/types/client/SilentFlowClient.d.ts.map +1 -1
- package/lib/types/config/ClientConfiguration.d.ts +2 -22
- package/lib/types/config/ClientConfiguration.d.ts.map +1 -1
- package/lib/types/crypto/ICrypto.d.ts +5 -3
- package/lib/types/crypto/ICrypto.d.ts.map +1 -1
- package/lib/types/crypto/PopTokenGenerator.d.ts +2 -2
- package/lib/types/crypto/PopTokenGenerator.d.ts.map +1 -1
- package/lib/types/error/AuthError.d.ts +1 -18
- package/lib/types/error/AuthError.d.ts.map +1 -1
- package/lib/types/error/CacheError.d.ts +1 -6
- package/lib/types/error/CacheError.d.ts.map +1 -1
- package/lib/types/error/ClientAuthError.d.ts +0 -229
- package/lib/types/error/ClientAuthError.d.ts.map +1 -1
- package/lib/types/error/ClientAuthErrorCodes.d.ts +0 -8
- package/lib/types/error/ClientAuthErrorCodes.d.ts.map +1 -1
- package/lib/types/error/ClientConfigurationError.d.ts +0 -128
- package/lib/types/error/ClientConfigurationError.d.ts.map +1 -1
- package/lib/types/error/ClientConfigurationErrorCodes.d.ts +0 -2
- package/lib/types/error/ClientConfigurationErrorCodes.d.ts.map +1 -1
- package/lib/types/error/InteractionRequiredAuthError.d.ts +1 -19
- package/lib/types/error/InteractionRequiredAuthError.d.ts.map +1 -1
- package/lib/types/error/JoseHeaderError.d.ts +0 -4
- package/lib/types/error/JoseHeaderError.d.ts.map +1 -1
- package/lib/types/error/PlatformBrokerError.d.ts.map +1 -1
- package/lib/types/exports-browser-only.d.ts +4 -3
- package/lib/types/exports-browser-only.d.ts.map +1 -1
- package/lib/types/exports-common.d.ts +11 -8
- package/lib/types/exports-common.d.ts.map +1 -1
- package/lib/types/exports-node-only.d.ts +2 -4
- package/lib/types/exports-node-only.d.ts.map +1 -1
- package/lib/types/logger/Logger.d.ts +36 -13
- package/lib/types/logger/Logger.d.ts.map +1 -1
- package/lib/types/network/ThrottlingUtils.d.ts.map +1 -1
- package/lib/types/packageMetadata.d.ts +1 -1
- package/lib/types/packageMetadata.d.ts.map +1 -1
- package/lib/types/protocol/Authorize.d.ts +1 -2
- package/lib/types/protocol/Authorize.d.ts.map +1 -1
- package/lib/types/protocol/Token.d.ts +40 -0
- package/lib/types/protocol/Token.d.ts.map +1 -0
- package/lib/types/request/AuthenticationHeaderParser.d.ts.map +1 -1
- package/lib/types/request/BaseAuthRequest.d.ts +4 -8
- package/lib/types/request/BaseAuthRequest.d.ts.map +1 -1
- package/lib/types/request/CommonAuthorizationCodeRequest.d.ts +2 -1
- package/lib/types/request/CommonAuthorizationCodeRequest.d.ts.map +1 -1
- package/lib/types/request/CommonAuthorizationUrlRequest.d.ts +2 -4
- package/lib/types/request/CommonAuthorizationUrlRequest.d.ts.map +1 -1
- package/lib/types/request/CommonRefreshTokenRequest.d.ts +2 -1
- package/lib/types/request/CommonRefreshTokenRequest.d.ts.map +1 -1
- package/lib/types/request/CommonSilentFlowRequest.d.ts +2 -1
- package/lib/types/request/CommonSilentFlowRequest.d.ts.map +1 -1
- package/lib/types/request/RequestParameterBuilder.d.ts +6 -12
- package/lib/types/request/RequestParameterBuilder.d.ts.map +1 -1
- package/lib/types/response/AuthenticationResult.d.ts +1 -1
- package/lib/types/response/AuthenticationResult.d.ts.map +1 -1
- package/lib/types/response/ResponseHandler.d.ts +7 -6
- package/lib/types/response/ResponseHandler.d.ts.map +1 -1
- package/lib/types/telemetry/performance/IPerformanceClient.d.ts +0 -29
- package/lib/types/telemetry/performance/IPerformanceClient.d.ts.map +1 -1
- package/lib/types/telemetry/performance/PerformanceClient.d.ts +5 -81
- package/lib/types/telemetry/performance/PerformanceClient.d.ts.map +1 -1
- package/lib/types/telemetry/performance/PerformanceEvent.d.ts +1 -280
- package/lib/types/telemetry/performance/PerformanceEvent.d.ts.map +1 -1
- package/lib/types/telemetry/performance/PerformanceEvents.d.ts +66 -0
- package/lib/types/telemetry/performance/PerformanceEvents.d.ts.map +1 -0
- package/lib/types/telemetry/performance/StubPerformanceClient.d.ts +0 -4
- package/lib/types/telemetry/performance/StubPerformanceClient.d.ts.map +1 -1
- package/lib/types/telemetry/server/ServerTelemetryManager.d.ts +2 -2
- package/lib/types/telemetry/server/ServerTelemetryManager.d.ts.map +1 -1
- package/lib/types/url/UrlString.d.ts +0 -5
- package/lib/types/url/UrlString.d.ts.map +1 -1
- package/lib/types/utils/Constants.d.ts +81 -112
- package/lib/types/utils/Constants.d.ts.map +1 -1
- package/lib/types/utils/FunctionWrappers.d.ts +2 -2
- package/lib/types/utils/FunctionWrappers.d.ts.map +1 -1
- package/lib/types/utils/ProtocolUtils.d.ts +14 -35
- package/lib/types/utils/ProtocolUtils.d.ts.map +1 -1
- package/lib/types/utils/StateTypes.d.ts +15 -0
- package/lib/types/utils/StateTypes.d.ts.map +1 -0
- package/lib/types/utils/UrlUtils.d.ts +1 -2
- package/lib/types/utils/UrlUtils.d.ts.map +1 -1
- package/package.json +7 -7
- package/src/account/AccountInfo.ts +0 -1
- package/src/account/AuthToken.ts +1 -2
- package/src/account/ClientInfo.ts +3 -6
- package/src/authority/Authority.ts +145 -146
- package/src/authority/AuthorityFactory.ts +7 -7
- package/src/authority/AuthorityMetadata.ts +54 -47
- package/src/authority/AuthorityOptions.ts +0 -1
- package/src/authority/OIDCOptions.ts +2 -2
- package/src/authority/RegionDiscovery.ts +20 -33
- package/src/cache/CacheManager.ts +177 -128
- package/src/cache/entities/AccessTokenEntity.ts +0 -4
- package/src/cache/entities/AccountEntity.ts +4 -292
- package/src/cache/entities/CredentialEntity.ts +0 -2
- package/src/cache/interface/ICacheManager.ts +55 -20
- package/src/cache/utils/AccountEntityUtils.ts +258 -0
- package/src/cache/utils/CacheHelpers.ts +23 -37
- package/src/cache/utils/CacheTypes.ts +0 -1
- package/src/client/AuthorizationCodeClient.ts +146 -58
- package/src/client/RefreshTokenClient.ts +108 -65
- package/src/client/SilentFlowClient.ts +74 -25
- package/src/config/ClientConfiguration.ts +9 -37
- package/src/crypto/ICrypto.ts +5 -3
- package/src/crypto/PopTokenGenerator.ts +3 -13
- package/src/error/AuthError.ts +11 -30
- package/src/error/CacheError.ts +4 -15
- package/src/error/ClientAuthError.ts +1 -317
- package/src/error/ClientAuthErrorCodes.ts +0 -8
- package/src/error/ClientConfigurationError.ts +1 -202
- package/src/error/ClientConfigurationErrorCodes.ts +0 -4
- package/src/error/InteractionRequiredAuthError.ts +8 -48
- package/src/error/JoseHeaderError.ts +1 -8
- package/src/error/PlatformBrokerError.ts +2 -1
- package/src/exports-browser-only.ts +2 -6
- package/src/exports-common.ts +8 -40
- package/src/exports-node-only.ts +5 -4
- package/src/logger/Logger.ts +174 -39
- package/src/network/RequestThumbprint.ts +1 -1
- package/src/network/ThrottlingUtils.ts +12 -15
- package/src/packageMetadata.ts +1 -1
- package/src/protocol/Authorize.ts +24 -20
- package/src/protocol/Token.ts +230 -0
- package/src/request/AuthenticationHeaderParser.ts +2 -4
- package/src/request/BaseAuthRequest.ts +4 -8
- package/src/request/CommonAuthorizationCodeRequest.ts +2 -1
- package/src/request/CommonAuthorizationUrlRequest.ts +2 -4
- package/src/request/CommonRefreshTokenRequest.ts +2 -1
- package/src/request/CommonSilentFlowRequest.ts +2 -1
- package/src/request/RequestParameterBuilder.ts +35 -50
- package/src/request/ScopeSet.ts +4 -4
- package/src/response/AuthenticationResult.ts +1 -1
- package/src/response/ResponseHandler.ts +56 -60
- package/src/telemetry/performance/IPerformanceClient.ts +0 -40
- package/src/telemetry/performance/PerformanceClient.ts +26 -295
- package/src/telemetry/performance/PerformanceEvent.ts +3 -582
- package/src/telemetry/performance/PerformanceEvents.ts +98 -0
- package/src/telemetry/performance/StubPerformanceClient.ts +0 -16
- package/src/telemetry/server/ServerTelemetryManager.ts +33 -44
- package/src/url/UrlString.ts +3 -12
- package/src/utils/Constants.ts +103 -140
- package/src/utils/FunctionWrappers.ts +28 -29
- package/src/utils/ProtocolUtils.ts +67 -93
- package/src/utils/StateTypes.ts +20 -0
- package/src/utils/UrlUtils.ts +2 -15
- package/dist/cache/entities/AccountEntity.mjs +0 -232
- package/dist/cache/entities/AccountEntity.mjs.map +0 -1
- package/dist/client/BaseClient.d.ts +0 -59
- package/dist/client/BaseClient.d.ts.map +0 -1
- package/dist/client/BaseClient.mjs +0 -167
- package/dist/client/BaseClient.mjs.map +0 -1
- package/dist/index-browser.mjs +0 -72
- package/dist/index-browser.mjs.map +0 -1
- package/dist/request/CommonClientCredentialRequest.d.ts +0 -18
- package/dist/request/CommonClientCredentialRequest.d.ts.map +0 -1
- package/dist/request/CommonDeviceCodeRequest.d.ts +0 -22
- package/dist/request/CommonDeviceCodeRequest.d.ts.map +0 -1
- package/dist/request/CommonOnBehalfOfRequest.d.ts +0 -14
- package/dist/request/CommonOnBehalfOfRequest.d.ts.map +0 -1
- package/dist/request/CommonUsernamePasswordRequest.d.ts +0 -18
- package/dist/request/CommonUsernamePasswordRequest.d.ts.map +0 -1
- package/lib/index-node-4Jss3kYh.js.map +0 -1
- package/lib/types/client/BaseClient.d.ts +0 -59
- package/lib/types/client/BaseClient.d.ts.map +0 -1
- package/lib/types/request/CommonClientCredentialRequest.d.ts +0 -18
- package/lib/types/request/CommonClientCredentialRequest.d.ts.map +0 -1
- package/lib/types/request/CommonDeviceCodeRequest.d.ts +0 -22
- package/lib/types/request/CommonDeviceCodeRequest.d.ts.map +0 -1
- package/lib/types/request/CommonOnBehalfOfRequest.d.ts +0 -14
- package/lib/types/request/CommonOnBehalfOfRequest.d.ts.map +0 -1
- package/lib/types/request/CommonUsernamePasswordRequest.d.ts +0 -18
- package/lib/types/request/CommonUsernamePasswordRequest.d.ts.map +0 -1
- package/src/client/BaseClient.ts +0 -320
- package/src/request/CommonClientCredentialRequest.ts +0 -23
- package/src/request/CommonDeviceCodeRequest.ts +0 -31
- package/src/request/CommonOnBehalfOfRequest.ts +0 -19
- package/src/request/CommonUsernamePasswordRequest.ts +0 -23
|
@@ -1,489 +1,9 @@
|
|
|
1
|
-
/*! @azure/msal-common
|
|
1
|
+
/*! @azure/msal-common v16.0.0-beta.0 2025-12-05 */
|
|
2
2
|
'use strict';
|
|
3
3
|
/*
|
|
4
4
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
5
5
|
* Licensed under the MIT License.
|
|
6
6
|
*/
|
|
7
|
-
/**
|
|
8
|
-
* Enumeration of operations that are instrumented by have their performance measured by the PerformanceClient.
|
|
9
|
-
*
|
|
10
|
-
* @export
|
|
11
|
-
* @enum {number}
|
|
12
|
-
*/
|
|
13
|
-
const PerformanceEvents = {
|
|
14
|
-
/**
|
|
15
|
-
* acquireTokenByCode API (msal-browser and msal-node).
|
|
16
|
-
* Used to acquire tokens by trading an authorization code against the token endpoint.
|
|
17
|
-
*/
|
|
18
|
-
AcquireTokenByCode: "acquireTokenByCode",
|
|
19
|
-
/**
|
|
20
|
-
* acquireTokenByRefreshToken API (msal-browser and msal-node).
|
|
21
|
-
* Used to renew an access token using a refresh token against the token endpoint.
|
|
22
|
-
*/
|
|
23
|
-
AcquireTokenByRefreshToken: "acquireTokenByRefreshToken",
|
|
24
|
-
/**
|
|
25
|
-
* acquireTokenSilent API (msal-browser and msal-node).
|
|
26
|
-
* Used to silently acquire a new access token (from the cache or the network).
|
|
27
|
-
*/
|
|
28
|
-
AcquireTokenSilent: "acquireTokenSilent",
|
|
29
|
-
/**
|
|
30
|
-
* acquireTokenSilentAsync (msal-browser).
|
|
31
|
-
* Internal API for acquireTokenSilent.
|
|
32
|
-
*/
|
|
33
|
-
AcquireTokenSilentAsync: "acquireTokenSilentAsync",
|
|
34
|
-
/**
|
|
35
|
-
* acquireTokenPopup (msal-browser).
|
|
36
|
-
* Used to acquire a new access token interactively through pop ups
|
|
37
|
-
*/
|
|
38
|
-
AcquireTokenPopup: "acquireTokenPopup",
|
|
39
|
-
/**
|
|
40
|
-
* acquireTokenPreRedirect (msal-browser).
|
|
41
|
-
* First part of the redirect flow.
|
|
42
|
-
* Used to acquire a new access token interactively through redirects.
|
|
43
|
-
*/
|
|
44
|
-
AcquireTokenPreRedirect: "acquireTokenPreRedirect",
|
|
45
|
-
/**
|
|
46
|
-
* acquireTokenRedirect (msal-browser).
|
|
47
|
-
* Second part of the redirect flow.
|
|
48
|
-
* Used to acquire a new access token interactively through redirects.
|
|
49
|
-
*/
|
|
50
|
-
AcquireTokenRedirect: "acquireTokenRedirect",
|
|
51
|
-
/**
|
|
52
|
-
* getPublicKeyThumbprint API in CryptoOpts class (msal-browser).
|
|
53
|
-
* Used to generate a public/private keypair and generate a public key thumbprint for pop requests.
|
|
54
|
-
*/
|
|
55
|
-
CryptoOptsGetPublicKeyThumbprint: "cryptoOptsGetPublicKeyThumbprint",
|
|
56
|
-
/**
|
|
57
|
-
* signJwt API in CryptoOpts class (msal-browser).
|
|
58
|
-
* Used to signed a pop token.
|
|
59
|
-
*/
|
|
60
|
-
CryptoOptsSignJwt: "cryptoOptsSignJwt",
|
|
61
|
-
/**
|
|
62
|
-
* acquireToken API in the SilentCacheClient class (msal-browser).
|
|
63
|
-
* Used to read access tokens from the cache.
|
|
64
|
-
*/
|
|
65
|
-
SilentCacheClientAcquireToken: "silentCacheClientAcquireToken",
|
|
66
|
-
/**
|
|
67
|
-
* acquireToken API in the SilentIframeClient class (msal-browser).
|
|
68
|
-
* Used to acquire a new set of tokens from the authorize endpoint in a hidden iframe.
|
|
69
|
-
*/
|
|
70
|
-
SilentIframeClientAcquireToken: "silentIframeClientAcquireToken",
|
|
71
|
-
AwaitConcurrentIframe: "awaitConcurrentIframe",
|
|
72
|
-
/**
|
|
73
|
-
* acquireToken API in SilentRereshClient (msal-browser).
|
|
74
|
-
* Used to acquire a new set of tokens from the token endpoint using a refresh token.
|
|
75
|
-
*/
|
|
76
|
-
SilentRefreshClientAcquireToken: "silentRefreshClientAcquireToken",
|
|
77
|
-
/**
|
|
78
|
-
* ssoSilent API (msal-browser).
|
|
79
|
-
* Used to silently acquire an authorization code and set of tokens using a hidden iframe.
|
|
80
|
-
*/
|
|
81
|
-
SsoSilent: "ssoSilent",
|
|
82
|
-
/**
|
|
83
|
-
* getDiscoveredAuthority API in StandardInteractionClient class (msal-browser).
|
|
84
|
-
* Used to load authority metadata for a request.
|
|
85
|
-
*/
|
|
86
|
-
StandardInteractionClientGetDiscoveredAuthority: "standardInteractionClientGetDiscoveredAuthority",
|
|
87
|
-
/**
|
|
88
|
-
* acquireToken APIs in msal-browser.
|
|
89
|
-
* Used to make an /authorize endpoint call with native brokering enabled.
|
|
90
|
-
*/
|
|
91
|
-
FetchAccountIdWithNativeBroker: "fetchAccountIdWithNativeBroker",
|
|
92
|
-
/**
|
|
93
|
-
* acquireToken API in NativeInteractionClient class (msal-browser).
|
|
94
|
-
* Used to acquire a token from Native component when native brokering is enabled.
|
|
95
|
-
*/
|
|
96
|
-
NativeInteractionClientAcquireToken: "nativeInteractionClientAcquireToken",
|
|
97
|
-
/**
|
|
98
|
-
* Time spent creating default headers for requests to token endpoint
|
|
99
|
-
*/
|
|
100
|
-
BaseClientCreateTokenRequestHeaders: "baseClientCreateTokenRequestHeaders",
|
|
101
|
-
/**
|
|
102
|
-
* Time spent sending/waiting for the response of a request to the token endpoint
|
|
103
|
-
*/
|
|
104
|
-
NetworkClientSendPostRequestAsync: "networkClientSendPostRequestAsync",
|
|
105
|
-
RefreshTokenClientExecutePostToTokenEndpoint: "refreshTokenClientExecutePostToTokenEndpoint",
|
|
106
|
-
AuthorizationCodeClientExecutePostToTokenEndpoint: "authorizationCodeClientExecutePostToTokenEndpoint",
|
|
107
|
-
/**
|
|
108
|
-
* Used to measure the time taken for completing embedded-broker handshake (PW-Broker).
|
|
109
|
-
*/
|
|
110
|
-
BrokerHandhshake: "brokerHandshake",
|
|
111
|
-
/**
|
|
112
|
-
* acquireTokenByRefreshToken API in BrokerClientApplication (PW-Broker) .
|
|
113
|
-
*/
|
|
114
|
-
AcquireTokenByRefreshTokenInBroker: "acquireTokenByRefreshTokenInBroker",
|
|
115
|
-
/**
|
|
116
|
-
* Time taken for token acquisition by broker
|
|
117
|
-
*/
|
|
118
|
-
AcquireTokenByBroker: "acquireTokenByBroker",
|
|
119
|
-
/**
|
|
120
|
-
* Time spent on the network for refresh token acquisition
|
|
121
|
-
*/
|
|
122
|
-
RefreshTokenClientExecuteTokenRequest: "refreshTokenClientExecuteTokenRequest",
|
|
123
|
-
/**
|
|
124
|
-
* Time taken for acquiring refresh token , records RT size
|
|
125
|
-
*/
|
|
126
|
-
RefreshTokenClientAcquireToken: "refreshTokenClientAcquireToken",
|
|
127
|
-
/**
|
|
128
|
-
* Time taken for acquiring cached refresh token
|
|
129
|
-
*/
|
|
130
|
-
RefreshTokenClientAcquireTokenWithCachedRefreshToken: "refreshTokenClientAcquireTokenWithCachedRefreshToken",
|
|
131
|
-
/**
|
|
132
|
-
* acquireTokenByRefreshToken API in RefreshTokenClient (msal-common).
|
|
133
|
-
*/
|
|
134
|
-
RefreshTokenClientAcquireTokenByRefreshToken: "refreshTokenClientAcquireTokenByRefreshToken",
|
|
135
|
-
/**
|
|
136
|
-
* Helper function to create token request body in RefreshTokenClient (msal-common).
|
|
137
|
-
*/
|
|
138
|
-
RefreshTokenClientCreateTokenRequestBody: "refreshTokenClientCreateTokenRequestBody",
|
|
139
|
-
/**
|
|
140
|
-
* acquireTokenFromCache (msal-browser).
|
|
141
|
-
* Internal API for acquiring token from cache
|
|
142
|
-
*/
|
|
143
|
-
AcquireTokenFromCache: "acquireTokenFromCache",
|
|
144
|
-
SilentFlowClientAcquireCachedToken: "silentFlowClientAcquireCachedToken",
|
|
145
|
-
SilentFlowClientGenerateResultFromCacheRecord: "silentFlowClientGenerateResultFromCacheRecord",
|
|
146
|
-
/**
|
|
147
|
-
* acquireTokenBySilentIframe (msal-browser).
|
|
148
|
-
* Internal API for acquiring token by silent Iframe
|
|
149
|
-
*/
|
|
150
|
-
AcquireTokenBySilentIframe: "acquireTokenBySilentIframe",
|
|
151
|
-
/**
|
|
152
|
-
* Internal API for initializing base request in BaseInteractionClient (msal-browser)
|
|
153
|
-
*/
|
|
154
|
-
InitializeBaseRequest: "initializeBaseRequest",
|
|
155
|
-
/**
|
|
156
|
-
* Internal API for initializing silent request in SilentCacheClient (msal-browser)
|
|
157
|
-
*/
|
|
158
|
-
InitializeSilentRequest: "initializeSilentRequest",
|
|
159
|
-
InitializeClientApplication: "initializeClientApplication",
|
|
160
|
-
InitializeCache: "initializeCache",
|
|
161
|
-
/**
|
|
162
|
-
* Helper function in SilentIframeClient class (msal-browser).
|
|
163
|
-
*/
|
|
164
|
-
SilentIframeClientTokenHelper: "silentIframeClientTokenHelper",
|
|
165
|
-
/**
|
|
166
|
-
* SilentHandler
|
|
167
|
-
*/
|
|
168
|
-
SilentHandlerInitiateAuthRequest: "silentHandlerInitiateAuthRequest",
|
|
169
|
-
SilentHandlerMonitorIframeForHash: "silentHandlerMonitorIframeForHash",
|
|
170
|
-
SilentHandlerLoadFrame: "silentHandlerLoadFrame",
|
|
171
|
-
SilentHandlerLoadFrameSync: "silentHandlerLoadFrameSync",
|
|
172
|
-
/**
|
|
173
|
-
* Helper functions in StandardInteractionClient class (msal-browser)
|
|
174
|
-
*/
|
|
175
|
-
StandardInteractionClientCreateAuthCodeClient: "standardInteractionClientCreateAuthCodeClient",
|
|
176
|
-
StandardInteractionClientGetClientConfiguration: "standardInteractionClientGetClientConfiguration",
|
|
177
|
-
StandardInteractionClientInitializeAuthorizationRequest: "standardInteractionClientInitializeAuthorizationRequest",
|
|
178
|
-
/**
|
|
179
|
-
* getAuthCodeUrl API (msal-browser and msal-node).
|
|
180
|
-
*/
|
|
181
|
-
GetAuthCodeUrl: "getAuthCodeUrl",
|
|
182
|
-
GetStandardParams: "getStandardParams",
|
|
183
|
-
/**
|
|
184
|
-
* Functions from InteractionHandler (msal-browser)
|
|
185
|
-
*/
|
|
186
|
-
HandleCodeResponseFromServer: "handleCodeResponseFromServer",
|
|
187
|
-
HandleCodeResponse: "handleCodeResponse",
|
|
188
|
-
HandleResponseEar: "handleResponseEar",
|
|
189
|
-
HandleResponsePlatformBroker: "handleResponsePlatformBroker",
|
|
190
|
-
HandleResponseCode: "handleResponseCode",
|
|
191
|
-
UpdateTokenEndpointAuthority: "updateTokenEndpointAuthority",
|
|
192
|
-
/**
|
|
193
|
-
* APIs in Authorization Code Client (msal-common)
|
|
194
|
-
*/
|
|
195
|
-
AuthClientAcquireToken: "authClientAcquireToken",
|
|
196
|
-
AuthClientExecuteTokenRequest: "authClientExecuteTokenRequest",
|
|
197
|
-
AuthClientCreateTokenRequestBody: "authClientCreateTokenRequestBody",
|
|
198
|
-
/**
|
|
199
|
-
* Generate functions in PopTokenGenerator (msal-common)
|
|
200
|
-
*/
|
|
201
|
-
PopTokenGenerateCnf: "popTokenGenerateCnf",
|
|
202
|
-
PopTokenGenerateKid: "popTokenGenerateKid",
|
|
203
|
-
/**
|
|
204
|
-
* handleServerTokenResponse API in ResponseHandler (msal-common)
|
|
205
|
-
*/
|
|
206
|
-
HandleServerTokenResponse: "handleServerTokenResponse",
|
|
207
|
-
DeserializeResponse: "deserializeResponse",
|
|
208
|
-
/**
|
|
209
|
-
* Authority functions
|
|
210
|
-
*/
|
|
211
|
-
AuthorityFactoryCreateDiscoveredInstance: "authorityFactoryCreateDiscoveredInstance",
|
|
212
|
-
AuthorityResolveEndpointsAsync: "authorityResolveEndpointsAsync",
|
|
213
|
-
AuthorityResolveEndpointsFromLocalSources: "authorityResolveEndpointsFromLocalSources",
|
|
214
|
-
AuthorityGetCloudDiscoveryMetadataFromNetwork: "authorityGetCloudDiscoveryMetadataFromNetwork",
|
|
215
|
-
AuthorityUpdateCloudDiscoveryMetadata: "authorityUpdateCloudDiscoveryMetadata",
|
|
216
|
-
AuthorityGetEndpointMetadataFromNetwork: "authorityGetEndpointMetadataFromNetwork",
|
|
217
|
-
AuthorityUpdateEndpointMetadata: "authorityUpdateEndpointMetadata",
|
|
218
|
-
AuthorityUpdateMetadataWithRegionalInformation: "authorityUpdateMetadataWithRegionalInformation",
|
|
219
|
-
/**
|
|
220
|
-
* Region Discovery functions
|
|
221
|
-
*/
|
|
222
|
-
RegionDiscoveryDetectRegion: "regionDiscoveryDetectRegion",
|
|
223
|
-
RegionDiscoveryGetRegionFromIMDS: "regionDiscoveryGetRegionFromIMDS",
|
|
224
|
-
RegionDiscoveryGetCurrentVersion: "regionDiscoveryGetCurrentVersion",
|
|
225
|
-
AcquireTokenByCodeAsync: "acquireTokenByCodeAsync",
|
|
226
|
-
GetEndpointMetadataFromNetwork: "getEndpointMetadataFromNetwork",
|
|
227
|
-
GetCloudDiscoveryMetadataFromNetworkMeasurement: "getCloudDiscoveryMetadataFromNetworkMeasurement",
|
|
228
|
-
HandleRedirectPromiseMeasurement: "handleRedirectPromise",
|
|
229
|
-
HandleNativeRedirectPromiseMeasurement: "handleNativeRedirectPromise",
|
|
230
|
-
UpdateCloudDiscoveryMetadataMeasurement: "updateCloudDiscoveryMetadataMeasurement",
|
|
231
|
-
UsernamePasswordClientAcquireToken: "usernamePasswordClientAcquireToken",
|
|
232
|
-
NativeMessageHandlerHandshake: "nativeMessageHandlerHandshake",
|
|
233
|
-
NativeGenerateAuthResult: "nativeGenerateAuthResult",
|
|
234
|
-
RemoveHiddenIframe: "removeHiddenIframe",
|
|
235
|
-
/**
|
|
236
|
-
* Cache operations
|
|
237
|
-
*/
|
|
238
|
-
ClearTokensAndKeysWithClaims: "clearTokensAndKeysWithClaims",
|
|
239
|
-
CacheManagerGetRefreshToken: "cacheManagerGetRefreshToken",
|
|
240
|
-
ImportExistingCache: "importExistingCache",
|
|
241
|
-
SetUserData: "setUserData",
|
|
242
|
-
LocalStorageUpdated: "localStorageUpdated",
|
|
243
|
-
/**
|
|
244
|
-
* Crypto Operations
|
|
245
|
-
*/
|
|
246
|
-
GeneratePkceCodes: "generatePkceCodes",
|
|
247
|
-
GenerateCodeVerifier: "generateCodeVerifier",
|
|
248
|
-
GenerateCodeChallengeFromVerifier: "generateCodeChallengeFromVerifier",
|
|
249
|
-
Sha256Digest: "sha256Digest",
|
|
250
|
-
GetRandomValues: "getRandomValues",
|
|
251
|
-
GenerateHKDF: "generateHKDF",
|
|
252
|
-
GenerateBaseKey: "generateBaseKey",
|
|
253
|
-
Base64Decode: "base64Decode",
|
|
254
|
-
UrlEncodeArr: "urlEncodeArr",
|
|
255
|
-
Encrypt: "encrypt",
|
|
256
|
-
Decrypt: "decrypt",
|
|
257
|
-
GenerateEarKey: "generateEarKey",
|
|
258
|
-
DecryptEarResponse: "decryptEarResponse",
|
|
259
|
-
};
|
|
260
|
-
const PerformanceEventAbbreviations = new Map([
|
|
261
|
-
[PerformanceEvents.AcquireTokenByCode, "ATByCode"],
|
|
262
|
-
[PerformanceEvents.AcquireTokenByRefreshToken, "ATByRT"],
|
|
263
|
-
[PerformanceEvents.AcquireTokenSilent, "ATS"],
|
|
264
|
-
[PerformanceEvents.AcquireTokenSilentAsync, "ATSAsync"],
|
|
265
|
-
[PerformanceEvents.AcquireTokenPopup, "ATPopup"],
|
|
266
|
-
[PerformanceEvents.AcquireTokenRedirect, "ATRedirect"],
|
|
267
|
-
[
|
|
268
|
-
PerformanceEvents.CryptoOptsGetPublicKeyThumbprint,
|
|
269
|
-
"CryptoGetPKThumb",
|
|
270
|
-
],
|
|
271
|
-
[PerformanceEvents.CryptoOptsSignJwt, "CryptoSignJwt"],
|
|
272
|
-
[PerformanceEvents.SilentCacheClientAcquireToken, "SltCacheClientAT"],
|
|
273
|
-
[PerformanceEvents.SilentIframeClientAcquireToken, "SltIframeClientAT"],
|
|
274
|
-
[PerformanceEvents.SilentRefreshClientAcquireToken, "SltRClientAT"],
|
|
275
|
-
[PerformanceEvents.SsoSilent, "SsoSlt"],
|
|
276
|
-
[
|
|
277
|
-
PerformanceEvents.StandardInteractionClientGetDiscoveredAuthority,
|
|
278
|
-
"StdIntClientGetDiscAuth",
|
|
279
|
-
],
|
|
280
|
-
[
|
|
281
|
-
PerformanceEvents.FetchAccountIdWithNativeBroker,
|
|
282
|
-
"FetchAccIdWithNtvBroker",
|
|
283
|
-
],
|
|
284
|
-
[
|
|
285
|
-
PerformanceEvents.NativeInteractionClientAcquireToken,
|
|
286
|
-
"NtvIntClientAT",
|
|
287
|
-
],
|
|
288
|
-
[
|
|
289
|
-
PerformanceEvents.BaseClientCreateTokenRequestHeaders,
|
|
290
|
-
"BaseClientCreateTReqHead",
|
|
291
|
-
],
|
|
292
|
-
[
|
|
293
|
-
PerformanceEvents.NetworkClientSendPostRequestAsync,
|
|
294
|
-
"NetClientSendPost",
|
|
295
|
-
],
|
|
296
|
-
[
|
|
297
|
-
PerformanceEvents.RefreshTokenClientExecutePostToTokenEndpoint,
|
|
298
|
-
"RTClientExecPost",
|
|
299
|
-
],
|
|
300
|
-
[
|
|
301
|
-
PerformanceEvents.AuthorizationCodeClientExecutePostToTokenEndpoint,
|
|
302
|
-
"AuthCodeClientExecPost",
|
|
303
|
-
],
|
|
304
|
-
[PerformanceEvents.BrokerHandhshake, "BrokerHandshake"],
|
|
305
|
-
[
|
|
306
|
-
PerformanceEvents.AcquireTokenByRefreshTokenInBroker,
|
|
307
|
-
"ATByRTInBroker",
|
|
308
|
-
],
|
|
309
|
-
[PerformanceEvents.AcquireTokenByBroker, "ATByBroker"],
|
|
310
|
-
[
|
|
311
|
-
PerformanceEvents.RefreshTokenClientExecuteTokenRequest,
|
|
312
|
-
"RTClientExecTReq",
|
|
313
|
-
],
|
|
314
|
-
[PerformanceEvents.RefreshTokenClientAcquireToken, "RTClientAT"],
|
|
315
|
-
[
|
|
316
|
-
PerformanceEvents.RefreshTokenClientAcquireTokenWithCachedRefreshToken,
|
|
317
|
-
"RTClientATWithCachedRT",
|
|
318
|
-
],
|
|
319
|
-
[
|
|
320
|
-
PerformanceEvents.RefreshTokenClientAcquireTokenByRefreshToken,
|
|
321
|
-
"RTClientATByRT",
|
|
322
|
-
],
|
|
323
|
-
[
|
|
324
|
-
PerformanceEvents.RefreshTokenClientCreateTokenRequestBody,
|
|
325
|
-
"RTClientCreateTReqBody",
|
|
326
|
-
],
|
|
327
|
-
[PerformanceEvents.AcquireTokenFromCache, "ATFromCache"],
|
|
328
|
-
[
|
|
329
|
-
PerformanceEvents.SilentFlowClientAcquireCachedToken,
|
|
330
|
-
"SltFlowClientATCached",
|
|
331
|
-
],
|
|
332
|
-
[
|
|
333
|
-
PerformanceEvents.SilentFlowClientGenerateResultFromCacheRecord,
|
|
334
|
-
"SltFlowClientGenResFromCache",
|
|
335
|
-
],
|
|
336
|
-
[PerformanceEvents.AcquireTokenBySilentIframe, "ATBySltIframe"],
|
|
337
|
-
[PerformanceEvents.InitializeBaseRequest, "InitBaseReq"],
|
|
338
|
-
[PerformanceEvents.InitializeSilentRequest, "InitSltReq"],
|
|
339
|
-
[
|
|
340
|
-
PerformanceEvents.InitializeClientApplication,
|
|
341
|
-
"InitClientApplication",
|
|
342
|
-
],
|
|
343
|
-
[PerformanceEvents.InitializeCache, "InitCache"],
|
|
344
|
-
[PerformanceEvents.ImportExistingCache, "importCache"],
|
|
345
|
-
[PerformanceEvents.SetUserData, "setUserData"],
|
|
346
|
-
[PerformanceEvents.LocalStorageUpdated, "localStorageUpdated"],
|
|
347
|
-
[PerformanceEvents.SilentIframeClientTokenHelper, "SIClientTHelper"],
|
|
348
|
-
[
|
|
349
|
-
PerformanceEvents.SilentHandlerInitiateAuthRequest,
|
|
350
|
-
"SHandlerInitAuthReq",
|
|
351
|
-
],
|
|
352
|
-
[
|
|
353
|
-
PerformanceEvents.SilentHandlerMonitorIframeForHash,
|
|
354
|
-
"SltHandlerMonitorIframeForHash",
|
|
355
|
-
],
|
|
356
|
-
[PerformanceEvents.SilentHandlerLoadFrame, "SHandlerLoadFrame"],
|
|
357
|
-
[PerformanceEvents.SilentHandlerLoadFrameSync, "SHandlerLoadFrameSync"],
|
|
358
|
-
[
|
|
359
|
-
PerformanceEvents.StandardInteractionClientCreateAuthCodeClient,
|
|
360
|
-
"StdIntClientCreateAuthCodeClient",
|
|
361
|
-
],
|
|
362
|
-
[
|
|
363
|
-
PerformanceEvents.StandardInteractionClientGetClientConfiguration,
|
|
364
|
-
"StdIntClientGetClientConf",
|
|
365
|
-
],
|
|
366
|
-
[
|
|
367
|
-
PerformanceEvents.StandardInteractionClientInitializeAuthorizationRequest,
|
|
368
|
-
"StdIntClientInitAuthReq",
|
|
369
|
-
],
|
|
370
|
-
[PerformanceEvents.GetAuthCodeUrl, "GetAuthCodeUrl"],
|
|
371
|
-
[
|
|
372
|
-
PerformanceEvents.HandleCodeResponseFromServer,
|
|
373
|
-
"HandleCodeResFromServer",
|
|
374
|
-
],
|
|
375
|
-
[PerformanceEvents.HandleCodeResponse, "HandleCodeResp"],
|
|
376
|
-
[PerformanceEvents.HandleResponseEar, "HandleRespEar"],
|
|
377
|
-
[PerformanceEvents.HandleResponseCode, "HandleRespCode"],
|
|
378
|
-
[
|
|
379
|
-
PerformanceEvents.HandleResponsePlatformBroker,
|
|
380
|
-
"HandleRespPlatBroker",
|
|
381
|
-
],
|
|
382
|
-
[PerformanceEvents.UpdateTokenEndpointAuthority, "UpdTEndpointAuth"],
|
|
383
|
-
[PerformanceEvents.AuthClientAcquireToken, "AuthClientAT"],
|
|
384
|
-
[PerformanceEvents.AuthClientExecuteTokenRequest, "AuthClientExecTReq"],
|
|
385
|
-
[
|
|
386
|
-
PerformanceEvents.AuthClientCreateTokenRequestBody,
|
|
387
|
-
"AuthClientCreateTReqBody",
|
|
388
|
-
],
|
|
389
|
-
[PerformanceEvents.PopTokenGenerateCnf, "PopTGenCnf"],
|
|
390
|
-
[PerformanceEvents.PopTokenGenerateKid, "PopTGenKid"],
|
|
391
|
-
[PerformanceEvents.HandleServerTokenResponse, "HandleServerTRes"],
|
|
392
|
-
[PerformanceEvents.DeserializeResponse, "DeserializeRes"],
|
|
393
|
-
[
|
|
394
|
-
PerformanceEvents.AuthorityFactoryCreateDiscoveredInstance,
|
|
395
|
-
"AuthFactCreateDiscInst",
|
|
396
|
-
],
|
|
397
|
-
[
|
|
398
|
-
PerformanceEvents.AuthorityResolveEndpointsAsync,
|
|
399
|
-
"AuthResolveEndpointsAsync",
|
|
400
|
-
],
|
|
401
|
-
[
|
|
402
|
-
PerformanceEvents.AuthorityResolveEndpointsFromLocalSources,
|
|
403
|
-
"AuthResolveEndpointsFromLocal",
|
|
404
|
-
],
|
|
405
|
-
[
|
|
406
|
-
PerformanceEvents.AuthorityGetCloudDiscoveryMetadataFromNetwork,
|
|
407
|
-
"AuthGetCDMetaFromNet",
|
|
408
|
-
],
|
|
409
|
-
[
|
|
410
|
-
PerformanceEvents.AuthorityUpdateCloudDiscoveryMetadata,
|
|
411
|
-
"AuthUpdCDMeta",
|
|
412
|
-
],
|
|
413
|
-
[
|
|
414
|
-
PerformanceEvents.AuthorityGetEndpointMetadataFromNetwork,
|
|
415
|
-
"AuthUpdCDMetaFromNet",
|
|
416
|
-
],
|
|
417
|
-
[
|
|
418
|
-
PerformanceEvents.AuthorityUpdateEndpointMetadata,
|
|
419
|
-
"AuthUpdEndpointMeta",
|
|
420
|
-
],
|
|
421
|
-
[
|
|
422
|
-
PerformanceEvents.AuthorityUpdateMetadataWithRegionalInformation,
|
|
423
|
-
"AuthUpdMetaWithRegInfo",
|
|
424
|
-
],
|
|
425
|
-
[PerformanceEvents.RegionDiscoveryDetectRegion, "RegDiscDetectReg"],
|
|
426
|
-
[
|
|
427
|
-
PerformanceEvents.RegionDiscoveryGetRegionFromIMDS,
|
|
428
|
-
"RegDiscGetRegFromIMDS",
|
|
429
|
-
],
|
|
430
|
-
[
|
|
431
|
-
PerformanceEvents.RegionDiscoveryGetCurrentVersion,
|
|
432
|
-
"RegDiscGetCurrentVer",
|
|
433
|
-
],
|
|
434
|
-
[PerformanceEvents.AcquireTokenByCodeAsync, "ATByCodeAsync"],
|
|
435
|
-
[
|
|
436
|
-
PerformanceEvents.GetEndpointMetadataFromNetwork,
|
|
437
|
-
"GetEndpointMetaFromNet",
|
|
438
|
-
],
|
|
439
|
-
[
|
|
440
|
-
PerformanceEvents.GetCloudDiscoveryMetadataFromNetworkMeasurement,
|
|
441
|
-
"GetCDMetaFromNet",
|
|
442
|
-
],
|
|
443
|
-
[
|
|
444
|
-
PerformanceEvents.HandleRedirectPromiseMeasurement,
|
|
445
|
-
"HandleRedirectPromise",
|
|
446
|
-
],
|
|
447
|
-
[
|
|
448
|
-
PerformanceEvents.HandleNativeRedirectPromiseMeasurement,
|
|
449
|
-
"HandleNtvRedirectPromise",
|
|
450
|
-
],
|
|
451
|
-
[
|
|
452
|
-
PerformanceEvents.UpdateCloudDiscoveryMetadataMeasurement,
|
|
453
|
-
"UpdateCDMeta",
|
|
454
|
-
],
|
|
455
|
-
[
|
|
456
|
-
PerformanceEvents.UsernamePasswordClientAcquireToken,
|
|
457
|
-
"UserPassClientAT",
|
|
458
|
-
],
|
|
459
|
-
[
|
|
460
|
-
PerformanceEvents.NativeMessageHandlerHandshake,
|
|
461
|
-
"NtvMsgHandlerHandshake",
|
|
462
|
-
],
|
|
463
|
-
[PerformanceEvents.NativeGenerateAuthResult, "NtvGenAuthRes"],
|
|
464
|
-
[PerformanceEvents.RemoveHiddenIframe, "RemoveHiddenIframe"],
|
|
465
|
-
[
|
|
466
|
-
PerformanceEvents.ClearTokensAndKeysWithClaims,
|
|
467
|
-
"ClearTAndKeysWithClaims",
|
|
468
|
-
],
|
|
469
|
-
[PerformanceEvents.CacheManagerGetRefreshToken, "CacheManagerGetRT"],
|
|
470
|
-
[PerformanceEvents.GeneratePkceCodes, "GenPkceCodes"],
|
|
471
|
-
[PerformanceEvents.GenerateCodeVerifier, "GenCodeVerifier"],
|
|
472
|
-
[
|
|
473
|
-
PerformanceEvents.GenerateCodeChallengeFromVerifier,
|
|
474
|
-
"GenCodeChallengeFromVerifier",
|
|
475
|
-
],
|
|
476
|
-
[PerformanceEvents.Sha256Digest, "Sha256Digest"],
|
|
477
|
-
[PerformanceEvents.GetRandomValues, "GetRandomValues"],
|
|
478
|
-
[PerformanceEvents.GenerateHKDF, "genHKDF"],
|
|
479
|
-
[PerformanceEvents.GenerateBaseKey, "genBaseKey"],
|
|
480
|
-
[PerformanceEvents.Base64Decode, "b64Decode"],
|
|
481
|
-
[PerformanceEvents.UrlEncodeArr, "urlEncArr"],
|
|
482
|
-
[PerformanceEvents.Encrypt, "encrypt"],
|
|
483
|
-
[PerformanceEvents.Decrypt, "decrypt"],
|
|
484
|
-
[PerformanceEvents.GenerateEarKey, "genEarKey"],
|
|
485
|
-
[PerformanceEvents.DecryptEarResponse, "decryptEarResp"],
|
|
486
|
-
]);
|
|
487
7
|
/**
|
|
488
8
|
* State of the performance event.
|
|
489
9
|
*
|
|
@@ -502,7 +22,6 @@ const IntFields = new Set([
|
|
|
502
22
|
"matsSilentStatus",
|
|
503
23
|
"matsHttpStatus",
|
|
504
24
|
"refreshTokenSize",
|
|
505
|
-
"queuedTimeMs",
|
|
506
25
|
"startTimeMs",
|
|
507
26
|
"status",
|
|
508
27
|
"multiMatchedAT",
|
|
@@ -522,5 +41,5 @@ const IntFields = new Set([
|
|
|
522
41
|
"upgradedCacheCount",
|
|
523
42
|
]);
|
|
524
43
|
|
|
525
|
-
export { IntFields,
|
|
44
|
+
export { IntFields, PerformanceEventStatus };
|
|
526
45
|
//# sourceMappingURL=PerformanceEvent.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PerformanceEvent.mjs","sources":["../../../src/telemetry/performance/PerformanceEvent.ts"],"sourcesContent":[null],"names":[],"mappings":";;AAAA;;;AAGG;AAIH;;;;;AAKG;AACU,MAAA,
|
|
1
|
+
{"version":3,"file":"PerformanceEvent.mjs","sources":["../../../src/telemetry/performance/PerformanceEvent.ts"],"sourcesContent":[null],"names":[],"mappings":";;AAAA;;;AAGG;AAIH;;;;;AAKG;AACU,MAAA,sBAAsB,GAAG;AAClC,IAAA,UAAU,EAAE,CAAC;AACb,IAAA,UAAU,EAAE,CAAC;AACb,IAAA,SAAS,EAAE,CAAC;EACL;AAiVE,MAAA,SAAS,GAAwB,IAAI,GAAG,CAAC;IAClD,iBAAiB;IACjB,YAAY;IACZ,aAAa;IACb,kBAAkB;IAClB,gBAAgB;IAChB,kBAAkB;IAClB,aAAa;IACb,QAAQ;IACR,gBAAgB;IAChB,gBAAgB;IAChB,gBAAgB;IAChB,uBAAuB;IACvB,4BAA4B;IAC5B,iBAAiB;IACjB,gBAAgB;IAChB,YAAY;IACZ,iBAAiB;IACjB,kBAAkB;IAClB,iBAAiB;IACjB,aAAa;IACb,kBAAkB;IAClB,0BAA0B;IAC1B,oBAAoB;AACvB,CAAA;;;;"}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Time spent sending/waiting for the response of a request to the token endpoint
|
|
3
|
+
*/
|
|
4
|
+
export declare const NetworkClientSendPostRequestAsync = "networkClientSendPostRequestAsync";
|
|
5
|
+
export declare const RefreshTokenClientExecutePostToTokenEndpoint = "refreshTokenClientExecutePostToTokenEndpoint";
|
|
6
|
+
export declare const AuthorizationCodeClientExecutePostToTokenEndpoint = "authorizationCodeClientExecutePostToTokenEndpoint";
|
|
7
|
+
/**
|
|
8
|
+
* Time spent on the network for refresh token acquisition
|
|
9
|
+
*/
|
|
10
|
+
export declare const RefreshTokenClientExecuteTokenRequest = "refreshTokenClientExecuteTokenRequest";
|
|
11
|
+
/**
|
|
12
|
+
* Time taken for acquiring refresh token , records RT size
|
|
13
|
+
*/
|
|
14
|
+
export declare const RefreshTokenClientAcquireToken = "refreshTokenClientAcquireToken";
|
|
15
|
+
/**
|
|
16
|
+
* Time taken for acquiring cached refresh token
|
|
17
|
+
*/
|
|
18
|
+
export declare const RefreshTokenClientAcquireTokenWithCachedRefreshToken = "refreshTokenClientAcquireTokenWithCachedRefreshToken";
|
|
19
|
+
/**
|
|
20
|
+
* Helper function to create token request body in RefreshTokenClient (msal-common).
|
|
21
|
+
*/
|
|
22
|
+
export declare const RefreshTokenClientCreateTokenRequestBody = "refreshTokenClientCreateTokenRequestBody";
|
|
23
|
+
export declare const SilentFlowClientGenerateResultFromCacheRecord = "silentFlowClientGenerateResultFromCacheRecord";
|
|
24
|
+
/**
|
|
25
|
+
* getAuthCodeUrl API (msal-browser and msal-node).
|
|
26
|
+
*/
|
|
27
|
+
export declare const GetAuthCodeUrl = "getAuthCodeUrl";
|
|
28
|
+
/**
|
|
29
|
+
* Functions from InteractionHandler (msal-browser)
|
|
30
|
+
*/
|
|
31
|
+
export declare const HandleCodeResponseFromServer = "handleCodeResponseFromServer";
|
|
32
|
+
/**
|
|
33
|
+
* APIs in Authorization Code Client (msal-common)
|
|
34
|
+
*/
|
|
35
|
+
export declare const AuthClientExecuteTokenRequest = "authClientExecuteTokenRequest";
|
|
36
|
+
export declare const AuthClientCreateTokenRequestBody = "authClientCreateTokenRequestBody";
|
|
37
|
+
export declare const UpdateTokenEndpointAuthority = "updateTokenEndpointAuthority";
|
|
38
|
+
/**
|
|
39
|
+
* Generate functions in PopTokenGenerator (msal-common)
|
|
40
|
+
*/
|
|
41
|
+
export declare const PopTokenGenerateCnf = "popTokenGenerateCnf";
|
|
42
|
+
/**
|
|
43
|
+
* handleServerTokenResponse API in ResponseHandler (msal-common)
|
|
44
|
+
*/
|
|
45
|
+
export declare const HandleServerTokenResponse = "handleServerTokenResponse";
|
|
46
|
+
/**
|
|
47
|
+
* Authority functions
|
|
48
|
+
*/
|
|
49
|
+
export declare const AuthorityResolveEndpointsAsync = "authorityResolveEndpointsAsync";
|
|
50
|
+
export declare const AuthorityGetCloudDiscoveryMetadataFromNetwork = "authorityGetCloudDiscoveryMetadataFromNetwork";
|
|
51
|
+
export declare const AuthorityUpdateCloudDiscoveryMetadata = "authorityUpdateCloudDiscoveryMetadata";
|
|
52
|
+
export declare const AuthorityGetEndpointMetadataFromNetwork = "authorityGetEndpointMetadataFromNetwork";
|
|
53
|
+
export declare const AuthorityUpdateEndpointMetadata = "authorityUpdateEndpointMetadata";
|
|
54
|
+
export declare const AuthorityUpdateMetadataWithRegionalInformation = "authorityUpdateMetadataWithRegionalInformation";
|
|
55
|
+
/**
|
|
56
|
+
* Region Discovery functions
|
|
57
|
+
*/
|
|
58
|
+
export declare const RegionDiscoveryDetectRegion = "regionDiscoveryDetectRegion";
|
|
59
|
+
export declare const RegionDiscoveryGetRegionFromIMDS = "regionDiscoveryGetRegionFromIMDS";
|
|
60
|
+
export declare const RegionDiscoveryGetCurrentVersion = "regionDiscoveryGetCurrentVersion";
|
|
61
|
+
/**
|
|
62
|
+
* Cache operations
|
|
63
|
+
*/
|
|
64
|
+
export declare const CacheManagerGetRefreshToken = "cacheManagerGetRefreshToken";
|
|
65
|
+
export declare const SetUserData = "setUserData";
|
|
66
|
+
//# sourceMappingURL=PerformanceEvents.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PerformanceEvents.d.ts","sourceRoot":"","sources":["../../../src/telemetry/performance/PerformanceEvents.ts"],"names":[],"mappings":"AAKA;;GAEG;AACH,eAAO,MAAM,iCAAiC,sCACP,CAAC;AACxC,eAAO,MAAM,4CAA4C,iDACP,CAAC;AACnD,eAAO,MAAM,iDAAiD,sDACP,CAAC;AAExD;;GAEG;AACH,eAAO,MAAM,qCAAqC,0CACP,CAAC;AAE5C;;GAEG;AACH,eAAO,MAAM,8BAA8B,mCAAmC,CAAC;AAE/E;;GAEG;AACH,eAAO,MAAM,oDAAoD,yDACP,CAAC;AAE3D;;GAEG;AACH,eAAO,MAAM,wCAAwC,6CACP,CAAC;AAE/C,eAAO,MAAM,6CAA6C,kDACP,CAAC;AAEpD;;GAEG;AACH,eAAO,MAAM,cAAc,mBAAmB,CAAC;AAE/C;;GAEG;AACH,eAAO,MAAM,4BAA4B,iCAAiC,CAAC;AAE3E;;GAEG;AACH,eAAO,MAAM,6BAA6B,kCAAkC,CAAC;AAC7E,eAAO,MAAM,gCAAgC,qCACP,CAAC;AACvC,eAAO,MAAM,4BAA4B,iCAAiC,CAAC;AAE3E;;GAEG;AACH,eAAO,MAAM,mBAAmB,wBAAwB,CAAC;AAEzD;;GAEG;AACH,eAAO,MAAM,yBAAyB,8BAA8B,CAAC;AAErE;;GAEG;AACH,eAAO,MAAM,8BAA8B,mCAAmC,CAAC;AAC/E,eAAO,MAAM,6CAA6C,kDACP,CAAC;AACpD,eAAO,MAAM,qCAAqC,0CACP,CAAC;AAC5C,eAAO,MAAM,uCAAuC,4CACP,CAAC;AAC9C,eAAO,MAAM,+BAA+B,oCACP,CAAC;AACtC,eAAO,MAAM,8CAA8C,mDACP,CAAC;AAErD;;GAEG;AACH,eAAO,MAAM,2BAA2B,gCAAgC,CAAC;AACzE,eAAO,MAAM,gCAAgC,qCACP,CAAC;AACvC,eAAO,MAAM,gCAAgC,qCACP,CAAC;AAEvC;;GAEG;AACH,eAAO,MAAM,2BAA2B,gCAAgC,CAAC;AACzE,eAAO,MAAM,WAAW,gBAAgB,CAAC"}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
/*! @azure/msal-common v16.0.0-beta.0 2025-12-05 */
|
|
2
|
+
'use strict';
|
|
3
|
+
/*
|
|
4
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
5
|
+
* Licensed under the MIT License.
|
|
6
|
+
*/
|
|
7
|
+
/**
|
|
8
|
+
* Time spent sending/waiting for the response of a request to the token endpoint
|
|
9
|
+
*/
|
|
10
|
+
const NetworkClientSendPostRequestAsync = "networkClientSendPostRequestAsync";
|
|
11
|
+
const RefreshTokenClientExecutePostToTokenEndpoint = "refreshTokenClientExecutePostToTokenEndpoint";
|
|
12
|
+
const AuthorizationCodeClientExecutePostToTokenEndpoint = "authorizationCodeClientExecutePostToTokenEndpoint";
|
|
13
|
+
/**
|
|
14
|
+
* Time spent on the network for refresh token acquisition
|
|
15
|
+
*/
|
|
16
|
+
const RefreshTokenClientExecuteTokenRequest = "refreshTokenClientExecuteTokenRequest";
|
|
17
|
+
/**
|
|
18
|
+
* Time taken for acquiring refresh token , records RT size
|
|
19
|
+
*/
|
|
20
|
+
const RefreshTokenClientAcquireToken = "refreshTokenClientAcquireToken";
|
|
21
|
+
/**
|
|
22
|
+
* Time taken for acquiring cached refresh token
|
|
23
|
+
*/
|
|
24
|
+
const RefreshTokenClientAcquireTokenWithCachedRefreshToken = "refreshTokenClientAcquireTokenWithCachedRefreshToken";
|
|
25
|
+
/**
|
|
26
|
+
* Helper function to create token request body in RefreshTokenClient (msal-common).
|
|
27
|
+
*/
|
|
28
|
+
const RefreshTokenClientCreateTokenRequestBody = "refreshTokenClientCreateTokenRequestBody";
|
|
29
|
+
const SilentFlowClientGenerateResultFromCacheRecord = "silentFlowClientGenerateResultFromCacheRecord";
|
|
30
|
+
/**
|
|
31
|
+
* getAuthCodeUrl API (msal-browser and msal-node).
|
|
32
|
+
*/
|
|
33
|
+
const GetAuthCodeUrl = "getAuthCodeUrl";
|
|
34
|
+
/**
|
|
35
|
+
* Functions from InteractionHandler (msal-browser)
|
|
36
|
+
*/
|
|
37
|
+
const HandleCodeResponseFromServer = "handleCodeResponseFromServer";
|
|
38
|
+
/**
|
|
39
|
+
* APIs in Authorization Code Client (msal-common)
|
|
40
|
+
*/
|
|
41
|
+
const AuthClientExecuteTokenRequest = "authClientExecuteTokenRequest";
|
|
42
|
+
const AuthClientCreateTokenRequestBody = "authClientCreateTokenRequestBody";
|
|
43
|
+
const UpdateTokenEndpointAuthority = "updateTokenEndpointAuthority";
|
|
44
|
+
/**
|
|
45
|
+
* Generate functions in PopTokenGenerator (msal-common)
|
|
46
|
+
*/
|
|
47
|
+
const PopTokenGenerateCnf = "popTokenGenerateCnf";
|
|
48
|
+
/**
|
|
49
|
+
* handleServerTokenResponse API in ResponseHandler (msal-common)
|
|
50
|
+
*/
|
|
51
|
+
const HandleServerTokenResponse = "handleServerTokenResponse";
|
|
52
|
+
/**
|
|
53
|
+
* Authority functions
|
|
54
|
+
*/
|
|
55
|
+
const AuthorityResolveEndpointsAsync = "authorityResolveEndpointsAsync";
|
|
56
|
+
const AuthorityGetCloudDiscoveryMetadataFromNetwork = "authorityGetCloudDiscoveryMetadataFromNetwork";
|
|
57
|
+
const AuthorityUpdateCloudDiscoveryMetadata = "authorityUpdateCloudDiscoveryMetadata";
|
|
58
|
+
const AuthorityGetEndpointMetadataFromNetwork = "authorityGetEndpointMetadataFromNetwork";
|
|
59
|
+
const AuthorityUpdateEndpointMetadata = "authorityUpdateEndpointMetadata";
|
|
60
|
+
const AuthorityUpdateMetadataWithRegionalInformation = "authorityUpdateMetadataWithRegionalInformation";
|
|
61
|
+
/**
|
|
62
|
+
* Region Discovery functions
|
|
63
|
+
*/
|
|
64
|
+
const RegionDiscoveryDetectRegion = "regionDiscoveryDetectRegion";
|
|
65
|
+
const RegionDiscoveryGetRegionFromIMDS = "regionDiscoveryGetRegionFromIMDS";
|
|
66
|
+
const RegionDiscoveryGetCurrentVersion = "regionDiscoveryGetCurrentVersion";
|
|
67
|
+
/**
|
|
68
|
+
* Cache operations
|
|
69
|
+
*/
|
|
70
|
+
const CacheManagerGetRefreshToken = "cacheManagerGetRefreshToken";
|
|
71
|
+
const SetUserData = "setUserData";
|
|
72
|
+
|
|
73
|
+
export { AuthClientCreateTokenRequestBody, AuthClientExecuteTokenRequest, AuthorityGetCloudDiscoveryMetadataFromNetwork, AuthorityGetEndpointMetadataFromNetwork, AuthorityResolveEndpointsAsync, AuthorityUpdateCloudDiscoveryMetadata, AuthorityUpdateEndpointMetadata, AuthorityUpdateMetadataWithRegionalInformation, AuthorizationCodeClientExecutePostToTokenEndpoint, CacheManagerGetRefreshToken, GetAuthCodeUrl, HandleCodeResponseFromServer, HandleServerTokenResponse, NetworkClientSendPostRequestAsync, PopTokenGenerateCnf, RefreshTokenClientAcquireToken, RefreshTokenClientAcquireTokenWithCachedRefreshToken, RefreshTokenClientCreateTokenRequestBody, RefreshTokenClientExecutePostToTokenEndpoint, RefreshTokenClientExecuteTokenRequest, RegionDiscoveryDetectRegion, RegionDiscoveryGetCurrentVersion, RegionDiscoveryGetRegionFromIMDS, SetUserData, SilentFlowClientGenerateResultFromCacheRecord, UpdateTokenEndpointAuthority };
|
|
74
|
+
//# sourceMappingURL=PerformanceEvents.mjs.map
|