@azure/msal-common 16.5.2 → 16.6.1
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/package.json +1 -1
- package/dist/account/AccountInfo.mjs +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.mjs +140 -5
- package/dist/authority/Authority.mjs.map +1 -1
- package/dist/authority/AuthorityFactory.mjs +1 -1
- package/dist/authority/AuthorityMetadata.mjs +10 -1
- package/dist/authority/AuthorityMetadata.mjs.map +1 -1
- package/dist/authority/AuthorityOptions.mjs +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/OpenIdConfigResponse.mjs +1 -1
- package/dist/authority/ProtocolMode.mjs +1 -1
- package/dist/authority/RegionDiscovery.mjs +1 -1
- package/dist/cache/CacheManager.mjs +1 -1
- package/dist/cache/persistence/TokenCacheContext.mjs +1 -1
- package/dist/cache/utils/AccountEntityUtils.mjs +1 -1
- package/dist/cache/utils/CacheHelpers.mjs +1 -1
- package/dist/client/AuthorizationCodeClient.mjs +1 -1
- package/dist/client/RefreshTokenClient.mjs +1 -1
- package/dist/client/SilentFlowClient.mjs +1 -1
- package/dist/config/ClientConfiguration.mjs +1 -1
- package/dist/constants/AADServerParamKeys.mjs +1 -1
- package/dist/crypto/ICrypto.mjs +1 -1
- package/dist/crypto/JoseHeader.mjs +1 -1
- package/dist/crypto/PopTokenGenerator.mjs +1 -1
- package/dist/error/AuthError.mjs +1 -1
- package/dist/error/AuthErrorCodes.mjs +1 -1
- package/dist/error/CacheError.mjs +1 -1
- package/dist/error/CacheErrorCodes.mjs +1 -1
- package/dist/error/ClientAuthError.mjs +1 -1
- package/dist/error/ClientAuthErrorCodes.mjs +1 -1
- package/dist/error/ClientConfigurationError.mjs +1 -1
- package/dist/error/ClientConfigurationErrorCodes.mjs +4 -3
- package/dist/error/ClientConfigurationErrorCodes.mjs.map +1 -1
- package/dist/error/InteractionRequiredAuthError.mjs +1 -1
- package/dist/error/InteractionRequiredAuthErrorCodes.mjs +1 -1
- package/dist/error/JoseHeaderError.mjs +1 -1
- package/dist/error/JoseHeaderErrorCodes.mjs +1 -1
- package/dist/error/NetworkError.mjs +1 -1
- package/dist/error/PlatformBrokerError.mjs +1 -1
- package/dist/error/ServerError.mjs +1 -1
- package/dist/index-node.mjs +1 -1
- package/dist/index.mjs +1 -1
- package/dist/logger/Logger.mjs +1 -1
- package/dist/network/INetworkModule.mjs +1 -1
- package/dist/network/RequestThumbprint.mjs +1 -1
- package/dist/network/ThrottlingUtils.mjs +1 -1
- package/dist/packageMetadata.mjs +2 -2
- package/dist/protocol/Authorize.mjs +1 -1
- package/dist/protocol/Token.mjs +1 -1
- package/dist/request/AuthenticationHeaderParser.mjs +1 -1
- package/dist/request/BaseAuthRequest.mjs +1 -1
- package/dist/request/RequestParameterBuilder.mjs +1 -1
- package/dist/request/ScopeSet.mjs +1 -1
- package/dist/response/ResponseHandler.mjs +1 -1
- package/dist/telemetry/performance/PerformanceClient.mjs +1 -1
- package/dist/telemetry/performance/PerformanceEvent.mjs +1 -1
- package/dist/telemetry/performance/PerformanceEvents.mjs +1 -1
- package/dist/telemetry/performance/StubPerformanceClient.mjs +1 -1
- package/dist/telemetry/server/ServerTelemetryManager.mjs +1 -1
- package/dist/url/UrlString.mjs +1 -1
- package/dist/utils/ClientAssertionUtils.mjs +1 -1
- package/dist/utils/Constants.mjs +1 -1
- package/dist/utils/FunctionWrappers.mjs +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.mjs +1 -1
- package/dist-browser/account/AccountInfo.mjs +1 -1
- package/dist-browser/account/AuthToken.mjs +1 -1
- package/dist-browser/account/CcsCredential.mjs +1 -1
- package/dist-browser/account/ClientInfo.mjs +1 -1
- package/dist-browser/account/TokenClaims.mjs +1 -1
- package/dist-browser/authority/Authority.mjs +140 -5
- package/dist-browser/authority/Authority.mjs.map +1 -1
- package/dist-browser/authority/AuthorityFactory.mjs +1 -1
- package/dist-browser/authority/AuthorityMetadata.mjs +10 -1
- package/dist-browser/authority/AuthorityMetadata.mjs.map +1 -1
- package/dist-browser/authority/AuthorityOptions.mjs +1 -1
- package/dist-browser/authority/AuthorityType.mjs +1 -1
- package/dist-browser/authority/CloudInstanceDiscoveryErrorResponse.mjs +1 -1
- package/dist-browser/authority/CloudInstanceDiscoveryResponse.mjs +1 -1
- package/dist-browser/authority/OpenIdConfigResponse.mjs +1 -1
- package/dist-browser/authority/ProtocolMode.mjs +1 -1
- package/dist-browser/authority/RegionDiscovery.mjs +1 -1
- package/dist-browser/cache/CacheManager.mjs +1 -1
- package/dist-browser/cache/persistence/TokenCacheContext.mjs +1 -1
- package/dist-browser/cache/utils/AccountEntityUtils.mjs +1 -1
- package/dist-browser/cache/utils/CacheHelpers.mjs +1 -1
- package/dist-browser/client/AuthorizationCodeClient.mjs +1 -1
- package/dist-browser/client/RefreshTokenClient.mjs +1 -1
- package/dist-browser/client/SilentFlowClient.mjs +1 -1
- package/dist-browser/config/ClientConfiguration.mjs +1 -1
- package/dist-browser/constants/AADServerParamKeys.mjs +1 -1
- package/dist-browser/crypto/ICrypto.mjs +1 -1
- package/dist-browser/crypto/JoseHeader.mjs +1 -1
- package/dist-browser/crypto/PopTokenGenerator.mjs +1 -1
- package/dist-browser/error/AuthError.mjs +1 -1
- package/dist-browser/error/AuthErrorCodes.mjs +1 -1
- package/dist-browser/error/CacheError.mjs +1 -1
- package/dist-browser/error/CacheErrorCodes.mjs +1 -1
- package/dist-browser/error/ClientAuthError.mjs +1 -1
- package/dist-browser/error/ClientAuthErrorCodes.mjs +1 -1
- package/dist-browser/error/ClientConfigurationError.mjs +1 -1
- package/dist-browser/error/ClientConfigurationErrorCodes.mjs +4 -3
- package/dist-browser/error/ClientConfigurationErrorCodes.mjs.map +1 -1
- package/dist-browser/error/InteractionRequiredAuthError.mjs +1 -1
- package/dist-browser/error/InteractionRequiredAuthErrorCodes.mjs +1 -1
- package/dist-browser/error/JoseHeaderError.mjs +1 -1
- package/dist-browser/error/JoseHeaderErrorCodes.mjs +1 -1
- package/dist-browser/error/NetworkError.mjs +1 -1
- package/dist-browser/error/PlatformBrokerError.mjs +1 -1
- package/dist-browser/error/ServerError.mjs +1 -1
- package/dist-browser/index-browser.mjs +1 -1
- package/dist-browser/index.mjs +1 -1
- package/dist-browser/log-strings-mapping.json +4 -4
- package/dist-browser/logger/Logger.mjs +1 -1
- package/dist-browser/network/INetworkModule.mjs +1 -1
- package/dist-browser/network/RequestThumbprint.mjs +1 -1
- package/dist-browser/network/ThrottlingUtils.mjs +1 -1
- package/dist-browser/packageMetadata.mjs +2 -2
- package/dist-browser/protocol/Authorize.mjs +1 -1
- package/dist-browser/protocol/Token.mjs +1 -1
- package/dist-browser/request/AuthenticationHeaderParser.mjs +1 -1
- package/dist-browser/request/BaseAuthRequest.mjs +1 -1
- package/dist-browser/request/RequestParameterBuilder.mjs +1 -1
- package/dist-browser/request/ScopeSet.mjs +1 -1
- package/dist-browser/response/ResponseHandler.mjs +1 -1
- package/dist-browser/telemetry/performance/PerformanceClient.mjs +1 -1
- package/dist-browser/telemetry/performance/PerformanceEvent.mjs +1 -1
- package/dist-browser/telemetry/performance/PerformanceEvents.mjs +1 -1
- package/dist-browser/telemetry/performance/StubPerformanceClient.mjs +1 -1
- package/dist-browser/telemetry/server/ServerTelemetryManager.mjs +1 -1
- package/dist-browser/url/UrlString.mjs +1 -1
- package/dist-browser/utils/ClientAssertionUtils.mjs +1 -1
- package/dist-browser/utils/Constants.mjs +1 -1
- package/dist-browser/utils/FunctionWrappers.mjs +1 -1
- package/dist-browser/utils/ProtocolUtils.mjs +1 -1
- package/dist-browser/utils/StringUtils.mjs +1 -1
- package/dist-browser/utils/TimeUtils.mjs +1 -1
- package/dist-browser/utils/UrlUtils.mjs +1 -1
- package/lib/index-browser.cjs +2 -2
- package/lib/{index-node-ByMjZ1FK.js → index-node-Cr_rbZzO.js} +152 -6
- package/lib/index-node-Cr_rbZzO.js.map +1 -0
- package/lib/index-node.cjs +2 -2
- package/lib/index.cjs +2 -2
- package/node/package.json +1 -1
- package/package.json +12 -10
- package/src/authority/Authority.ts +189 -2
- package/src/authority/AuthorityMetadata.ts +9 -0
- package/src/error/ClientConfigurationErrorCodes.ts +1 -0
- package/src/packageMetadata.ts +1 -1
- package/{dist-browser → types}/authority/Authority.d.ts +47 -1
- package/{dist-browser → types}/authority/Authority.d.ts.map +1 -1
- package/{dist-browser → types}/authority/AuthorityMetadata.d.ts.map +1 -1
- package/{dist → types}/error/ClientConfigurationErrorCodes.d.ts +1 -0
- package/{dist-browser → types}/error/ClientConfigurationErrorCodes.d.ts.map +1 -1
- package/types/index-browser.d.cts +1 -0
- package/types/index-node.d.cts +1 -0
- package/types/index.d.cts +1 -0
- package/types/packageMetadata.d.ts +3 -0
- package/dist/account/AccountInfo.d.ts +0 -73
- package/dist/account/AccountInfo.d.ts.map +0 -1
- package/dist/account/AuthToken.d.ts +0 -24
- package/dist/account/AuthToken.d.ts.map +0 -1
- package/dist/account/CcsCredential.d.ts +0 -10
- package/dist/account/CcsCredential.d.ts.map +0 -1
- package/dist/account/ClientCredentials.d.ts +0 -20
- package/dist/account/ClientCredentials.d.ts.map +0 -1
- package/dist/account/ClientInfo.d.ts +0 -23
- package/dist/account/ClientInfo.d.ts.map +0 -1
- package/dist/account/TokenClaims.d.ts +0 -88
- package/dist/account/TokenClaims.d.ts.map +0 -1
- package/dist/authority/Authority.d.ts +0 -255
- package/dist/authority/Authority.d.ts.map +0 -1
- package/dist/authority/AuthorityFactory.d.ts +0 -23
- package/dist/authority/AuthorityFactory.d.ts.map +0 -1
- package/dist/authority/AuthorityMetadata.d.ts +0 -44
- package/dist/authority/AuthorityMetadata.d.ts.map +0 -1
- package/dist/authority/AuthorityOptions.d.ts +0 -27
- package/dist/authority/AuthorityOptions.d.ts.map +0 -1
- package/dist/authority/AuthorityType.d.ts +0 -11
- package/dist/authority/AuthorityType.d.ts.map +0 -1
- package/dist/authority/AzureRegion.d.ts +0 -2
- package/dist/authority/AzureRegion.d.ts.map +0 -1
- package/dist/authority/AzureRegionConfiguration.d.ts +0 -6
- package/dist/authority/AzureRegionConfiguration.d.ts.map +0 -1
- package/dist/authority/CloudDiscoveryMetadata.d.ts +0 -6
- package/dist/authority/CloudDiscoveryMetadata.d.ts.map +0 -1
- package/dist/authority/CloudInstanceDiscoveryErrorResponse.d.ts +0 -14
- package/dist/authority/CloudInstanceDiscoveryErrorResponse.d.ts.map +0 -1
- package/dist/authority/CloudInstanceDiscoveryResponse.d.ts +0 -10
- package/dist/authority/CloudInstanceDiscoveryResponse.d.ts.map +0 -1
- package/dist/authority/ImdsOptions.d.ts +0 -6
- package/dist/authority/ImdsOptions.d.ts.map +0 -1
- package/dist/authority/OIDCOptions.d.ts +0 -9
- package/dist/authority/OIDCOptions.d.ts.map +0 -1
- package/dist/authority/OpenIdConfigResponse.d.ts +0 -12
- package/dist/authority/OpenIdConfigResponse.d.ts.map +0 -1
- package/dist/authority/ProtocolMode.d.ts +0 -20
- package/dist/authority/ProtocolMode.d.ts.map +0 -1
- package/dist/authority/RegionDiscovery.d.ts +0 -33
- package/dist/authority/RegionDiscovery.d.ts.map +0 -1
- package/dist/authority/RegionDiscoveryMetadata.d.ts +0 -7
- package/dist/authority/RegionDiscoveryMetadata.d.ts.map +0 -1
- package/dist/broker/nativeBroker/INativeBrokerPlugin.d.ts +0 -17
- package/dist/broker/nativeBroker/INativeBrokerPlugin.d.ts.map +0 -1
- package/dist/cache/CacheManager.d.ts +0 -485
- package/dist/cache/CacheManager.d.ts.map +0 -1
- package/dist/cache/entities/AccessTokenEntity.d.ts +0 -24
- package/dist/cache/entities/AccessTokenEntity.d.ts.map +0 -1
- package/dist/cache/entities/AccountEntity.d.ts +0 -47
- package/dist/cache/entities/AccountEntity.d.ts.map +0 -1
- package/dist/cache/entities/AppMetadataEntity.d.ts +0 -12
- package/dist/cache/entities/AppMetadataEntity.d.ts.map +0 -1
- package/dist/cache/entities/AuthorityMetadataEntity.d.ts +0 -16
- package/dist/cache/entities/AuthorityMetadataEntity.d.ts.map +0 -1
- package/dist/cache/entities/CacheRecord.d.ts +0 -14
- package/dist/cache/entities/CacheRecord.d.ts.map +0 -1
- package/dist/cache/entities/CredentialEntity.d.ts +0 -31
- package/dist/cache/entities/CredentialEntity.d.ts.map +0 -1
- package/dist/cache/entities/IdTokenEntity.d.ts +0 -9
- package/dist/cache/entities/IdTokenEntity.d.ts.map +0 -1
- package/dist/cache/entities/RefreshTokenEntity.d.ts +0 -8
- package/dist/cache/entities/RefreshTokenEntity.d.ts.map +0 -1
- package/dist/cache/entities/ServerTelemetryEntity.d.ts +0 -7
- package/dist/cache/entities/ServerTelemetryEntity.d.ts.map +0 -1
- package/dist/cache/entities/ThrottlingEntity.d.ts +0 -8
- package/dist/cache/entities/ThrottlingEntity.d.ts.map +0 -1
- package/dist/cache/interface/ICacheManager.d.ts +0 -188
- package/dist/cache/interface/ICacheManager.d.ts.map +0 -1
- package/dist/cache/interface/ICachePlugin.d.ts +0 -6
- package/dist/cache/interface/ICachePlugin.d.ts.map +0 -1
- package/dist/cache/interface/ISerializableTokenCache.d.ts +0 -5
- package/dist/cache/interface/ISerializableTokenCache.d.ts.map +0 -1
- package/dist/cache/persistence/TokenCacheContext.d.ts +0 -24
- package/dist/cache/persistence/TokenCacheContext.d.ts.map +0 -1
- package/dist/cache/utils/AccountEntityUtils.d.ts +0 -53
- package/dist/cache/utils/AccountEntityUtils.d.ts.map +0 -1
- package/dist/cache/utils/CacheHelpers.d.ts +0 -86
- package/dist/cache/utils/CacheHelpers.d.ts.map +0 -1
- package/dist/cache/utils/CacheTypes.d.ts +0 -69
- package/dist/cache/utils/CacheTypes.d.ts.map +0 -1
- package/dist/client/AuthorizationCodeClient.d.ts +0 -64
- package/dist/client/AuthorizationCodeClient.d.ts.map +0 -1
- package/dist/client/RefreshTokenClient.d.ts +0 -49
- package/dist/client/RefreshTokenClient.d.ts.map +0 -1
- package/dist/client/SilentFlowClient.d.ts +0 -35
- package/dist/client/SilentFlowClient.d.ts.map +0 -1
- package/dist/config/AppTokenProvider.d.ts +0 -39
- package/dist/config/AppTokenProvider.d.ts.map +0 -1
- package/dist/config/ClientConfiguration.d.ts +0 -145
- package/dist/config/ClientConfiguration.d.ts.map +0 -1
- package/dist/constants/AADServerParamKeys.d.ts +0 -61
- package/dist/constants/AADServerParamKeys.d.ts.map +0 -1
- package/dist/crypto/ICrypto.d.ts +0 -71
- package/dist/crypto/ICrypto.d.ts.map +0 -1
- package/dist/crypto/IGuidGenerator.d.ts +0 -5
- package/dist/crypto/IGuidGenerator.d.ts.map +0 -1
- package/dist/crypto/JoseHeader.d.ts +0 -23
- package/dist/crypto/JoseHeader.d.ts.map +0 -1
- package/dist/crypto/PopTokenGenerator.d.ts +0 -60
- package/dist/crypto/PopTokenGenerator.d.ts.map +0 -1
- package/dist/crypto/SignedHttpRequest.d.ts +0 -16
- package/dist/crypto/SignedHttpRequest.d.ts.map +0 -1
- package/dist/error/AuthError.d.ts +0 -33
- package/dist/error/AuthError.d.ts.map +0 -1
- package/dist/error/AuthErrorCodes.d.ts +0 -6
- package/dist/error/AuthErrorCodes.d.ts.map +0 -1
- package/dist/error/CacheError.d.ts +0 -23
- package/dist/error/CacheError.d.ts.map +0 -1
- package/dist/error/CacheErrorCodes.d.ts +0 -3
- package/dist/error/CacheErrorCodes.d.ts.map +0 -1
- package/dist/error/ClientAuthError.d.ts +0 -14
- package/dist/error/ClientAuthError.d.ts.map +0 -1
- package/dist/error/ClientAuthErrorCodes.d.ts +0 -40
- package/dist/error/ClientAuthErrorCodes.d.ts.map +0 -1
- package/dist/error/ClientConfigurationError.d.ts +0 -11
- package/dist/error/ClientConfigurationError.d.ts.map +0 -1
- package/dist/error/ClientConfigurationErrorCodes.d.ts.map +0 -1
- package/dist/error/InteractionRequiredAuthError.d.ts +0 -48
- package/dist/error/InteractionRequiredAuthError.d.ts.map +0 -1
- package/dist/error/InteractionRequiredAuthErrorCodes.d.ts +0 -46
- package/dist/error/InteractionRequiredAuthErrorCodes.d.ts.map +0 -1
- package/dist/error/JoseHeaderError.d.ts +0 -12
- package/dist/error/JoseHeaderError.d.ts.map +0 -1
- package/dist/error/JoseHeaderErrorCodes.d.ts +0 -3
- package/dist/error/JoseHeaderErrorCodes.d.ts.map +0 -1
- package/dist/error/NetworkError.d.ts +0 -19
- package/dist/error/NetworkError.d.ts.map +0 -1
- package/dist/error/PlatformBrokerError.d.ts +0 -16
- package/dist/error/PlatformBrokerError.d.ts.map +0 -1
- package/dist/error/ServerError.d.ts +0 -16
- package/dist/error/ServerError.d.ts.map +0 -1
- package/dist/exports-browser-only.d.ts +0 -11
- package/dist/exports-browser-only.d.ts.map +0 -1
- package/dist/exports-common.d.ts +0 -86
- package/dist/exports-common.d.ts.map +0 -1
- package/dist/exports-node-only.d.ts +0 -16
- package/dist/exports-node-only.d.ts.map +0 -1
- package/dist/index-browser.d.ts +0 -7
- package/dist/index-browser.d.ts.map +0 -1
- package/dist/index-node.d.ts +0 -7
- package/dist/index-node.d.ts.map +0 -1
- package/dist/index.d.ts +0 -12
- package/dist/index.d.ts.map +0 -1
- package/dist/logger/Logger.d.ts +0 -119
- package/dist/logger/Logger.d.ts.map +0 -1
- package/dist/network/INetworkModule.d.ts +0 -29
- package/dist/network/INetworkModule.d.ts.map +0 -1
- package/dist/network/NetworkResponse.d.ts +0 -6
- package/dist/network/NetworkResponse.d.ts.map +0 -1
- package/dist/network/RequestThumbprint.d.ts +0 -22
- package/dist/network/RequestThumbprint.d.ts.map +0 -1
- package/dist/network/ThrottlingUtils.d.ts +0 -43
- package/dist/network/ThrottlingUtils.d.ts.map +0 -1
- package/dist/packageMetadata.d.ts +0 -3
- package/dist/packageMetadata.d.ts.map +0 -1
- package/dist/protocol/Authorize.d.ts +0 -37
- package/dist/protocol/Authorize.d.ts.map +0 -1
- package/dist/protocol/Token.d.ts +0 -40
- package/dist/protocol/Token.d.ts.map +0 -1
- package/dist/request/AuthenticationHeaderParser.d.ts +0 -20
- package/dist/request/AuthenticationHeaderParser.d.ts.map +0 -1
- package/dist/request/BaseAuthRequest.d.ts +0 -111
- package/dist/request/BaseAuthRequest.d.ts.map +0 -1
- package/dist/request/CommonAuthorizationCodeRequest.d.ts +0 -32
- package/dist/request/CommonAuthorizationCodeRequest.d.ts.map +0 -1
- package/dist/request/CommonAuthorizationUrlRequest.d.ts +0 -71
- package/dist/request/CommonAuthorizationUrlRequest.d.ts.map +0 -1
- package/dist/request/CommonEndSessionRequest.d.ts +0 -36
- package/dist/request/CommonEndSessionRequest.d.ts.map +0 -1
- package/dist/request/CommonRefreshTokenRequest.d.ts +0 -24
- package/dist/request/CommonRefreshTokenRequest.d.ts.map +0 -1
- package/dist/request/CommonSilentFlowRequest.d.ts +0 -24
- package/dist/request/CommonSilentFlowRequest.d.ts.map +0 -1
- package/dist/request/NativeRequest.d.ts +0 -21
- package/dist/request/NativeRequest.d.ts.map +0 -1
- package/dist/request/NativeSignOutRequest.d.ts +0 -6
- package/dist/request/NativeSignOutRequest.d.ts.map +0 -1
- package/dist/request/RequestParameterBuilder.d.ts +0 -226
- package/dist/request/RequestParameterBuilder.d.ts.map +0 -1
- package/dist/request/ScopeSet.d.ts +0 -83
- package/dist/request/ScopeSet.d.ts.map +0 -1
- package/dist/request/StoreInCache.d.ts +0 -9
- package/dist/request/StoreInCache.d.ts.map +0 -1
- package/dist/response/AuthenticationResult.d.ts +0 -43
- package/dist/response/AuthenticationResult.d.ts.map +0 -1
- package/dist/response/AuthorizationCodePayload.d.ts +0 -14
- package/dist/response/AuthorizationCodePayload.d.ts.map +0 -1
- package/dist/response/AuthorizeResponse.d.ts +0 -83
- package/dist/response/AuthorizeResponse.d.ts.map +0 -1
- package/dist/response/DeviceCodeResponse.d.ts +0 -26
- package/dist/response/DeviceCodeResponse.d.ts.map +0 -1
- package/dist/response/ExternalTokenResponse.d.ts +0 -16
- package/dist/response/ExternalTokenResponse.d.ts.map +0 -1
- package/dist/response/IMDSBadResponse.d.ts +0 -5
- package/dist/response/IMDSBadResponse.d.ts.map +0 -1
- package/dist/response/ResponseHandler.d.ts +0 -63
- package/dist/response/ResponseHandler.d.ts.map +0 -1
- package/dist/response/ServerAuthorizationTokenResponse.d.ts +0 -48
- package/dist/response/ServerAuthorizationTokenResponse.d.ts.map +0 -1
- package/dist/telemetry/performance/IPerformanceClient.d.ts +0 -30
- package/dist/telemetry/performance/IPerformanceClient.d.ts.map +0 -1
- package/dist/telemetry/performance/IPerformanceMeasurement.d.ts +0 -6
- package/dist/telemetry/performance/IPerformanceMeasurement.d.ts.map +0 -1
- package/dist/telemetry/performance/PerformanceClient.d.ts +0 -170
- package/dist/telemetry/performance/PerformanceClient.d.ts.map +0 -1
- package/dist/telemetry/performance/PerformanceEvent.d.ts +0 -425
- package/dist/telemetry/performance/PerformanceEvent.d.ts.map +0 -1
- package/dist/telemetry/performance/PerformanceEvents.d.ts +0 -66
- package/dist/telemetry/performance/PerformanceEvents.d.ts.map +0 -1
- package/dist/telemetry/performance/StubPerformanceClient.d.ts +0 -21
- package/dist/telemetry/performance/StubPerformanceClient.d.ts.map +0 -1
- package/dist/telemetry/server/ServerTelemetryManager.d.ts +0 -79
- package/dist/telemetry/server/ServerTelemetryManager.d.ts.map +0 -1
- package/dist/telemetry/server/ServerTelemetryRequest.d.ts +0 -9
- package/dist/telemetry/server/ServerTelemetryRequest.d.ts.map +0 -1
- package/dist/url/IUri.d.ts +0 -13
- package/dist/url/IUri.d.ts.map +0 -1
- package/dist/url/UrlString.d.ts +0 -44
- package/dist/url/UrlString.d.ts.map +0 -1
- package/dist/utils/ClientAssertionUtils.d.ts +0 -3
- package/dist/utils/ClientAssertionUtils.d.ts.map +0 -1
- package/dist/utils/Constants.d.ts +0 -283
- package/dist/utils/Constants.d.ts.map +0 -1
- package/dist/utils/FunctionWrappers.d.ts +0 -28
- package/dist/utils/FunctionWrappers.d.ts.map +0 -1
- package/dist/utils/MsalTypes.d.ts +0 -7
- package/dist/utils/MsalTypes.d.ts.map +0 -1
- package/dist/utils/ProtocolUtils.d.ts +0 -22
- package/dist/utils/ProtocolUtils.d.ts.map +0 -1
- package/dist/utils/StateTypes.d.ts +0 -15
- package/dist/utils/StateTypes.d.ts.map +0 -1
- package/dist/utils/StringUtils.d.ts +0 -35
- package/dist/utils/StringUtils.d.ts.map +0 -1
- package/dist/utils/TimeUtils.d.ts +0 -43
- package/dist/utils/TimeUtils.d.ts.map +0 -1
- package/dist/utils/UrlUtils.d.ts +0 -23
- package/dist/utils/UrlUtils.d.ts.map +0 -1
- package/dist-browser/error/ClientConfigurationErrorCodes.d.ts +0 -23
- package/dist-browser/packageMetadata.d.ts +0 -3
- package/lib/index-node-ByMjZ1FK.js.map +0 -1
- package/lib/types/account/AccountInfo.d.ts +0 -73
- package/lib/types/account/AccountInfo.d.ts.map +0 -1
- package/lib/types/account/AuthToken.d.ts +0 -24
- package/lib/types/account/AuthToken.d.ts.map +0 -1
- package/lib/types/account/CcsCredential.d.ts +0 -10
- package/lib/types/account/CcsCredential.d.ts.map +0 -1
- package/lib/types/account/ClientCredentials.d.ts +0 -20
- package/lib/types/account/ClientCredentials.d.ts.map +0 -1
- package/lib/types/account/ClientInfo.d.ts +0 -23
- package/lib/types/account/ClientInfo.d.ts.map +0 -1
- package/lib/types/account/TokenClaims.d.ts +0 -88
- package/lib/types/account/TokenClaims.d.ts.map +0 -1
- package/lib/types/authority/Authority.d.ts +0 -255
- package/lib/types/authority/Authority.d.ts.map +0 -1
- package/lib/types/authority/AuthorityFactory.d.ts +0 -23
- package/lib/types/authority/AuthorityFactory.d.ts.map +0 -1
- package/lib/types/authority/AuthorityMetadata.d.ts +0 -44
- package/lib/types/authority/AuthorityMetadata.d.ts.map +0 -1
- package/lib/types/authority/AuthorityOptions.d.ts +0 -27
- package/lib/types/authority/AuthorityOptions.d.ts.map +0 -1
- package/lib/types/authority/AuthorityType.d.ts +0 -11
- package/lib/types/authority/AuthorityType.d.ts.map +0 -1
- package/lib/types/authority/AzureRegion.d.ts +0 -2
- package/lib/types/authority/AzureRegion.d.ts.map +0 -1
- package/lib/types/authority/AzureRegionConfiguration.d.ts +0 -6
- package/lib/types/authority/AzureRegionConfiguration.d.ts.map +0 -1
- package/lib/types/authority/CloudDiscoveryMetadata.d.ts +0 -6
- package/lib/types/authority/CloudDiscoveryMetadata.d.ts.map +0 -1
- package/lib/types/authority/CloudInstanceDiscoveryErrorResponse.d.ts +0 -14
- package/lib/types/authority/CloudInstanceDiscoveryErrorResponse.d.ts.map +0 -1
- package/lib/types/authority/CloudInstanceDiscoveryResponse.d.ts +0 -10
- package/lib/types/authority/CloudInstanceDiscoveryResponse.d.ts.map +0 -1
- package/lib/types/authority/ImdsOptions.d.ts +0 -6
- package/lib/types/authority/ImdsOptions.d.ts.map +0 -1
- package/lib/types/authority/OIDCOptions.d.ts +0 -9
- package/lib/types/authority/OIDCOptions.d.ts.map +0 -1
- package/lib/types/authority/OpenIdConfigResponse.d.ts +0 -12
- package/lib/types/authority/OpenIdConfigResponse.d.ts.map +0 -1
- package/lib/types/authority/ProtocolMode.d.ts +0 -20
- package/lib/types/authority/ProtocolMode.d.ts.map +0 -1
- package/lib/types/authority/RegionDiscovery.d.ts +0 -33
- package/lib/types/authority/RegionDiscovery.d.ts.map +0 -1
- package/lib/types/authority/RegionDiscoveryMetadata.d.ts +0 -7
- package/lib/types/authority/RegionDiscoveryMetadata.d.ts.map +0 -1
- package/lib/types/broker/nativeBroker/INativeBrokerPlugin.d.ts +0 -17
- package/lib/types/broker/nativeBroker/INativeBrokerPlugin.d.ts.map +0 -1
- package/lib/types/cache/CacheManager.d.ts +0 -485
- package/lib/types/cache/CacheManager.d.ts.map +0 -1
- package/lib/types/cache/entities/AccessTokenEntity.d.ts +0 -24
- package/lib/types/cache/entities/AccessTokenEntity.d.ts.map +0 -1
- package/lib/types/cache/entities/AccountEntity.d.ts +0 -47
- package/lib/types/cache/entities/AccountEntity.d.ts.map +0 -1
- package/lib/types/cache/entities/AppMetadataEntity.d.ts +0 -12
- package/lib/types/cache/entities/AppMetadataEntity.d.ts.map +0 -1
- package/lib/types/cache/entities/AuthorityMetadataEntity.d.ts +0 -16
- package/lib/types/cache/entities/AuthorityMetadataEntity.d.ts.map +0 -1
- package/lib/types/cache/entities/CacheRecord.d.ts +0 -14
- package/lib/types/cache/entities/CacheRecord.d.ts.map +0 -1
- package/lib/types/cache/entities/CredentialEntity.d.ts +0 -31
- package/lib/types/cache/entities/CredentialEntity.d.ts.map +0 -1
- package/lib/types/cache/entities/IdTokenEntity.d.ts +0 -9
- package/lib/types/cache/entities/IdTokenEntity.d.ts.map +0 -1
- package/lib/types/cache/entities/RefreshTokenEntity.d.ts +0 -8
- package/lib/types/cache/entities/RefreshTokenEntity.d.ts.map +0 -1
- package/lib/types/cache/entities/ServerTelemetryEntity.d.ts +0 -7
- package/lib/types/cache/entities/ServerTelemetryEntity.d.ts.map +0 -1
- package/lib/types/cache/entities/ThrottlingEntity.d.ts +0 -8
- package/lib/types/cache/entities/ThrottlingEntity.d.ts.map +0 -1
- package/lib/types/cache/interface/ICacheManager.d.ts +0 -188
- package/lib/types/cache/interface/ICacheManager.d.ts.map +0 -1
- package/lib/types/cache/interface/ICachePlugin.d.ts +0 -6
- package/lib/types/cache/interface/ICachePlugin.d.ts.map +0 -1
- package/lib/types/cache/interface/ISerializableTokenCache.d.ts +0 -5
- package/lib/types/cache/interface/ISerializableTokenCache.d.ts.map +0 -1
- package/lib/types/cache/persistence/TokenCacheContext.d.ts +0 -24
- package/lib/types/cache/persistence/TokenCacheContext.d.ts.map +0 -1
- package/lib/types/cache/utils/AccountEntityUtils.d.ts +0 -53
- package/lib/types/cache/utils/AccountEntityUtils.d.ts.map +0 -1
- package/lib/types/cache/utils/CacheHelpers.d.ts +0 -86
- package/lib/types/cache/utils/CacheHelpers.d.ts.map +0 -1
- package/lib/types/cache/utils/CacheTypes.d.ts +0 -69
- package/lib/types/cache/utils/CacheTypes.d.ts.map +0 -1
- package/lib/types/client/AuthorizationCodeClient.d.ts +0 -64
- package/lib/types/client/AuthorizationCodeClient.d.ts.map +0 -1
- package/lib/types/client/RefreshTokenClient.d.ts +0 -49
- package/lib/types/client/RefreshTokenClient.d.ts.map +0 -1
- package/lib/types/client/SilentFlowClient.d.ts +0 -35
- package/lib/types/client/SilentFlowClient.d.ts.map +0 -1
- package/lib/types/config/AppTokenProvider.d.ts +0 -39
- package/lib/types/config/AppTokenProvider.d.ts.map +0 -1
- package/lib/types/config/ClientConfiguration.d.ts +0 -145
- package/lib/types/config/ClientConfiguration.d.ts.map +0 -1
- package/lib/types/constants/AADServerParamKeys.d.ts +0 -61
- package/lib/types/constants/AADServerParamKeys.d.ts.map +0 -1
- package/lib/types/crypto/ICrypto.d.ts +0 -71
- package/lib/types/crypto/ICrypto.d.ts.map +0 -1
- package/lib/types/crypto/IGuidGenerator.d.ts +0 -5
- package/lib/types/crypto/IGuidGenerator.d.ts.map +0 -1
- package/lib/types/crypto/JoseHeader.d.ts +0 -23
- package/lib/types/crypto/JoseHeader.d.ts.map +0 -1
- package/lib/types/crypto/PopTokenGenerator.d.ts +0 -60
- package/lib/types/crypto/PopTokenGenerator.d.ts.map +0 -1
- package/lib/types/crypto/SignedHttpRequest.d.ts +0 -16
- package/lib/types/crypto/SignedHttpRequest.d.ts.map +0 -1
- package/lib/types/error/AuthError.d.ts +0 -33
- package/lib/types/error/AuthError.d.ts.map +0 -1
- package/lib/types/error/AuthErrorCodes.d.ts +0 -6
- package/lib/types/error/AuthErrorCodes.d.ts.map +0 -1
- package/lib/types/error/CacheError.d.ts +0 -23
- package/lib/types/error/CacheError.d.ts.map +0 -1
- package/lib/types/error/CacheErrorCodes.d.ts +0 -3
- package/lib/types/error/CacheErrorCodes.d.ts.map +0 -1
- package/lib/types/error/ClientAuthError.d.ts +0 -14
- package/lib/types/error/ClientAuthError.d.ts.map +0 -1
- package/lib/types/error/ClientAuthErrorCodes.d.ts +0 -40
- package/lib/types/error/ClientAuthErrorCodes.d.ts.map +0 -1
- package/lib/types/error/ClientConfigurationError.d.ts +0 -11
- package/lib/types/error/ClientConfigurationError.d.ts.map +0 -1
- package/lib/types/error/ClientConfigurationErrorCodes.d.ts +0 -23
- package/lib/types/error/ClientConfigurationErrorCodes.d.ts.map +0 -1
- package/lib/types/error/InteractionRequiredAuthError.d.ts +0 -48
- package/lib/types/error/InteractionRequiredAuthError.d.ts.map +0 -1
- package/lib/types/error/InteractionRequiredAuthErrorCodes.d.ts +0 -46
- package/lib/types/error/InteractionRequiredAuthErrorCodes.d.ts.map +0 -1
- package/lib/types/error/JoseHeaderError.d.ts +0 -12
- package/lib/types/error/JoseHeaderError.d.ts.map +0 -1
- package/lib/types/error/JoseHeaderErrorCodes.d.ts +0 -3
- package/lib/types/error/JoseHeaderErrorCodes.d.ts.map +0 -1
- package/lib/types/error/NetworkError.d.ts +0 -19
- package/lib/types/error/NetworkError.d.ts.map +0 -1
- package/lib/types/error/PlatformBrokerError.d.ts +0 -16
- package/lib/types/error/PlatformBrokerError.d.ts.map +0 -1
- package/lib/types/error/ServerError.d.ts +0 -16
- package/lib/types/error/ServerError.d.ts.map +0 -1
- package/lib/types/exports-browser-only.d.ts +0 -11
- package/lib/types/exports-browser-only.d.ts.map +0 -1
- package/lib/types/exports-common.d.ts +0 -86
- package/lib/types/exports-common.d.ts.map +0 -1
- package/lib/types/exports-node-only.d.ts +0 -16
- package/lib/types/exports-node-only.d.ts.map +0 -1
- package/lib/types/index-browser.d.ts +0 -7
- package/lib/types/index-browser.d.ts.map +0 -1
- package/lib/types/index-node.d.ts +0 -7
- package/lib/types/index-node.d.ts.map +0 -1
- package/lib/types/index.d.ts +0 -12
- package/lib/types/index.d.ts.map +0 -1
- package/lib/types/logger/Logger.d.ts +0 -119
- package/lib/types/logger/Logger.d.ts.map +0 -1
- package/lib/types/network/INetworkModule.d.ts +0 -29
- package/lib/types/network/INetworkModule.d.ts.map +0 -1
- package/lib/types/network/NetworkResponse.d.ts +0 -6
- package/lib/types/network/NetworkResponse.d.ts.map +0 -1
- package/lib/types/network/RequestThumbprint.d.ts +0 -22
- package/lib/types/network/RequestThumbprint.d.ts.map +0 -1
- package/lib/types/network/ThrottlingUtils.d.ts +0 -43
- package/lib/types/network/ThrottlingUtils.d.ts.map +0 -1
- package/lib/types/packageMetadata.d.ts +0 -3
- package/lib/types/packageMetadata.d.ts.map +0 -1
- package/lib/types/protocol/Authorize.d.ts +0 -37
- package/lib/types/protocol/Authorize.d.ts.map +0 -1
- package/lib/types/protocol/Token.d.ts +0 -40
- package/lib/types/protocol/Token.d.ts.map +0 -1
- package/lib/types/request/AuthenticationHeaderParser.d.ts +0 -20
- package/lib/types/request/AuthenticationHeaderParser.d.ts.map +0 -1
- package/lib/types/request/BaseAuthRequest.d.ts +0 -111
- package/lib/types/request/BaseAuthRequest.d.ts.map +0 -1
- package/lib/types/request/CommonAuthorizationCodeRequest.d.ts +0 -32
- package/lib/types/request/CommonAuthorizationCodeRequest.d.ts.map +0 -1
- package/lib/types/request/CommonAuthorizationUrlRequest.d.ts +0 -71
- package/lib/types/request/CommonAuthorizationUrlRequest.d.ts.map +0 -1
- package/lib/types/request/CommonEndSessionRequest.d.ts +0 -36
- package/lib/types/request/CommonEndSessionRequest.d.ts.map +0 -1
- package/lib/types/request/CommonRefreshTokenRequest.d.ts +0 -24
- package/lib/types/request/CommonRefreshTokenRequest.d.ts.map +0 -1
- package/lib/types/request/CommonSilentFlowRequest.d.ts +0 -24
- package/lib/types/request/CommonSilentFlowRequest.d.ts.map +0 -1
- package/lib/types/request/NativeRequest.d.ts +0 -21
- package/lib/types/request/NativeRequest.d.ts.map +0 -1
- package/lib/types/request/NativeSignOutRequest.d.ts +0 -6
- package/lib/types/request/NativeSignOutRequest.d.ts.map +0 -1
- package/lib/types/request/RequestParameterBuilder.d.ts +0 -226
- package/lib/types/request/RequestParameterBuilder.d.ts.map +0 -1
- package/lib/types/request/ScopeSet.d.ts +0 -83
- package/lib/types/request/ScopeSet.d.ts.map +0 -1
- package/lib/types/request/StoreInCache.d.ts +0 -9
- package/lib/types/request/StoreInCache.d.ts.map +0 -1
- package/lib/types/response/AuthenticationResult.d.ts +0 -43
- package/lib/types/response/AuthenticationResult.d.ts.map +0 -1
- package/lib/types/response/AuthorizationCodePayload.d.ts +0 -14
- package/lib/types/response/AuthorizationCodePayload.d.ts.map +0 -1
- package/lib/types/response/AuthorizeResponse.d.ts +0 -83
- package/lib/types/response/AuthorizeResponse.d.ts.map +0 -1
- package/lib/types/response/DeviceCodeResponse.d.ts +0 -26
- package/lib/types/response/DeviceCodeResponse.d.ts.map +0 -1
- package/lib/types/response/ExternalTokenResponse.d.ts +0 -16
- package/lib/types/response/ExternalTokenResponse.d.ts.map +0 -1
- package/lib/types/response/IMDSBadResponse.d.ts +0 -5
- package/lib/types/response/IMDSBadResponse.d.ts.map +0 -1
- package/lib/types/response/ResponseHandler.d.ts +0 -63
- package/lib/types/response/ResponseHandler.d.ts.map +0 -1
- package/lib/types/response/ServerAuthorizationTokenResponse.d.ts +0 -48
- package/lib/types/response/ServerAuthorizationTokenResponse.d.ts.map +0 -1
- package/lib/types/telemetry/performance/IPerformanceClient.d.ts +0 -30
- package/lib/types/telemetry/performance/IPerformanceClient.d.ts.map +0 -1
- package/lib/types/telemetry/performance/IPerformanceMeasurement.d.ts +0 -6
- package/lib/types/telemetry/performance/IPerformanceMeasurement.d.ts.map +0 -1
- package/lib/types/telemetry/performance/PerformanceClient.d.ts +0 -170
- package/lib/types/telemetry/performance/PerformanceClient.d.ts.map +0 -1
- package/lib/types/telemetry/performance/PerformanceEvent.d.ts +0 -425
- package/lib/types/telemetry/performance/PerformanceEvent.d.ts.map +0 -1
- package/lib/types/telemetry/performance/PerformanceEvents.d.ts +0 -66
- package/lib/types/telemetry/performance/PerformanceEvents.d.ts.map +0 -1
- package/lib/types/telemetry/performance/StubPerformanceClient.d.ts +0 -21
- package/lib/types/telemetry/performance/StubPerformanceClient.d.ts.map +0 -1
- package/lib/types/telemetry/server/ServerTelemetryManager.d.ts +0 -79
- package/lib/types/telemetry/server/ServerTelemetryManager.d.ts.map +0 -1
- package/lib/types/telemetry/server/ServerTelemetryRequest.d.ts +0 -9
- package/lib/types/telemetry/server/ServerTelemetryRequest.d.ts.map +0 -1
- package/lib/types/url/IUri.d.ts +0 -13
- package/lib/types/url/IUri.d.ts.map +0 -1
- package/lib/types/url/UrlString.d.ts +0 -44
- package/lib/types/url/UrlString.d.ts.map +0 -1
- package/lib/types/utils/ClientAssertionUtils.d.ts +0 -3
- package/lib/types/utils/ClientAssertionUtils.d.ts.map +0 -1
- package/lib/types/utils/Constants.d.ts +0 -283
- package/lib/types/utils/Constants.d.ts.map +0 -1
- package/lib/types/utils/FunctionWrappers.d.ts +0 -28
- package/lib/types/utils/FunctionWrappers.d.ts.map +0 -1
- package/lib/types/utils/MsalTypes.d.ts +0 -7
- package/lib/types/utils/MsalTypes.d.ts.map +0 -1
- package/lib/types/utils/ProtocolUtils.d.ts +0 -22
- package/lib/types/utils/ProtocolUtils.d.ts.map +0 -1
- package/lib/types/utils/StateTypes.d.ts +0 -15
- package/lib/types/utils/StateTypes.d.ts.map +0 -1
- package/lib/types/utils/StringUtils.d.ts +0 -35
- package/lib/types/utils/StringUtils.d.ts.map +0 -1
- package/lib/types/utils/TimeUtils.d.ts +0 -43
- package/lib/types/utils/TimeUtils.d.ts.map +0 -1
- package/lib/types/utils/UrlUtils.d.ts +0 -23
- package/lib/types/utils/UrlUtils.d.ts.map +0 -1
- /package/{dist-browser → types}/account/AccountInfo.d.ts +0 -0
- /package/{dist-browser → types}/account/AccountInfo.d.ts.map +0 -0
- /package/{dist-browser → types}/account/AuthToken.d.ts +0 -0
- /package/{dist-browser → types}/account/AuthToken.d.ts.map +0 -0
- /package/{dist-browser → types}/account/CcsCredential.d.ts +0 -0
- /package/{dist-browser → types}/account/CcsCredential.d.ts.map +0 -0
- /package/{dist-browser → types}/account/ClientCredentials.d.ts +0 -0
- /package/{dist-browser → types}/account/ClientCredentials.d.ts.map +0 -0
- /package/{dist-browser → types}/account/ClientInfo.d.ts +0 -0
- /package/{dist-browser → types}/account/ClientInfo.d.ts.map +0 -0
- /package/{dist-browser → types}/account/TokenClaims.d.ts +0 -0
- /package/{dist-browser → types}/account/TokenClaims.d.ts.map +0 -0
- /package/{dist-browser → types}/authority/AuthorityFactory.d.ts +0 -0
- /package/{dist-browser → types}/authority/AuthorityFactory.d.ts.map +0 -0
- /package/{dist-browser → types}/authority/AuthorityMetadata.d.ts +0 -0
- /package/{dist-browser → types}/authority/AuthorityOptions.d.ts +0 -0
- /package/{dist-browser → types}/authority/AuthorityOptions.d.ts.map +0 -0
- /package/{dist-browser → types}/authority/AuthorityType.d.ts +0 -0
- /package/{dist-browser → types}/authority/AuthorityType.d.ts.map +0 -0
- /package/{dist-browser → types}/authority/AzureRegion.d.ts +0 -0
- /package/{dist-browser → types}/authority/AzureRegion.d.ts.map +0 -0
- /package/{dist-browser → types}/authority/AzureRegionConfiguration.d.ts +0 -0
- /package/{dist-browser → types}/authority/AzureRegionConfiguration.d.ts.map +0 -0
- /package/{dist-browser → types}/authority/CloudDiscoveryMetadata.d.ts +0 -0
- /package/{dist-browser → types}/authority/CloudDiscoveryMetadata.d.ts.map +0 -0
- /package/{dist-browser → types}/authority/CloudInstanceDiscoveryErrorResponse.d.ts +0 -0
- /package/{dist-browser → types}/authority/CloudInstanceDiscoveryErrorResponse.d.ts.map +0 -0
- /package/{dist-browser → types}/authority/CloudInstanceDiscoveryResponse.d.ts +0 -0
- /package/{dist-browser → types}/authority/CloudInstanceDiscoveryResponse.d.ts.map +0 -0
- /package/{dist-browser → types}/authority/ImdsOptions.d.ts +0 -0
- /package/{dist-browser → types}/authority/ImdsOptions.d.ts.map +0 -0
- /package/{dist-browser → types}/authority/OIDCOptions.d.ts +0 -0
- /package/{dist-browser → types}/authority/OIDCOptions.d.ts.map +0 -0
- /package/{dist-browser → types}/authority/OpenIdConfigResponse.d.ts +0 -0
- /package/{dist-browser → types}/authority/OpenIdConfigResponse.d.ts.map +0 -0
- /package/{dist-browser → types}/authority/ProtocolMode.d.ts +0 -0
- /package/{dist-browser → types}/authority/ProtocolMode.d.ts.map +0 -0
- /package/{dist-browser → types}/authority/RegionDiscovery.d.ts +0 -0
- /package/{dist-browser → types}/authority/RegionDiscovery.d.ts.map +0 -0
- /package/{dist-browser → types}/authority/RegionDiscoveryMetadata.d.ts +0 -0
- /package/{dist-browser → types}/authority/RegionDiscoveryMetadata.d.ts.map +0 -0
- /package/{dist-browser → types}/broker/nativeBroker/INativeBrokerPlugin.d.ts +0 -0
- /package/{dist-browser → types}/broker/nativeBroker/INativeBrokerPlugin.d.ts.map +0 -0
- /package/{dist-browser → types}/cache/CacheManager.d.ts +0 -0
- /package/{dist-browser → types}/cache/CacheManager.d.ts.map +0 -0
- /package/{dist-browser → types}/cache/entities/AccessTokenEntity.d.ts +0 -0
- /package/{dist-browser → types}/cache/entities/AccessTokenEntity.d.ts.map +0 -0
- /package/{dist-browser → types}/cache/entities/AccountEntity.d.ts +0 -0
- /package/{dist-browser → types}/cache/entities/AccountEntity.d.ts.map +0 -0
- /package/{dist-browser → types}/cache/entities/AppMetadataEntity.d.ts +0 -0
- /package/{dist-browser → types}/cache/entities/AppMetadataEntity.d.ts.map +0 -0
- /package/{dist-browser → types}/cache/entities/AuthorityMetadataEntity.d.ts +0 -0
- /package/{dist-browser → types}/cache/entities/AuthorityMetadataEntity.d.ts.map +0 -0
- /package/{dist-browser → types}/cache/entities/CacheRecord.d.ts +0 -0
- /package/{dist-browser → types}/cache/entities/CacheRecord.d.ts.map +0 -0
- /package/{dist-browser → types}/cache/entities/CredentialEntity.d.ts +0 -0
- /package/{dist-browser → types}/cache/entities/CredentialEntity.d.ts.map +0 -0
- /package/{dist-browser → types}/cache/entities/IdTokenEntity.d.ts +0 -0
- /package/{dist-browser → types}/cache/entities/IdTokenEntity.d.ts.map +0 -0
- /package/{dist-browser → types}/cache/entities/RefreshTokenEntity.d.ts +0 -0
- /package/{dist-browser → types}/cache/entities/RefreshTokenEntity.d.ts.map +0 -0
- /package/{dist-browser → types}/cache/entities/ServerTelemetryEntity.d.ts +0 -0
- /package/{dist-browser → types}/cache/entities/ServerTelemetryEntity.d.ts.map +0 -0
- /package/{dist-browser → types}/cache/entities/ThrottlingEntity.d.ts +0 -0
- /package/{dist-browser → types}/cache/entities/ThrottlingEntity.d.ts.map +0 -0
- /package/{dist-browser → types}/cache/interface/ICacheManager.d.ts +0 -0
- /package/{dist-browser → types}/cache/interface/ICacheManager.d.ts.map +0 -0
- /package/{dist-browser → types}/cache/interface/ICachePlugin.d.ts +0 -0
- /package/{dist-browser → types}/cache/interface/ICachePlugin.d.ts.map +0 -0
- /package/{dist-browser → types}/cache/interface/ISerializableTokenCache.d.ts +0 -0
- /package/{dist-browser → types}/cache/interface/ISerializableTokenCache.d.ts.map +0 -0
- /package/{dist-browser → types}/cache/persistence/TokenCacheContext.d.ts +0 -0
- /package/{dist-browser → types}/cache/persistence/TokenCacheContext.d.ts.map +0 -0
- /package/{dist-browser → types}/cache/utils/AccountEntityUtils.d.ts +0 -0
- /package/{dist-browser → types}/cache/utils/AccountEntityUtils.d.ts.map +0 -0
- /package/{dist-browser → types}/cache/utils/CacheHelpers.d.ts +0 -0
- /package/{dist-browser → types}/cache/utils/CacheHelpers.d.ts.map +0 -0
- /package/{dist-browser → types}/cache/utils/CacheTypes.d.ts +0 -0
- /package/{dist-browser → types}/cache/utils/CacheTypes.d.ts.map +0 -0
- /package/{dist-browser → types}/client/AuthorizationCodeClient.d.ts +0 -0
- /package/{dist-browser → types}/client/AuthorizationCodeClient.d.ts.map +0 -0
- /package/{dist-browser → types}/client/RefreshTokenClient.d.ts +0 -0
- /package/{dist-browser → types}/client/RefreshTokenClient.d.ts.map +0 -0
- /package/{dist-browser → types}/client/SilentFlowClient.d.ts +0 -0
- /package/{dist-browser → types}/client/SilentFlowClient.d.ts.map +0 -0
- /package/{dist-browser → types}/config/AppTokenProvider.d.ts +0 -0
- /package/{dist-browser → types}/config/AppTokenProvider.d.ts.map +0 -0
- /package/{dist-browser → types}/config/ClientConfiguration.d.ts +0 -0
- /package/{dist-browser → types}/config/ClientConfiguration.d.ts.map +0 -0
- /package/{dist-browser → types}/constants/AADServerParamKeys.d.ts +0 -0
- /package/{dist-browser → types}/constants/AADServerParamKeys.d.ts.map +0 -0
- /package/{dist-browser → types}/crypto/ICrypto.d.ts +0 -0
- /package/{dist-browser → types}/crypto/ICrypto.d.ts.map +0 -0
- /package/{dist-browser → types}/crypto/IGuidGenerator.d.ts +0 -0
- /package/{dist-browser → types}/crypto/IGuidGenerator.d.ts.map +0 -0
- /package/{dist-browser → types}/crypto/JoseHeader.d.ts +0 -0
- /package/{dist-browser → types}/crypto/JoseHeader.d.ts.map +0 -0
- /package/{dist-browser → types}/crypto/PopTokenGenerator.d.ts +0 -0
- /package/{dist-browser → types}/crypto/PopTokenGenerator.d.ts.map +0 -0
- /package/{dist-browser → types}/crypto/SignedHttpRequest.d.ts +0 -0
- /package/{dist-browser → types}/crypto/SignedHttpRequest.d.ts.map +0 -0
- /package/{dist-browser → types}/error/AuthError.d.ts +0 -0
- /package/{dist-browser → types}/error/AuthError.d.ts.map +0 -0
- /package/{dist-browser → types}/error/AuthErrorCodes.d.ts +0 -0
- /package/{dist-browser → types}/error/AuthErrorCodes.d.ts.map +0 -0
- /package/{dist-browser → types}/error/CacheError.d.ts +0 -0
- /package/{dist-browser → types}/error/CacheError.d.ts.map +0 -0
- /package/{dist-browser → types}/error/CacheErrorCodes.d.ts +0 -0
- /package/{dist-browser → types}/error/CacheErrorCodes.d.ts.map +0 -0
- /package/{dist-browser → types}/error/ClientAuthError.d.ts +0 -0
- /package/{dist-browser → types}/error/ClientAuthError.d.ts.map +0 -0
- /package/{dist-browser → types}/error/ClientAuthErrorCodes.d.ts +0 -0
- /package/{dist-browser → types}/error/ClientAuthErrorCodes.d.ts.map +0 -0
- /package/{dist-browser → types}/error/ClientConfigurationError.d.ts +0 -0
- /package/{dist-browser → types}/error/ClientConfigurationError.d.ts.map +0 -0
- /package/{dist-browser → types}/error/InteractionRequiredAuthError.d.ts +0 -0
- /package/{dist-browser → types}/error/InteractionRequiredAuthError.d.ts.map +0 -0
- /package/{dist-browser → types}/error/InteractionRequiredAuthErrorCodes.d.ts +0 -0
- /package/{dist-browser → types}/error/InteractionRequiredAuthErrorCodes.d.ts.map +0 -0
- /package/{dist-browser → types}/error/JoseHeaderError.d.ts +0 -0
- /package/{dist-browser → types}/error/JoseHeaderError.d.ts.map +0 -0
- /package/{dist-browser → types}/error/JoseHeaderErrorCodes.d.ts +0 -0
- /package/{dist-browser → types}/error/JoseHeaderErrorCodes.d.ts.map +0 -0
- /package/{dist-browser → types}/error/NetworkError.d.ts +0 -0
- /package/{dist-browser → types}/error/NetworkError.d.ts.map +0 -0
- /package/{dist-browser → types}/error/PlatformBrokerError.d.ts +0 -0
- /package/{dist-browser → types}/error/PlatformBrokerError.d.ts.map +0 -0
- /package/{dist-browser → types}/error/ServerError.d.ts +0 -0
- /package/{dist-browser → types}/error/ServerError.d.ts.map +0 -0
- /package/{dist-browser → types}/exports-browser-only.d.ts +0 -0
- /package/{dist-browser → types}/exports-browser-only.d.ts.map +0 -0
- /package/{dist-browser → types}/exports-common.d.ts +0 -0
- /package/{dist-browser → types}/exports-common.d.ts.map +0 -0
- /package/{dist-browser → types}/exports-node-only.d.ts +0 -0
- /package/{dist-browser → types}/exports-node-only.d.ts.map +0 -0
- /package/{dist-browser → types}/index-browser.d.ts +0 -0
- /package/{dist-browser → types}/index-browser.d.ts.map +0 -0
- /package/{dist-browser → types}/index-node.d.ts +0 -0
- /package/{dist-browser → types}/index-node.d.ts.map +0 -0
- /package/{dist-browser → types}/index.d.ts +0 -0
- /package/{dist-browser → types}/index.d.ts.map +0 -0
- /package/{dist-browser → types}/logger/Logger.d.ts +0 -0
- /package/{dist-browser → types}/logger/Logger.d.ts.map +0 -0
- /package/{dist-browser → types}/network/INetworkModule.d.ts +0 -0
- /package/{dist-browser → types}/network/INetworkModule.d.ts.map +0 -0
- /package/{dist-browser → types}/network/NetworkResponse.d.ts +0 -0
- /package/{dist-browser → types}/network/NetworkResponse.d.ts.map +0 -0
- /package/{dist-browser → types}/network/RequestThumbprint.d.ts +0 -0
- /package/{dist-browser → types}/network/RequestThumbprint.d.ts.map +0 -0
- /package/{dist-browser → types}/network/ThrottlingUtils.d.ts +0 -0
- /package/{dist-browser → types}/network/ThrottlingUtils.d.ts.map +0 -0
- /package/{dist-browser → types}/packageMetadata.d.ts.map +0 -0
- /package/{dist-browser → types}/protocol/Authorize.d.ts +0 -0
- /package/{dist-browser → types}/protocol/Authorize.d.ts.map +0 -0
- /package/{dist-browser → types}/protocol/Token.d.ts +0 -0
- /package/{dist-browser → types}/protocol/Token.d.ts.map +0 -0
- /package/{dist-browser → types}/request/AuthenticationHeaderParser.d.ts +0 -0
- /package/{dist-browser → types}/request/AuthenticationHeaderParser.d.ts.map +0 -0
- /package/{dist-browser → types}/request/BaseAuthRequest.d.ts +0 -0
- /package/{dist-browser → types}/request/BaseAuthRequest.d.ts.map +0 -0
- /package/{dist-browser → types}/request/CommonAuthorizationCodeRequest.d.ts +0 -0
- /package/{dist-browser → types}/request/CommonAuthorizationCodeRequest.d.ts.map +0 -0
- /package/{dist-browser → types}/request/CommonAuthorizationUrlRequest.d.ts +0 -0
- /package/{dist-browser → types}/request/CommonAuthorizationUrlRequest.d.ts.map +0 -0
- /package/{dist-browser → types}/request/CommonEndSessionRequest.d.ts +0 -0
- /package/{dist-browser → types}/request/CommonEndSessionRequest.d.ts.map +0 -0
- /package/{dist-browser → types}/request/CommonRefreshTokenRequest.d.ts +0 -0
- /package/{dist-browser → types}/request/CommonRefreshTokenRequest.d.ts.map +0 -0
- /package/{dist-browser → types}/request/CommonSilentFlowRequest.d.ts +0 -0
- /package/{dist-browser → types}/request/CommonSilentFlowRequest.d.ts.map +0 -0
- /package/{dist-browser → types}/request/NativeRequest.d.ts +0 -0
- /package/{dist-browser → types}/request/NativeRequest.d.ts.map +0 -0
- /package/{dist-browser → types}/request/NativeSignOutRequest.d.ts +0 -0
- /package/{dist-browser → types}/request/NativeSignOutRequest.d.ts.map +0 -0
- /package/{dist-browser → types}/request/RequestParameterBuilder.d.ts +0 -0
- /package/{dist-browser → types}/request/RequestParameterBuilder.d.ts.map +0 -0
- /package/{dist-browser → types}/request/ScopeSet.d.ts +0 -0
- /package/{dist-browser → types}/request/ScopeSet.d.ts.map +0 -0
- /package/{dist-browser → types}/request/StoreInCache.d.ts +0 -0
- /package/{dist-browser → types}/request/StoreInCache.d.ts.map +0 -0
- /package/{dist-browser → types}/response/AuthenticationResult.d.ts +0 -0
- /package/{dist-browser → types}/response/AuthenticationResult.d.ts.map +0 -0
- /package/{dist-browser → types}/response/AuthorizationCodePayload.d.ts +0 -0
- /package/{dist-browser → types}/response/AuthorizationCodePayload.d.ts.map +0 -0
- /package/{dist-browser → types}/response/AuthorizeResponse.d.ts +0 -0
- /package/{dist-browser → types}/response/AuthorizeResponse.d.ts.map +0 -0
- /package/{dist-browser → types}/response/DeviceCodeResponse.d.ts +0 -0
- /package/{dist-browser → types}/response/DeviceCodeResponse.d.ts.map +0 -0
- /package/{dist-browser → types}/response/ExternalTokenResponse.d.ts +0 -0
- /package/{dist-browser → types}/response/ExternalTokenResponse.d.ts.map +0 -0
- /package/{dist-browser → types}/response/IMDSBadResponse.d.ts +0 -0
- /package/{dist-browser → types}/response/IMDSBadResponse.d.ts.map +0 -0
- /package/{dist-browser → types}/response/ResponseHandler.d.ts +0 -0
- /package/{dist-browser → types}/response/ResponseHandler.d.ts.map +0 -0
- /package/{dist-browser → types}/response/ServerAuthorizationTokenResponse.d.ts +0 -0
- /package/{dist-browser → types}/response/ServerAuthorizationTokenResponse.d.ts.map +0 -0
- /package/{dist-browser → types}/telemetry/performance/IPerformanceClient.d.ts +0 -0
- /package/{dist-browser → types}/telemetry/performance/IPerformanceClient.d.ts.map +0 -0
- /package/{dist-browser → types}/telemetry/performance/IPerformanceMeasurement.d.ts +0 -0
- /package/{dist-browser → types}/telemetry/performance/IPerformanceMeasurement.d.ts.map +0 -0
- /package/{dist-browser → types}/telemetry/performance/PerformanceClient.d.ts +0 -0
- /package/{dist-browser → types}/telemetry/performance/PerformanceClient.d.ts.map +0 -0
- /package/{dist-browser → types}/telemetry/performance/PerformanceEvent.d.ts +0 -0
- /package/{dist-browser → types}/telemetry/performance/PerformanceEvent.d.ts.map +0 -0
- /package/{dist-browser → types}/telemetry/performance/PerformanceEvents.d.ts +0 -0
- /package/{dist-browser → types}/telemetry/performance/PerformanceEvents.d.ts.map +0 -0
- /package/{dist-browser → types}/telemetry/performance/StubPerformanceClient.d.ts +0 -0
- /package/{dist-browser → types}/telemetry/performance/StubPerformanceClient.d.ts.map +0 -0
- /package/{dist-browser → types}/telemetry/server/ServerTelemetryManager.d.ts +0 -0
- /package/{dist-browser → types}/telemetry/server/ServerTelemetryManager.d.ts.map +0 -0
- /package/{dist-browser → types}/telemetry/server/ServerTelemetryRequest.d.ts +0 -0
- /package/{dist-browser → types}/telemetry/server/ServerTelemetryRequest.d.ts.map +0 -0
- /package/{dist-browser → types}/url/IUri.d.ts +0 -0
- /package/{dist-browser → types}/url/IUri.d.ts.map +0 -0
- /package/{dist-browser → types}/url/UrlString.d.ts +0 -0
- /package/{dist-browser → types}/url/UrlString.d.ts.map +0 -0
- /package/{dist-browser → types}/utils/ClientAssertionUtils.d.ts +0 -0
- /package/{dist-browser → types}/utils/ClientAssertionUtils.d.ts.map +0 -0
- /package/{dist-browser → types}/utils/Constants.d.ts +0 -0
- /package/{dist-browser → types}/utils/Constants.d.ts.map +0 -0
- /package/{dist-browser → types}/utils/FunctionWrappers.d.ts +0 -0
- /package/{dist-browser → types}/utils/FunctionWrappers.d.ts.map +0 -0
- /package/{dist-browser → types}/utils/MsalTypes.d.ts +0 -0
- /package/{dist-browser → types}/utils/MsalTypes.d.ts.map +0 -0
- /package/{dist-browser → types}/utils/ProtocolUtils.d.ts +0 -0
- /package/{dist-browser → types}/utils/ProtocolUtils.d.ts.map +0 -0
- /package/{dist-browser → types}/utils/StateTypes.d.ts +0 -0
- /package/{dist-browser → types}/utils/StateTypes.d.ts.map +0 -0
- /package/{dist-browser → types}/utils/StringUtils.d.ts +0 -0
- /package/{dist-browser → types}/utils/StringUtils.d.ts.map +0 -0
- /package/{dist-browser → types}/utils/TimeUtils.d.ts +0 -0
- /package/{dist-browser → types}/utils/TimeUtils.d.ts.map +0 -0
- /package/{dist-browser → types}/utils/UrlUtils.d.ts +0 -0
- /package/{dist-browser → types}/utils/UrlUtils.d.ts.map +0 -0
|
@@ -1,119 +0,0 @@
|
|
|
1
|
-
import type { LoggerOptions } from "../config/ClientConfiguration.js";
|
|
2
|
-
/**
|
|
3
|
-
* Options for logger messages.
|
|
4
|
-
*/
|
|
5
|
-
export type LoggerMessageOptions = {
|
|
6
|
-
logLevel: LogLevel;
|
|
7
|
-
containsPii?: boolean;
|
|
8
|
-
context?: string;
|
|
9
|
-
correlationId: string;
|
|
10
|
-
};
|
|
11
|
-
/**
|
|
12
|
-
* Log message level.
|
|
13
|
-
*/
|
|
14
|
-
export declare enum LogLevel {
|
|
15
|
-
Error = 0,
|
|
16
|
-
Warning = 1,
|
|
17
|
-
Info = 2,
|
|
18
|
-
Verbose = 3,
|
|
19
|
-
Trace = 4
|
|
20
|
-
}
|
|
21
|
-
/**
|
|
22
|
-
* Callback to send the messages to.
|
|
23
|
-
*/
|
|
24
|
-
export interface ILoggerCallback {
|
|
25
|
-
(level: LogLevel, message: string, containsPii: boolean): void;
|
|
26
|
-
}
|
|
27
|
-
/**
|
|
28
|
-
* Represents a single logged message with metadata
|
|
29
|
-
*/
|
|
30
|
-
export interface LoggedMessage {
|
|
31
|
-
hash: string;
|
|
32
|
-
level: LogLevel;
|
|
33
|
-
containsPii: boolean;
|
|
34
|
-
milliseconds: number;
|
|
35
|
-
}
|
|
36
|
-
/**
|
|
37
|
-
* Get all logs for specific correlation ID
|
|
38
|
-
* @param correlationId
|
|
39
|
-
*/
|
|
40
|
-
export declare function getLogsFromCache(correlationId: string): LoggedMessage[];
|
|
41
|
-
/**
|
|
42
|
-
* Get logs for correlation ID and flush them from cache
|
|
43
|
-
* Attaches logs with empty correlation id to the requested correlation logs
|
|
44
|
-
* @param correlationId
|
|
45
|
-
*/
|
|
46
|
-
export declare function getAndFlushLogsFromCache(correlationId: string): LoggedMessage[];
|
|
47
|
-
/**
|
|
48
|
-
* Get all correlation IDs that have logs
|
|
49
|
-
*/
|
|
50
|
-
export declare function getCachedCorrelationIds(): string[];
|
|
51
|
-
/**
|
|
52
|
-
* Class which facilitates logging of messages to a specific place.
|
|
53
|
-
*/
|
|
54
|
-
export declare class Logger {
|
|
55
|
-
private level;
|
|
56
|
-
private piiLoggingEnabled;
|
|
57
|
-
private localCallback;
|
|
58
|
-
private packageName;
|
|
59
|
-
private packageVersion;
|
|
60
|
-
constructor(loggerOptions: LoggerOptions, packageName?: string, packageVersion?: string);
|
|
61
|
-
private static createDefaultLoggerOptions;
|
|
62
|
-
/**
|
|
63
|
-
* Create new Logger with existing configurations.
|
|
64
|
-
*/
|
|
65
|
-
clone(packageName: string, packageVersion: string): Logger;
|
|
66
|
-
/**
|
|
67
|
-
* Log message with required options.
|
|
68
|
-
*/
|
|
69
|
-
private logMessage;
|
|
70
|
-
/**
|
|
71
|
-
* Execute callback with message.
|
|
72
|
-
*/
|
|
73
|
-
executeCallback(level: LogLevel, message: string, containsPii: boolean): void;
|
|
74
|
-
/**
|
|
75
|
-
* Logs error messages.
|
|
76
|
-
*/
|
|
77
|
-
error(message: string, correlationId: string): void;
|
|
78
|
-
/**
|
|
79
|
-
* Logs error messages with PII.
|
|
80
|
-
*/
|
|
81
|
-
errorPii(message: string, correlationId: string): void;
|
|
82
|
-
/**
|
|
83
|
-
* Logs warning messages.
|
|
84
|
-
*/
|
|
85
|
-
warning(message: string, correlationId: string): void;
|
|
86
|
-
/**
|
|
87
|
-
* Logs warning messages with PII.
|
|
88
|
-
*/
|
|
89
|
-
warningPii(message: string, correlationId: string): void;
|
|
90
|
-
/**
|
|
91
|
-
* Logs info messages.
|
|
92
|
-
*/
|
|
93
|
-
info(message: string, correlationId: string): void;
|
|
94
|
-
/**
|
|
95
|
-
* Logs info messages with PII.
|
|
96
|
-
*/
|
|
97
|
-
infoPii(message: string, correlationId: string): void;
|
|
98
|
-
/**
|
|
99
|
-
* Logs verbose messages.
|
|
100
|
-
*/
|
|
101
|
-
verbose(message: string, correlationId: string): void;
|
|
102
|
-
/**
|
|
103
|
-
* Logs verbose messages with PII.
|
|
104
|
-
*/
|
|
105
|
-
verbosePii(message: string, correlationId: string): void;
|
|
106
|
-
/**
|
|
107
|
-
* Logs trace messages.
|
|
108
|
-
*/
|
|
109
|
-
trace(message: string, correlationId: string): void;
|
|
110
|
-
/**
|
|
111
|
-
* Logs trace messages with PII.
|
|
112
|
-
*/
|
|
113
|
-
tracePii(message: string, correlationId: string): void;
|
|
114
|
-
/**
|
|
115
|
-
* Returns whether PII Logging is enabled or not.
|
|
116
|
-
*/
|
|
117
|
-
isPiiLoggingEnabled(): boolean;
|
|
118
|
-
}
|
|
119
|
-
//# sourceMappingURL=Logger.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Logger.d.ts","sourceRoot":"","sources":["../../../src/logger/Logger.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAC;AAEtE;;GAEG;AACH,MAAM,MAAM,oBAAoB,GAAG;IAC/B,QAAQ,EAAE,QAAQ,CAAC;IACnB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,aAAa,EAAE,MAAM,CAAC;CACzB,CAAC;AAEF;;GAEG;AACH,oBAAY,QAAQ;IAChB,KAAK,IAAA;IACL,OAAO,IAAA;IACP,IAAI,IAAA;IACJ,OAAO,IAAA;IACP,KAAK,IAAA;CACR;AAED;;GAEG;AACH,MAAM,WAAW,eAAe;IAC5B,CAAC,KAAK,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,OAAO,GAAG,IAAI,CAAC;CAClE;AAED;;GAEG;AACH,MAAM,WAAW,aAAa;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,QAAQ,CAAC;IAChB,WAAW,EAAE,OAAO,CAAC;IACrB,YAAY,EAAE,MAAM,CAAC;CACxB;AAoED;;;GAGG;AACH,wBAAgB,gBAAgB,CAAC,aAAa,EAAE,MAAM,GAAG,aAAa,EAAE,CAOvE;AAED;;;;GAIG;AACH,wBAAgB,wBAAwB,CACpC,aAAa,EAAE,MAAM,GACtB,aAAa,EAAE,CAQjB;AAED;;GAEG;AACH,wBAAgB,uBAAuB,IAAI,MAAM,EAAE,CAElD;AAwBD;;GAEG;AACH,qBAAa,MAAM;IAEf,OAAO,CAAC,KAAK,CAA2B;IAGxC,OAAO,CAAC,iBAAiB,CAAU;IAGnC,OAAO,CAAC,aAAa,CAAkB;IAGvC,OAAO,CAAC,WAAW,CAAS;IAG5B,OAAO,CAAC,cAAc,CAAS;gBAG3B,aAAa,EAAE,aAAa,EAC5B,WAAW,CAAC,EAAE,MAAM,EACpB,cAAc,CAAC,EAAE,MAAM;IAkB3B,OAAO,CAAC,MAAM,CAAC,0BAA0B;IAUzC;;OAEG;IACI,KAAK,CAAC,WAAW,EAAE,MAAM,EAAE,cAAc,EAAE,MAAM,GAAG,MAAM;IAYjE;;OAEG;IACH,OAAO,CAAC,UAAU;IAuClB;;OAEG;IACH,eAAe,CACX,KAAK,EAAE,QAAQ,EACf,OAAO,EAAE,MAAM,EACf,WAAW,EAAE,OAAO,GACrB,IAAI;IAMP;;OAEG;IACH,KAAK,CAAC,OAAO,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,GAAG,IAAI;IAQnD;;OAEG;IACH,QAAQ,CAAC,OAAO,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,GAAG,IAAI;IAQtD;;OAEG;IACH,OAAO,CAAC,OAAO,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,GAAG,IAAI;IAQrD;;OAEG;IACH,UAAU,CAAC,OAAO,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,GAAG,IAAI;IAQxD;;OAEG;IACH,IAAI,CAAC,OAAO,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,GAAG,IAAI;IAQlD;;OAEG;IACH,OAAO,CAAC,OAAO,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,GAAG,IAAI;IAQrD;;OAEG;IACH,OAAO,CAAC,OAAO,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,GAAG,IAAI;IAQrD;;OAEG;IACH,UAAU,CAAC,OAAO,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,GAAG,IAAI;IAQxD;;OAEG;IACH,KAAK,CAAC,OAAO,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,GAAG,IAAI;IAQnD;;OAEG;IACH,QAAQ,CAAC,OAAO,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,GAAG,IAAI;IAQtD;;OAEG;IACH,mBAAmB,IAAI,OAAO;CAGjC"}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { NetworkResponse } from "./NetworkResponse.js";
|
|
2
|
-
/**
|
|
3
|
-
* Options allowed by network request APIs.
|
|
4
|
-
*/
|
|
5
|
-
export type NetworkRequestOptions = {
|
|
6
|
-
headers?: Record<string, string>;
|
|
7
|
-
body?: string;
|
|
8
|
-
};
|
|
9
|
-
/**
|
|
10
|
-
* Client network interface to send backend requests.
|
|
11
|
-
* @interface
|
|
12
|
-
*/
|
|
13
|
-
export interface INetworkModule {
|
|
14
|
-
/**
|
|
15
|
-
* Interface function for async network "GET" requests. Based on the Fetch standard: https://fetch.spec.whatwg.org/
|
|
16
|
-
* @param url
|
|
17
|
-
* @param options - Headers and/or body to include on the request
|
|
18
|
-
* @param timeout
|
|
19
|
-
*/
|
|
20
|
-
sendGetRequestAsync<T>(url: string, options?: NetworkRequestOptions, timeout?: number): Promise<NetworkResponse<T>>;
|
|
21
|
-
/**
|
|
22
|
-
* Interface function for async network "POST" requests. Based on the Fetch standard: https://fetch.spec.whatwg.org/
|
|
23
|
-
* @param url
|
|
24
|
-
* @param options - Headers and/or body to include on the request
|
|
25
|
-
*/
|
|
26
|
-
sendPostRequestAsync<T>(url: string, options?: NetworkRequestOptions): Promise<NetworkResponse<T>>;
|
|
27
|
-
}
|
|
28
|
-
export declare const StubbedNetworkModule: INetworkModule;
|
|
29
|
-
//# sourceMappingURL=INetworkModule.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"INetworkModule.d.ts","sourceRoot":"","sources":["../../../src/network/INetworkModule.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAEvD;;GAEG;AACH,MAAM,MAAM,qBAAqB,GAAG;IAChC,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACjC,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF;;;GAGG;AACH,MAAM,WAAW,cAAc;IAC3B;;;;;OAKG;IACH,mBAAmB,CAAC,CAAC,EACjB,GAAG,EAAE,MAAM,EACX,OAAO,CAAC,EAAE,qBAAqB,EAC/B,OAAO,CAAC,EAAE,MAAM,GACjB,OAAO,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC,CAAC;IAE/B;;;;OAIG;IACH,oBAAoB,CAAC,CAAC,EAClB,GAAG,EAAE,MAAM,EACX,OAAO,CAAC,EAAE,qBAAqB,GAChC,OAAO,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC,CAAC;CAClC;AAED,eAAO,MAAM,oBAAoB,EAAE,cAWlC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"NetworkResponse.d.ts","sourceRoot":"","sources":["../../../src/network/NetworkResponse.ts"],"names":[],"mappings":"AAKA,MAAM,MAAM,eAAe,CAAC,CAAC,IAAI;IAC7B,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAChC,IAAI,EAAE,CAAC,CAAC;IACR,MAAM,EAAE,MAAM,CAAC;CAClB,CAAC"}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { ShrOptions } from "../crypto/SignedHttpRequest.js";
|
|
2
|
-
import { BaseAuthRequest } from "../request/BaseAuthRequest.js";
|
|
3
|
-
import { AuthenticationScheme } from "../utils/Constants.js";
|
|
4
|
-
/**
|
|
5
|
-
* Type representing a unique request thumbprint.
|
|
6
|
-
*/
|
|
7
|
-
export type RequestThumbprint = {
|
|
8
|
-
clientId: string;
|
|
9
|
-
authority: string;
|
|
10
|
-
scopes: Array<string>;
|
|
11
|
-
homeAccountIdentifier?: string;
|
|
12
|
-
claims?: string;
|
|
13
|
-
authenticationScheme?: AuthenticationScheme;
|
|
14
|
-
resourceRequestMethod?: string;
|
|
15
|
-
resourceRequestUri?: string;
|
|
16
|
-
shrClaims?: string;
|
|
17
|
-
sshKid?: string;
|
|
18
|
-
shrOptions?: ShrOptions;
|
|
19
|
-
embeddedClientId?: string;
|
|
20
|
-
};
|
|
21
|
-
export declare function getRequestThumbprint(clientId: string, request: BaseAuthRequest, homeAccountId?: string): RequestThumbprint;
|
|
22
|
-
//# sourceMappingURL=RequestThumbprint.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RequestThumbprint.d.ts","sourceRoot":"","sources":["../../../src/network/RequestThumbprint.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,UAAU,EAAE,MAAM,gCAAgC,CAAC;AAC5D,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAChE,OAAO,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAE7D;;GAEG;AACH,MAAM,MAAM,iBAAiB,GAAG;IAC5B,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACtB,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,oBAAoB,CAAC,EAAE,oBAAoB,CAAC;IAC5C,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC7B,CAAC;AAEF,wBAAgB,oBAAoB,CAChC,QAAQ,EAAE,MAAM,EAChB,OAAO,EAAE,eAAe,EACxB,aAAa,CAAC,EAAE,MAAM,GACvB,iBAAiB,CAenB"}
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { NetworkResponse } from "./NetworkResponse.js";
|
|
2
|
-
import { ServerAuthorizationTokenResponse } from "../response/ServerAuthorizationTokenResponse.js";
|
|
3
|
-
import { CacheManager } from "../cache/CacheManager.js";
|
|
4
|
-
import { RequestThumbprint } from "./RequestThumbprint.js";
|
|
5
|
-
import { BaseAuthRequest } from "../request/BaseAuthRequest.js";
|
|
6
|
-
/** @internal */
|
|
7
|
-
export declare class ThrottlingUtils {
|
|
8
|
-
/**
|
|
9
|
-
* Prepares a RequestThumbprint to be stored as a key.
|
|
10
|
-
* @param thumbprint
|
|
11
|
-
*/
|
|
12
|
-
static generateThrottlingStorageKey(thumbprint: RequestThumbprint): string;
|
|
13
|
-
/**
|
|
14
|
-
* Performs necessary throttling checks before a network request.
|
|
15
|
-
* @param cacheManager
|
|
16
|
-
* @param thumbprint
|
|
17
|
-
*/
|
|
18
|
-
static preProcess(cacheManager: CacheManager, thumbprint: RequestThumbprint, correlationId: string): void;
|
|
19
|
-
/**
|
|
20
|
-
* Performs necessary throttling checks after a network request.
|
|
21
|
-
* @param cacheManager
|
|
22
|
-
* @param thumbprint
|
|
23
|
-
* @param response
|
|
24
|
-
*/
|
|
25
|
-
static postProcess(cacheManager: CacheManager, thumbprint: RequestThumbprint, response: NetworkResponse<ServerAuthorizationTokenResponse>, correlationId: string): void;
|
|
26
|
-
/**
|
|
27
|
-
* Checks a NetworkResponse object's status codes against 429 or 5xx
|
|
28
|
-
* @param response
|
|
29
|
-
*/
|
|
30
|
-
static checkResponseStatus(response: NetworkResponse<ServerAuthorizationTokenResponse>): boolean;
|
|
31
|
-
/**
|
|
32
|
-
* Checks a NetworkResponse object's RetryAfter header
|
|
33
|
-
* @param response
|
|
34
|
-
*/
|
|
35
|
-
static checkResponseForRetryAfter(response: NetworkResponse<ServerAuthorizationTokenResponse>): boolean;
|
|
36
|
-
/**
|
|
37
|
-
* Calculates the Unix-time value for a throttle to expire given throttleTime in seconds.
|
|
38
|
-
* @param throttleTime
|
|
39
|
-
*/
|
|
40
|
-
static calculateThrottleTime(throttleTime: number): number;
|
|
41
|
-
static removeThrottle(cacheManager: CacheManager, clientId: string, request: BaseAuthRequest, homeAccountIdentifier?: string): void;
|
|
42
|
-
}
|
|
43
|
-
//# sourceMappingURL=ThrottlingUtils.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ThrottlingUtils.d.ts","sourceRoot":"","sources":["../../../src/network/ThrottlingUtils.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,gCAAgC,EAAE,MAAM,iDAAiD,CAAC;AAEnG,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAExD,OAAO,EAEH,iBAAiB,EACpB,MAAM,wBAAwB,CAAC;AAEhC,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAEhE,gBAAgB;AAChB,qBAAa,eAAe;IACxB;;;OAGG;IACH,MAAM,CAAC,4BAA4B,CAAC,UAAU,EAAE,iBAAiB,GAAG,MAAM;IAI1E;;;;OAIG;IACH,MAAM,CAAC,UAAU,CACb,YAAY,EAAE,YAAY,EAC1B,UAAU,EAAE,iBAAiB,EAC7B,aAAa,EAAE,MAAM,GACtB,IAAI;IAiBP;;;;;OAKG;IACH,MAAM,CAAC,WAAW,CACd,YAAY,EAAE,YAAY,EAC1B,UAAU,EAAE,iBAAiB,EAC7B,QAAQ,EAAE,eAAe,CAAC,gCAAgC,CAAC,EAC3D,aAAa,EAAE,MAAM,GACtB,IAAI;IAwBP;;;OAGG;IACH,MAAM,CAAC,mBAAmB,CACtB,QAAQ,EAAE,eAAe,CAAC,gCAAgC,CAAC,GAC5D,OAAO;IAOV;;;OAGG;IACH,MAAM,CAAC,0BAA0B,CAC7B,QAAQ,EAAE,eAAe,CAAC,gCAAgC,CAAC,GAC5D,OAAO;IAYV;;;OAGG;IACH,MAAM,CAAC,qBAAqB,CAAC,YAAY,EAAE,MAAM,GAAG,MAAM;IAa1D,MAAM,CAAC,cAAc,CACjB,YAAY,EAAE,YAAY,EAC1B,QAAQ,EAAE,MAAM,EAChB,OAAO,EAAE,eAAe,EACxB,qBAAqB,CAAC,EAAE,MAAM,GAC/B,IAAI;CASV"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"packageMetadata.d.ts","sourceRoot":"","sources":["../../src/packageMetadata.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,IAAI,uBAAuB,CAAC;AACzC,eAAO,MAAM,OAAO,WAAW,CAAC"}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { CommonAuthorizationUrlRequest } from "../request/CommonAuthorizationUrlRequest.js";
|
|
2
|
-
import { IPerformanceClient } from "../telemetry/performance/IPerformanceClient.js";
|
|
3
|
-
import { AuthOptions } from "../config/ClientConfiguration.js";
|
|
4
|
-
import { Logger } from "../logger/Logger.js";
|
|
5
|
-
import { Authority } from "../authority/Authority.js";
|
|
6
|
-
import { AuthorizationCodePayload } from "../response/AuthorizationCodePayload.js";
|
|
7
|
-
import { AuthorizeResponse } from "../response/AuthorizeResponse.js";
|
|
8
|
-
/**
|
|
9
|
-
* Returns map of parameters that are applicable to all calls to /authorize whether using PKCE or EAR
|
|
10
|
-
* @param config
|
|
11
|
-
* @param request
|
|
12
|
-
* @param logger
|
|
13
|
-
* @param performanceClient
|
|
14
|
-
* @returns
|
|
15
|
-
*/
|
|
16
|
-
export declare function getStandardAuthorizeRequestParameters(authOptions: AuthOptions, request: CommonAuthorizationUrlRequest, logger: Logger, performanceClient?: IPerformanceClient): Map<string, string>;
|
|
17
|
-
/**
|
|
18
|
-
* Returns authorize endpoint with given request parameters in the query string
|
|
19
|
-
* @param authority
|
|
20
|
-
* @param requestParameters
|
|
21
|
-
* @returns
|
|
22
|
-
*/
|
|
23
|
-
export declare function getAuthorizeUrl(authority: Authority, requestParameters: Map<string, string>): string;
|
|
24
|
-
/**
|
|
25
|
-
* Handles the hash fragment response from public client code request. Returns a code response used by
|
|
26
|
-
* the client to exchange for a token in acquireToken.
|
|
27
|
-
* @param serverParams
|
|
28
|
-
* @param cachedState
|
|
29
|
-
*/
|
|
30
|
-
export declare function getAuthorizationCodePayload(serverParams: AuthorizeResponse, cachedState: string): AuthorizationCodePayload;
|
|
31
|
-
/**
|
|
32
|
-
* Function which validates server authorization code response.
|
|
33
|
-
* @param serverResponseHash
|
|
34
|
-
* @param requestState
|
|
35
|
-
*/
|
|
36
|
-
export declare function validateAuthorizationResponse(serverResponse: AuthorizeResponse, requestState: string): void;
|
|
37
|
-
//# sourceMappingURL=Authorize.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Authorize.d.ts","sourceRoot":"","sources":["../../../src/protocol/Authorize.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,6BAA6B,EAAE,MAAM,6CAA6C,CAAC;AAE5F,OAAO,EAAE,kBAAkB,EAAE,MAAM,gDAAgD,CAAC;AAEpF,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAC;AAG/D,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAE7C,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAGtD,OAAO,EAAE,wBAAwB,EAAE,MAAM,yCAAyC,CAAC;AACnF,OAAO,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AAWrE;;;;;;;GAOG;AACH,wBAAgB,qCAAqC,CACjD,WAAW,EAAE,WAAW,EACxB,OAAO,EAAE,6BAA6B,EACtC,MAAM,EAAE,MAAM,EACd,iBAAiB,CAAC,EAAE,kBAAkB,GACvC,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAiOrB;AAED;;;;;GAKG;AACH,wBAAgB,eAAe,CAC3B,SAAS,EAAE,SAAS,EACpB,iBAAiB,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,GACvC,MAAM,CAMR;AAED;;;;;GAKG;AACH,wBAAgB,2BAA2B,CACvC,YAAY,EAAE,iBAAiB,EAC/B,WAAW,EAAE,MAAM,GACpB,wBAAwB,CAY1B;AAED;;;;GAIG;AACH,wBAAgB,6BAA6B,CACzC,cAAc,EAAE,iBAAiB,EACjC,YAAY,EAAE,MAAM,GACrB,IAAI,CAuEN"}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { CcsCredential } from "../account/CcsCredential.js";
|
|
2
|
-
import { Logger } from "../logger/Logger.js";
|
|
3
|
-
import { BaseAuthRequest } from "../request/BaseAuthRequest.js";
|
|
4
|
-
import { IPerformanceClient } from "../exports-browser-only.js";
|
|
5
|
-
import { ServerAuthorizationTokenResponse } from "../response/ServerAuthorizationTokenResponse.js";
|
|
6
|
-
import { RequestThumbprint } from "../network/RequestThumbprint.js";
|
|
7
|
-
import { INetworkModule, NetworkRequestOptions } from "../network/INetworkModule.js";
|
|
8
|
-
import { NetworkResponse } from "../network/NetworkResponse.js";
|
|
9
|
-
import { CacheManager } from "../cache/CacheManager.js";
|
|
10
|
-
import { ServerTelemetryManager } from "../telemetry/server/ServerTelemetryManager.js";
|
|
11
|
-
/**
|
|
12
|
-
* Creates default headers for requests to token endpoint
|
|
13
|
-
*/
|
|
14
|
-
export declare function createTokenRequestHeaders(logger: Logger, preventCorsPreflight: boolean, ccsCred?: CcsCredential): Record<string, string>;
|
|
15
|
-
/**
|
|
16
|
-
* Creates query string for the /token request
|
|
17
|
-
* @param request
|
|
18
|
-
*/
|
|
19
|
-
export declare function createTokenQueryParameters(request: BaseAuthRequest, clientId: string, redirectUri: string, performanceClient: IPerformanceClient): string;
|
|
20
|
-
/**
|
|
21
|
-
* Http post to token endpoint
|
|
22
|
-
* @param tokenEndpoint
|
|
23
|
-
* @param queryString
|
|
24
|
-
* @param headers
|
|
25
|
-
* @param thumbprint
|
|
26
|
-
*/
|
|
27
|
-
export declare function executePostToTokenEndpoint(tokenEndpoint: string, queryString: string, headers: Record<string, string>, thumbprint: RequestThumbprint, correlationId: string, cacheManager: CacheManager, networkClient: INetworkModule, logger: Logger, performanceClient: IPerformanceClient, serverTelemetryManager: ServerTelemetryManager | null): Promise<NetworkResponse<ServerAuthorizationTokenResponse>>;
|
|
28
|
-
/**
|
|
29
|
-
* Wraps sendPostRequestAsync with necessary preflight and postflight logic
|
|
30
|
-
* @param thumbprint - Request thumbprint for throttling
|
|
31
|
-
* @param tokenEndpoint - Endpoint to make the POST to
|
|
32
|
-
* @param options - Body and Headers to include on the POST request
|
|
33
|
-
* @param correlationId - CorrelationId for telemetry
|
|
34
|
-
* @param cacheManager - Cache manager instance
|
|
35
|
-
* @param networkClient - Network module instance
|
|
36
|
-
* @param logger - Logger instance
|
|
37
|
-
* @param performanceClient - Performance client instance
|
|
38
|
-
*/
|
|
39
|
-
export declare function sendPostRequest<T extends ServerAuthorizationTokenResponse>(thumbprint: RequestThumbprint, tokenEndpoint: string, options: NetworkRequestOptions, correlationId: string, cacheManager: CacheManager, networkClient: INetworkModule, logger: Logger, performanceClient: IPerformanceClient): Promise<NetworkResponse<T>>;
|
|
40
|
-
//# sourceMappingURL=Token.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Token.d.ts","sourceRoot":"","sources":["../../../src/protocol/Token.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,aAAa,EAAqB,MAAM,6BAA6B,CAAC;AAE/E,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAC7C,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAIhE,OAAO,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAChE,OAAO,EAAE,gCAAgC,EAAE,MAAM,iDAAiD,CAAC;AACnG,OAAO,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAC;AACpE,OAAO,EACH,cAAc,EACd,qBAAqB,EACxB,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAUhE,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AACxD,OAAO,EAAE,sBAAsB,EAAE,MAAM,+CAA+C,CAAC;AAEvF;;GAEG;AACH,wBAAgB,yBAAyB,CACrC,MAAM,EAAE,MAAM,EACd,oBAAoB,EAAE,OAAO,EAC7B,OAAO,CAAC,EAAE,aAAa,GACxB,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CA0BxB;AAED;;;GAGG;AACH,wBAAgB,0BAA0B,CACtC,OAAO,EAAE,eAAe,EACxB,QAAQ,EAAE,MAAM,EAChB,WAAW,EAAE,MAAM,EACnB,iBAAiB,EAAE,kBAAkB,GACtC,MAAM,CA0BR;AAED;;;;;;GAMG;AACH,wBAAsB,0BAA0B,CAC5C,aAAa,EAAE,MAAM,EACrB,WAAW,EAAE,MAAM,EACnB,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,EAC/B,UAAU,EAAE,iBAAiB,EAC7B,aAAa,EAAE,MAAM,EACrB,YAAY,EAAE,YAAY,EAC1B,aAAa,EAAE,cAAc,EAC7B,MAAM,EAAE,MAAM,EACd,iBAAiB,EAAE,kBAAkB,EACrC,sBAAsB,EAAE,sBAAsB,GAAG,IAAI,GACtD,OAAO,CAAC,eAAe,CAAC,gCAAgC,CAAC,CAAC,CAsB5D;AAED;;;;;;;;;;GAUG;AACH,wBAAsB,eAAe,CACjC,CAAC,SAAS,gCAAgC,EAE1C,UAAU,EAAE,iBAAiB,EAC7B,aAAa,EAAE,MAAM,EACrB,OAAO,EAAE,qBAAqB,EAC9B,aAAa,EAAE,MAAM,EACrB,YAAY,EAAE,YAAY,EAC1B,aAAa,EAAE,cAAc,EAC7B,MAAM,EAAE,MAAM,EACd,iBAAiB,EAAE,kBAAkB,GACtC,OAAO,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC,CA6D7B"}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This is a helper class that parses supported HTTP response authentication headers to extract and return
|
|
3
|
-
* header challenge values that can be used outside the basic authorization flows.
|
|
4
|
-
*/
|
|
5
|
-
export declare class AuthenticationHeaderParser {
|
|
6
|
-
private headers;
|
|
7
|
-
constructor(headers: Record<string, string>);
|
|
8
|
-
/**
|
|
9
|
-
* This method parses the SHR nonce value out of either the Authentication-Info or WWW-Authenticate authentication headers.
|
|
10
|
-
* @returns
|
|
11
|
-
*/
|
|
12
|
-
getShrNonce(): string;
|
|
13
|
-
/**
|
|
14
|
-
* Parses an HTTP header's challenge set into a key/value map.
|
|
15
|
-
* @param header
|
|
16
|
-
* @returns
|
|
17
|
-
*/
|
|
18
|
-
private parseChallenges;
|
|
19
|
-
}
|
|
20
|
-
//# sourceMappingURL=AuthenticationHeaderParser.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AuthenticationHeaderParser.d.ts","sourceRoot":"","sources":["../../../src/request/AuthenticationHeaderParser.ts"],"names":[],"mappings":"AAmBA;;;GAGG;AACH,qBAAa,0BAA0B;IACnC,OAAO,CAAC,OAAO,CAAyB;gBAE5B,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC;IAI3C;;;OAGG;IACH,WAAW,IAAI,MAAM;IAqCrB;;;;OAIG;IACH,OAAO,CAAC,eAAe;CAa1B"}
|
|
@@ -1,111 +0,0 @@
|
|
|
1
|
-
import { AuthenticationScheme, HttpMethod } from "../utils/Constants.js";
|
|
2
|
-
import type { AzureCloudOptions } from "../config/ClientConfiguration.js";
|
|
3
|
-
import { StringDict } from "../utils/MsalTypes.js";
|
|
4
|
-
import { StoreInCache } from "./StoreInCache.js";
|
|
5
|
-
import { ShrOptions } from "../crypto/SignedHttpRequest.js";
|
|
6
|
-
/**
|
|
7
|
-
* BaseAuthRequest
|
|
8
|
-
*/
|
|
9
|
-
export type BaseAuthRequest = {
|
|
10
|
-
/**
|
|
11
|
-
* URL of the authority, the security token service (STS) from which MSAL will acquire tokens. Defaults to https://login.microsoftonline.com/common. If using the same authority for all request, authority should set on client application object and not request, to avoid resolving authority endpoints multiple times.
|
|
12
|
-
*/
|
|
13
|
-
authority: string;
|
|
14
|
-
/**
|
|
15
|
-
* Unique GUID set per request to trace a request end-to-end for telemetry purposes.
|
|
16
|
-
*/
|
|
17
|
-
correlationId: string;
|
|
18
|
-
/**
|
|
19
|
-
* Array of scopes the application is requesting access to.
|
|
20
|
-
*/
|
|
21
|
-
scopes: Array<string>;
|
|
22
|
-
/**
|
|
23
|
-
* The type of token retrieved. Defaults to "Bearer". Can also be type "pop" or "SSH".
|
|
24
|
-
*/
|
|
25
|
-
authenticationScheme?: AuthenticationScheme;
|
|
26
|
-
/**
|
|
27
|
-
* A stringified claims request which will be added to all /authorize and /token calls
|
|
28
|
-
*/
|
|
29
|
-
claims?: string;
|
|
30
|
-
/**
|
|
31
|
-
* A stringified claims object which will be added to a Signed HTTP Request
|
|
32
|
-
*/
|
|
33
|
-
shrClaims?: string;
|
|
34
|
-
/**
|
|
35
|
-
* A server-generated timestamp that has been encrypted and base64URL encoded, which will be added to a Signed HTTP Request.
|
|
36
|
-
*/
|
|
37
|
-
shrNonce?: string;
|
|
38
|
-
/**
|
|
39
|
-
* An object containing options for the Signed HTTP Request
|
|
40
|
-
*/
|
|
41
|
-
shrOptions?: ShrOptions;
|
|
42
|
-
/**
|
|
43
|
-
* HTTP Request type used to request data from the resource (i.e. "GET", "POST", etc.). Used for proof-of-possession flows.
|
|
44
|
-
*/
|
|
45
|
-
resourceRequestMethod?: string;
|
|
46
|
-
/**
|
|
47
|
-
* URI that token will be used for. Used for proof-of-possession flows.
|
|
48
|
-
*/
|
|
49
|
-
resourceRequestUri?: string;
|
|
50
|
-
/**
|
|
51
|
-
* A stringified JSON Web Key representing a public key that can be signed by an SSH certificate.
|
|
52
|
-
*/
|
|
53
|
-
sshJwk?: string;
|
|
54
|
-
/**
|
|
55
|
-
* Key ID that uniquely identifies the SSH public key mentioned above.
|
|
56
|
-
*/
|
|
57
|
-
sshKid?: string;
|
|
58
|
-
/**
|
|
59
|
-
* Convenience string enums for users to provide public/sovereign cloud ids
|
|
60
|
-
*/
|
|
61
|
-
azureCloudOptions?: AzureCloudOptions;
|
|
62
|
-
/**
|
|
63
|
-
* Maximum allowed age, in milliseconds, of the user's authentication before a new sign-in is required.
|
|
64
|
-
*/
|
|
65
|
-
maxAge?: number;
|
|
66
|
-
/**
|
|
67
|
-
* Object containing boolean values indicating whether to store tokens in the cache or not (default is true)
|
|
68
|
-
*/
|
|
69
|
-
storeInCache?: StoreInCache;
|
|
70
|
-
/**
|
|
71
|
-
* Scenario id to track custom user prompts
|
|
72
|
-
*/
|
|
73
|
-
scenarioId?: string;
|
|
74
|
-
/**
|
|
75
|
-
* Key ID to identify the public key for PoP token request
|
|
76
|
-
*/
|
|
77
|
-
popKid?: string;
|
|
78
|
-
/**
|
|
79
|
-
* Embedded client id. When specified, broker client id (brk_client_id) and redirect uri (brk_redirect_uri) params are set with values from the config, overriding the corresponding extra parameters, if present.
|
|
80
|
-
*/
|
|
81
|
-
embeddedClientId?: string;
|
|
82
|
-
/**
|
|
83
|
-
* HTTP method to use for the /authorize request. Defaults to GET, but can be set to POST if the request requires body parameters.
|
|
84
|
-
*/
|
|
85
|
-
httpMethod?: HttpMethod;
|
|
86
|
-
/**
|
|
87
|
-
* Resource parameter to be sent with the request. Used for MCP flows.
|
|
88
|
-
*/
|
|
89
|
-
resource?: string;
|
|
90
|
-
/**
|
|
91
|
-
* When true and a brokered flow is in effect—i.e., when a broker client id (brk_client_id), typically derived from embeddedClientId or other broker parameters, is included in the request—clientCapabilities from configuration will be excluded from claims. Has no effect when brk_client_id is not present (non-brokered flows).
|
|
92
|
-
*/
|
|
93
|
-
skipBrokerClaims?: boolean;
|
|
94
|
-
/**
|
|
95
|
-
* String to string map of custom query parameters added to outgoing token service requests. Unless the parameter is only supported on query strings use extraParameters instead
|
|
96
|
-
*/
|
|
97
|
-
extraQueryParameters?: StringDict;
|
|
98
|
-
/**
|
|
99
|
-
* String to string map of custom parameters added to outgoing token service requests.
|
|
100
|
-
*/
|
|
101
|
-
extraParameters?: StringDict;
|
|
102
|
-
};
|
|
103
|
-
/**
|
|
104
|
-
* Helper to enforce resource parameter presence in token requests when isMcp is set in the configuration.
|
|
105
|
-
* If resource parameter is set in both the request and in extraQueryParameters or extraParameters, an error will be thrown.
|
|
106
|
-
* This is used for MCP flows.
|
|
107
|
-
* @param isMcp - Flag indicating if application is an MCP app, from configuration
|
|
108
|
-
* @param request - Auth request
|
|
109
|
-
*/
|
|
110
|
-
export declare function enforceResourceParameter(isMcp: boolean, request: Partial<BaseAuthRequest>): void;
|
|
111
|
-
//# sourceMappingURL=BaseAuthRequest.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"BaseAuthRequest.d.ts","sourceRoot":"","sources":["../../../src/request/BaseAuthRequest.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,oBAAoB,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AACzE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AAC1E,OAAO,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AACnD,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,EAAE,UAAU,EAAE,MAAM,gCAAgC,CAAC;AAI5D;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG;IAC1B;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACtB;;OAEG;IACH,oBAAoB,CAAC,EAAE,oBAAoB,CAAC;IAC5C;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB;;OAEG;IACH,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B;;OAEG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,iBAAiB,CAAC,EAAE,iBAAiB,CAAC;IACtC;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B;;OAEG;IACH,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B;;OAEG;IACH,oBAAoB,CAAC,EAAE,UAAU,CAAC;IAClC;;OAEG;IACH,eAAe,CAAC,EAAE,UAAU,CAAC;CAChC,CAAC;AAEF;;;;;;GAMG;AACH,wBAAgB,wBAAwB,CACpC,KAAK,EAAE,OAAO,EACd,OAAO,EAAE,OAAO,CAAC,eAAe,CAAC,GAClC,IAAI,CAoBN"}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { BaseAuthRequest } from "./BaseAuthRequest.js";
|
|
2
|
-
import { CcsCredential } from "../account/CcsCredential.js";
|
|
3
|
-
/**
|
|
4
|
-
* Request object passed by user to acquire a token from the server exchanging a valid authorization code (second leg of OAuth2.0 Authorization Code flow)
|
|
5
|
-
*/
|
|
6
|
-
export type CommonAuthorizationCodeRequest = BaseAuthRequest & {
|
|
7
|
-
/**
|
|
8
|
-
* The authorization_code that the user acquired in the first leg of the flow.
|
|
9
|
-
*/
|
|
10
|
-
code: string;
|
|
11
|
-
/**
|
|
12
|
-
* The redirect URI of your app, where the authority will redirect to after the user inputs credentials and consents. It must exactly match one of the redirect URIs you registered in the portal
|
|
13
|
-
*/
|
|
14
|
-
redirectUri: string;
|
|
15
|
-
/**
|
|
16
|
-
* The same code_verifier that was used to obtain the authorization_code. Required if PKCE was used in the authorization code grant request.For more information, see the PKCE RFC: https://tools.ietf.org/html/rfc7636
|
|
17
|
-
*/
|
|
18
|
-
codeVerifier?: string;
|
|
19
|
-
/**
|
|
20
|
-
* Enables the acquisition of a SPA authorization code (confidential clients only).
|
|
21
|
-
*/
|
|
22
|
-
enableSpaAuthorizationCode?: boolean;
|
|
23
|
-
/**
|
|
24
|
-
* Encoded client_info returned with the authorization code, used to bind the token response to a specific account.
|
|
25
|
-
*/
|
|
26
|
-
clientInfo?: string;
|
|
27
|
-
/**
|
|
28
|
-
* Credential used to populate the CCS (Cache Credential Service) header.
|
|
29
|
-
*/
|
|
30
|
-
ccsCredential?: CcsCredential;
|
|
31
|
-
};
|
|
32
|
-
//# sourceMappingURL=CommonAuthorizationCodeRequest.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CommonAuthorizationCodeRequest.d.ts","sourceRoot":"","sources":["../../../src/request/CommonAuthorizationCodeRequest.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAE5D;;GAEG;AACH,MAAM,MAAM,8BAA8B,GAAG,eAAe,GAAG;IAC3D;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,0BAA0B,CAAC,EAAE,OAAO,CAAC;IACrC;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,aAAa,CAAC,EAAE,aAAa,CAAC;CACjC,CAAC"}
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
import { ResponseMode } from "../utils/Constants.js";
|
|
2
|
-
import { BaseAuthRequest } from "./BaseAuthRequest.js";
|
|
3
|
-
import { AccountInfo } from "../account/AccountInfo.js";
|
|
4
|
-
/**
|
|
5
|
-
* Request object passed by user to retrieve a Code from the server (first leg of authorization code grant flow)
|
|
6
|
-
*/
|
|
7
|
-
export type CommonAuthorizationUrlRequest = BaseAuthRequest & {
|
|
8
|
-
/**
|
|
9
|
-
* The redirect URI where authentication responses can be received by your application. It must exactly match one of the redirect URIs registered in the Azure portal.
|
|
10
|
-
*/
|
|
11
|
-
redirectUri: string;
|
|
12
|
-
/**
|
|
13
|
-
* Specifies the method that should be used to send the authentication result to your app. Can be query, form_post, or fragment. If no value is passed in, it defaults to query.
|
|
14
|
-
*/
|
|
15
|
-
responseMode: ResponseMode;
|
|
16
|
-
/**
|
|
17
|
-
* AccountInfo obtained from a getAccount API. Will be used in certain scenarios to generate login_hint if both loginHint and sid params are not provided.
|
|
18
|
-
*/
|
|
19
|
-
account?: AccountInfo;
|
|
20
|
-
/**
|
|
21
|
-
* JSON Web Key used when constructing Encrypted Authorize Response (EAR) parameters.
|
|
22
|
-
*/
|
|
23
|
-
earJwk?: string;
|
|
24
|
-
/**
|
|
25
|
-
* Used to secure authorization code grant via Proof of Key for Code Exchange (PKCE). For more information, see the PKCE RCF:https://tools.ietf.org/html/rfc7636
|
|
26
|
-
*/
|
|
27
|
-
codeChallenge?: string;
|
|
28
|
-
/**
|
|
29
|
-
* The method used to encode the code verifier for the code challenge parameter. Can be "plain" or "S256". If excluded, code challenge is assumed to be plaintext. For more information, see the PKCE RCF: https://tools.ietf.org/html/rfc7636
|
|
30
|
-
*/
|
|
31
|
-
codeChallengeMethod?: string;
|
|
32
|
-
/**
|
|
33
|
-
* Provides a hint about the tenant or domain that the user should use to sign in. The value of the domain hint is a registered domain for the tenant.
|
|
34
|
-
*/
|
|
35
|
-
domainHint?: string;
|
|
36
|
-
/**
|
|
37
|
-
* Scopes for a different resource when the user needs consent upfront.
|
|
38
|
-
*/
|
|
39
|
-
extraScopesToConsent?: Array<string>;
|
|
40
|
-
/**
|
|
41
|
-
* Can be used to pre-fill the username/email address field of the sign-in page for the user, if you know the username/email address ahead of time. Can also be the string value extracted from the login_hint claim on an idToken obtained previously to provide SSO.
|
|
42
|
-
*/
|
|
43
|
-
loginHint?: string;
|
|
44
|
-
/**
|
|
45
|
-
* A value included in the request that is returned in the id token. A randomly generated unique value is typically used to mitigate replay attacks.
|
|
46
|
-
*/
|
|
47
|
-
nonce: string;
|
|
48
|
-
/**
|
|
49
|
-
* Indicates the type of user interaction that is required.
|
|
50
|
-
* login: will force the user to enter their credentials on that request, negating single-sign on
|
|
51
|
-
* none: will ensure that the user isn't presented with any interactive prompt. if request can't be completed via single-sign on, the endpoint will return an interaction_required error
|
|
52
|
-
* consent: will the trigger the OAuth consent dialog after the user signs in, asking the user to grant permissions to the app
|
|
53
|
-
* select_account: will interrupt single sign-=on providing account selection experience listing all the accounts in session or any remembered accounts or an option to choose to use a different account
|
|
54
|
-
* create: will direct the user to the account creation experience instead of the log in experience
|
|
55
|
-
* no_session: will not read existing session token when authenticating the user. Upon user being successfully authenticated, EVO won’t create a new session for the user. FOR INTERNAL USE ONLY.
|
|
56
|
-
*/
|
|
57
|
-
prompt?: string;
|
|
58
|
-
/**
|
|
59
|
-
* Session ID, unique identifier for the session. Available as an optional claim on ID tokens. Use login_hint optional claim provided on loginHint paramter instead, when available.
|
|
60
|
-
*/
|
|
61
|
-
sid?: string;
|
|
62
|
-
/**
|
|
63
|
-
* A value included in the request that is also returned in the token response. A randomly generated unique value is typically used for preventing cross site request forgery attacks. The state is also used to encode information about the user's state in the app before the authentication request occurred. For security and privacy reasons, we do not recommend putting URLs or other sensitive data directly in the state parameter. Instead, use a key or identifier that corresponds to data stored in browser storage (e.g., localStorage, sessionStorage), allowing your app to securely reference the necessary data after authentication.
|
|
64
|
-
*/
|
|
65
|
-
state: string;
|
|
66
|
-
/**
|
|
67
|
-
* Indicates whether this authorization request is being initiated by a platform authentication broker instead of a standard web flow.
|
|
68
|
-
*/
|
|
69
|
-
platformBroker?: boolean;
|
|
70
|
-
};
|
|
71
|
-
//# sourceMappingURL=CommonAuthorizationUrlRequest.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CommonAuthorizationUrlRequest.d.ts","sourceRoot":"","sources":["../../../src/request/CommonAuthorizationUrlRequest.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AACrD,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAExD;;GAEG;AACH,MAAM,MAAM,6BAA6B,GAAG,eAAe,GAAG;IAC1D;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,YAAY,EAAE,YAAY,CAAC;IAC3B;;OAEG;IACH,OAAO,CAAC,EAAE,WAAW,CAAC;IACtB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,oBAAoB,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACrC;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;;;;;;;OAQG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;CAC5B,CAAC"}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { AccountInfo } from "../account/AccountInfo.js";
|
|
2
|
-
import { StringDict } from "../utils/MsalTypes.js";
|
|
3
|
-
/**
|
|
4
|
-
* CommonEndSessionRequest
|
|
5
|
-
*/
|
|
6
|
-
export type CommonEndSessionRequest = {
|
|
7
|
-
/**
|
|
8
|
-
* Unique GUID set per request to trace a request end-to-end for telemetry purposes.
|
|
9
|
-
*/
|
|
10
|
-
correlationId: string;
|
|
11
|
-
/**
|
|
12
|
-
* Account object that will be logged out of. All tokens tied to this account will be cleared.
|
|
13
|
-
*/
|
|
14
|
-
account?: AccountInfo | null;
|
|
15
|
-
/**
|
|
16
|
-
* URI to navigate to after logout page.
|
|
17
|
-
*/
|
|
18
|
-
postLogoutRedirectUri?: string | null;
|
|
19
|
-
/**
|
|
20
|
-
* ID Token used by B2C to validate logout if required by the policy
|
|
21
|
-
*/
|
|
22
|
-
idTokenHint?: string;
|
|
23
|
-
/**
|
|
24
|
-
* A value included in the request to the logout endpoint which will be returned in the query string upon post logout redirection. For security and privacy reasons, we do not recommend putting URLs or other sensitive data directly in the state parameter. Instead, use a key or identifier that corresponds to data stored in browser storage (e.g., localStorage, sessionStorage), allowing your app to securely reference the necessary data after logout.
|
|
25
|
-
*/
|
|
26
|
-
state?: string;
|
|
27
|
-
/**
|
|
28
|
-
* A string that specifies the account that is being logged out in order to skip the server account picker on logout
|
|
29
|
-
*/
|
|
30
|
-
logoutHint?: string;
|
|
31
|
-
/**
|
|
32
|
-
* String to string map of custom query parameters added to the /authorize call
|
|
33
|
-
*/
|
|
34
|
-
extraQueryParameters?: StringDict;
|
|
35
|
-
};
|
|
36
|
-
//# sourceMappingURL=CommonEndSessionRequest.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CommonEndSessionRequest.d.ts","sourceRoot":"","sources":["../../../src/request/CommonEndSessionRequest.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AACxD,OAAO,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AAEnD;;GAEG;AACH,MAAM,MAAM,uBAAuB,GAAG;IAClC;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,OAAO,CAAC,EAAE,WAAW,GAAG,IAAI,CAAC;IAC7B;;OAEG;IACH,qBAAqB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtC;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,oBAAoB,CAAC,EAAE,UAAU,CAAC;CACrC,CAAC"}
|