@azure/msal-common 16.5.2 → 16.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/browser/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 +1 -1
- package/dist/authority/AuthorityFactory.mjs +1 -1
- package/dist/authority/AuthorityMetadata.mjs +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 +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 +1 -1
- package/dist-browser/authority/AuthorityFactory.mjs +1 -1
- package/dist-browser/authority/AuthorityMetadata.mjs +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 +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 +2 -2
- 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-BtcbvYTx.js} +3 -3
- package/lib/{index-node-ByMjZ1FK.js.map → index-node-BtcbvYTx.js.map} +1 -1
- 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/packageMetadata.ts +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 +0 -23
- 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/packageMetadata.d.ts +0 -3
- 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/Authority.d.ts +0 -0
- /package/{dist-browser → types}/authority/Authority.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/AuthorityMetadata.d.ts.map +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/ClientConfigurationErrorCodes.d.ts +0 -0
- /package/{dist-browser → types}/error/ClientConfigurationErrorCodes.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
package/dist/url/UrlString.d.ts
DELETED
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import { IUri } from "./IUri.js";
|
|
2
|
-
/**
|
|
3
|
-
* Url object class which can perform various transformations on url strings.
|
|
4
|
-
*/
|
|
5
|
-
export declare class UrlString {
|
|
6
|
-
private _urlString;
|
|
7
|
-
get urlString(): string;
|
|
8
|
-
constructor(url: string);
|
|
9
|
-
/**
|
|
10
|
-
* Ensure urls are lower case and end with a / character.
|
|
11
|
-
* @param url
|
|
12
|
-
*/
|
|
13
|
-
static canonicalizeUri(url: string): string;
|
|
14
|
-
/**
|
|
15
|
-
* Throws if urlString passed is not a valid authority URI string.
|
|
16
|
-
*/
|
|
17
|
-
validateAsUri(): void;
|
|
18
|
-
/**
|
|
19
|
-
* Given a url and a query string return the url with provided query string appended
|
|
20
|
-
* @param url
|
|
21
|
-
* @param queryString
|
|
22
|
-
*/
|
|
23
|
-
static appendQueryString(url: string, queryString: string): string;
|
|
24
|
-
/**
|
|
25
|
-
* Returns a url with the hash removed
|
|
26
|
-
* @param url
|
|
27
|
-
*/
|
|
28
|
-
static removeHashFromUrl(url: string): string;
|
|
29
|
-
/**
|
|
30
|
-
* Given a url like https://a:b/common/d?e=f#g, and a tenantId, returns https://a:b/tenantId/d
|
|
31
|
-
* @param href The url
|
|
32
|
-
* @param tenantId The tenant id to replace
|
|
33
|
-
*/
|
|
34
|
-
replaceTenantPath(tenantId: string): UrlString;
|
|
35
|
-
/**
|
|
36
|
-
* Parses out the components from a url string.
|
|
37
|
-
* @returns An object with the various components. Please cache this value insted of calling this multiple times on the same url.
|
|
38
|
-
*/
|
|
39
|
-
getUrlComponents(): IUri;
|
|
40
|
-
static getDomainFromUrl(url: string): string;
|
|
41
|
-
static getAbsoluteUrl(relativeUrl: string, baseUrl: string): string;
|
|
42
|
-
static constructAuthorityUriFromObject(urlObject: IUri): UrlString;
|
|
43
|
-
}
|
|
44
|
-
//# sourceMappingURL=UrlString.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"UrlString.d.ts","sourceRoot":"","sources":["../../src/url/UrlString.ts"],"names":[],"mappings":"AAUA,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AAGjC;;GAEG;AACH,qBAAa,SAAS;IAElB,OAAO,CAAC,UAAU,CAAS;IAC3B,IAAW,SAAS,IAAI,MAAM,CAE7B;gBAEW,GAAG,EAAE,MAAM;IAcvB;;;OAGG;IACH,MAAM,CAAC,eAAe,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM;IAoB3C;;OAEG;IACH,aAAa,IAAI,IAAI;IA6BrB;;;;OAIG;IACH,MAAM,CAAC,iBAAiB,CAAC,GAAG,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,GAAG,MAAM;IAUlE;;;OAGG;IACH,MAAM,CAAC,iBAAiB,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM;IAI7C;;;;OAIG;IACH,iBAAiB,CAAC,QAAQ,EAAE,MAAM,GAAG,SAAS;IAc9C;;;OAGG;IACH,gBAAgB,IAAI,IAAI;IAsCxB,MAAM,CAAC,gBAAgB,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM;IAc5C,MAAM,CAAC,cAAc,CAAC,WAAW,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,MAAM;IAgBnE,MAAM,CAAC,+BAA+B,CAAC,SAAS,EAAE,IAAI,GAAG,SAAS;CASrE"}
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import { ClientAssertionCallback } from "../account/ClientCredentials.js";
|
|
2
|
-
export declare function getClientAssertion(clientAssertion: string | ClientAssertionCallback, clientId: string, tokenEndpoint?: string): Promise<string>;
|
|
3
|
-
//# sourceMappingURL=ClientAssertionUtils.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ClientAssertionUtils.d.ts","sourceRoot":"","sources":["../../src/utils/ClientAssertionUtils.ts"],"names":[],"mappings":"AAKA,OAAO,EACH,uBAAuB,EAE1B,MAAM,iCAAiC,CAAC;AAEzC,wBAAsB,kBAAkB,CACpC,eAAe,EAAE,MAAM,GAAG,uBAAuB,EACjD,QAAQ,EAAE,MAAM,EAChB,aAAa,CAAC,EAAE,MAAM,GACvB,OAAO,CAAC,MAAM,CAAC,CAUjB"}
|
|
@@ -1,283 +0,0 @@
|
|
|
1
|
-
export declare const SKU = "msal.js.common";
|
|
2
|
-
export declare const DEFAULT_AUTHORITY = "https://login.microsoftonline.com/common/";
|
|
3
|
-
export declare const DEFAULT_AUTHORITY_HOST = "login.microsoftonline.com";
|
|
4
|
-
export declare const DEFAULT_COMMON_TENANT = "common";
|
|
5
|
-
export declare const ADFS = "adfs";
|
|
6
|
-
export declare const DSTS = "dstsv2";
|
|
7
|
-
export declare const AAD_INSTANCE_DISCOVERY_ENDPT: string;
|
|
8
|
-
export declare const CIAM_AUTH_URL = ".ciamlogin.com";
|
|
9
|
-
export declare const AAD_TENANT_DOMAIN_SUFFIX = ".onmicrosoft.com";
|
|
10
|
-
export declare const RESOURCE_DELIM = "|";
|
|
11
|
-
export declare const CONSUMER_UTID = "9188040d-6c67-4c5b-b112-36a304b66dad";
|
|
12
|
-
export declare const OPENID_SCOPE = "openid";
|
|
13
|
-
export declare const PROFILE_SCOPE = "profile";
|
|
14
|
-
export declare const OFFLINE_ACCESS_SCOPE = "offline_access";
|
|
15
|
-
export declare const EMAIL_SCOPE = "email";
|
|
16
|
-
export declare const CODE_GRANT_TYPE = "authorization_code";
|
|
17
|
-
export declare const S256_CODE_CHALLENGE_METHOD = "S256";
|
|
18
|
-
export declare const URL_FORM_CONTENT_TYPE = "application/x-www-form-urlencoded;charset=utf-8";
|
|
19
|
-
export declare const AUTHORIZATION_PENDING = "authorization_pending";
|
|
20
|
-
export declare const NOT_APPLICABLE = "N/A";
|
|
21
|
-
export declare const NOT_AVAILABLE = "Not Available";
|
|
22
|
-
export declare const FORWARD_SLASH = "/";
|
|
23
|
-
export declare const IMDS_ENDPOINT = "http://169.254.169.254/metadata/instance/compute/location";
|
|
24
|
-
export declare const IMDS_VERSION = "2020-06-01";
|
|
25
|
-
export declare const IMDS_TIMEOUT = 2000;
|
|
26
|
-
export declare const AZURE_REGION_AUTO_DISCOVER_FLAG = "TryAutoDetect";
|
|
27
|
-
export declare const REGIONAL_AUTH_PUBLIC_CLOUD_SUFFIX = "login.microsoft.com";
|
|
28
|
-
export declare const KNOWN_PUBLIC_CLOUDS: string[];
|
|
29
|
-
export declare const SHR_NONCE_VALIDITY = 240;
|
|
30
|
-
export declare const INVALID_INSTANCE = "invalid_instance";
|
|
31
|
-
export declare const HTTP_SUCCESS: number;
|
|
32
|
-
export declare const HTTP_SUCCESS_RANGE_START: number;
|
|
33
|
-
export declare const HTTP_SUCCESS_RANGE_END: number;
|
|
34
|
-
export declare const HTTP_REDIRECT: number;
|
|
35
|
-
export declare const HTTP_CLIENT_ERROR: number;
|
|
36
|
-
export declare const HTTP_CLIENT_ERROR_RANGE_START: number;
|
|
37
|
-
export declare const HTTP_BAD_REQUEST: number;
|
|
38
|
-
export declare const HTTP_UNAUTHORIZED: number;
|
|
39
|
-
export declare const HTTP_NOT_FOUND: number;
|
|
40
|
-
export declare const HTTP_REQUEST_TIMEOUT: number;
|
|
41
|
-
export declare const HTTP_GONE: number;
|
|
42
|
-
export declare const HTTP_TOO_MANY_REQUESTS: number;
|
|
43
|
-
export declare const HTTP_CLIENT_ERROR_RANGE_END: number;
|
|
44
|
-
export declare const HTTP_SERVER_ERROR: number;
|
|
45
|
-
export declare const HTTP_SERVER_ERROR_RANGE_START: number;
|
|
46
|
-
export declare const HTTP_SERVICE_UNAVAILABLE: number;
|
|
47
|
-
export declare const HTTP_GATEWAY_TIMEOUT: number;
|
|
48
|
-
export declare const HTTP_SERVER_ERROR_RANGE_END: number;
|
|
49
|
-
export declare const HTTP_MULTI_SIDED_ERROR: number;
|
|
50
|
-
export declare const HttpMethod: {
|
|
51
|
-
readonly GET: "GET";
|
|
52
|
-
readonly POST: "POST";
|
|
53
|
-
};
|
|
54
|
-
export type HttpMethod = (typeof HttpMethod)[keyof typeof HttpMethod];
|
|
55
|
-
export declare const OIDC_DEFAULT_SCOPES: string[];
|
|
56
|
-
export declare const OIDC_SCOPES: string[];
|
|
57
|
-
/**
|
|
58
|
-
* Request header names
|
|
59
|
-
*/
|
|
60
|
-
export declare const HeaderNames: {
|
|
61
|
-
readonly CONTENT_TYPE: "Content-Type";
|
|
62
|
-
readonly CONTENT_LENGTH: "Content-Length";
|
|
63
|
-
readonly RETRY_AFTER: "Retry-After";
|
|
64
|
-
readonly CCS_HEADER: "X-AnchorMailbox";
|
|
65
|
-
readonly WWWAuthenticate: "WWW-Authenticate";
|
|
66
|
-
readonly AuthenticationInfo: "Authentication-Info";
|
|
67
|
-
readonly X_MS_REQUEST_ID: "x-ms-request-id";
|
|
68
|
-
readonly X_MS_HTTP_VERSION: "x-ms-httpver";
|
|
69
|
-
};
|
|
70
|
-
export type HeaderNames = (typeof HeaderNames)[keyof typeof HeaderNames];
|
|
71
|
-
/**
|
|
72
|
-
* Persistent cache keys MSAL which stay while user is logged in.
|
|
73
|
-
*/
|
|
74
|
-
export declare const PersistentCacheKeys: {
|
|
75
|
-
readonly ACTIVE_ACCOUNT_FILTERS: "active-account-filters";
|
|
76
|
-
};
|
|
77
|
-
export type PersistentCacheKeys = (typeof PersistentCacheKeys)[keyof typeof PersistentCacheKeys];
|
|
78
|
-
/**
|
|
79
|
-
* String constants related to AAD Authority
|
|
80
|
-
*/
|
|
81
|
-
export declare const AADAuthority: {
|
|
82
|
-
readonly COMMON: "common";
|
|
83
|
-
readonly ORGANIZATIONS: "organizations";
|
|
84
|
-
readonly CONSUMERS: "consumers";
|
|
85
|
-
};
|
|
86
|
-
export type AADAuthority = (typeof AADAuthority)[keyof typeof AADAuthority];
|
|
87
|
-
/**
|
|
88
|
-
* Claims request keys
|
|
89
|
-
*/
|
|
90
|
-
export declare const ClaimsRequestKeys: {
|
|
91
|
-
readonly ACCESS_TOKEN: "access_token";
|
|
92
|
-
readonly XMS_CC: "xms_cc";
|
|
93
|
-
};
|
|
94
|
-
export type ClaimsRequestKeys = (typeof ClaimsRequestKeys)[keyof typeof ClaimsRequestKeys];
|
|
95
|
-
/**
|
|
96
|
-
* we considered making this "enum" in the request instead of string, however it looks like the allowed list of
|
|
97
|
-
* prompt values kept changing over past couple of years. There are some undocumented prompt values for some
|
|
98
|
-
* internal partners too, hence the choice of generic "string" type instead of the "enum"
|
|
99
|
-
*/
|
|
100
|
-
export declare const PromptValue: {
|
|
101
|
-
LOGIN: string;
|
|
102
|
-
SELECT_ACCOUNT: string;
|
|
103
|
-
CONSENT: string;
|
|
104
|
-
NONE: string;
|
|
105
|
-
CREATE: string;
|
|
106
|
-
NO_SESSION: string;
|
|
107
|
-
};
|
|
108
|
-
/**
|
|
109
|
-
* allowed values for codeVerifier
|
|
110
|
-
*/
|
|
111
|
-
export declare const CodeChallengeMethodValues: {
|
|
112
|
-
PLAIN: string;
|
|
113
|
-
S256: string;
|
|
114
|
-
};
|
|
115
|
-
/**
|
|
116
|
-
* Allowed values for response_type
|
|
117
|
-
*/
|
|
118
|
-
export declare const OAuthResponseType: {
|
|
119
|
-
readonly CODE: "code";
|
|
120
|
-
readonly IDTOKEN_TOKEN: "id_token token";
|
|
121
|
-
readonly IDTOKEN_TOKEN_REFRESHTOKEN: "id_token token refresh_token";
|
|
122
|
-
};
|
|
123
|
-
export type OAuthResponseType = (typeof OAuthResponseType)[keyof typeof OAuthResponseType];
|
|
124
|
-
/**
|
|
125
|
-
* allowed values for response_mode
|
|
126
|
-
*/
|
|
127
|
-
export declare const ResponseMode: {
|
|
128
|
-
readonly QUERY: "query";
|
|
129
|
-
readonly FRAGMENT: "fragment";
|
|
130
|
-
readonly FORM_POST: "form_post";
|
|
131
|
-
};
|
|
132
|
-
export type ResponseMode = (typeof ResponseMode)[keyof typeof ResponseMode];
|
|
133
|
-
/**
|
|
134
|
-
* allowed grant_type
|
|
135
|
-
*/
|
|
136
|
-
export declare const GrantType: {
|
|
137
|
-
readonly IMPLICIT_GRANT: "implicit";
|
|
138
|
-
readonly AUTHORIZATION_CODE_GRANT: "authorization_code";
|
|
139
|
-
readonly CLIENT_CREDENTIALS_GRANT: "client_credentials";
|
|
140
|
-
readonly RESOURCE_OWNER_PASSWORD_GRANT: "password";
|
|
141
|
-
readonly REFRESH_TOKEN_GRANT: "refresh_token";
|
|
142
|
-
readonly DEVICE_CODE_GRANT: "device_code";
|
|
143
|
-
readonly JWT_BEARER: "urn:ietf:params:oauth:grant-type:jwt-bearer";
|
|
144
|
-
};
|
|
145
|
-
export type GrantType = (typeof GrantType)[keyof typeof GrantType];
|
|
146
|
-
/**
|
|
147
|
-
* Account types in Cache
|
|
148
|
-
*/
|
|
149
|
-
export declare const CACHE_ACCOUNT_TYPE_MSSTS: string;
|
|
150
|
-
export declare const CACHE_ACCOUNT_TYPE_ADFS: string;
|
|
151
|
-
export declare const CACHE_ACCOUNT_TYPE_MSAV1: string;
|
|
152
|
-
export declare const CACHE_ACCOUNT_TYPE_GENERIC: string;
|
|
153
|
-
/**
|
|
154
|
-
* Separators used in cache
|
|
155
|
-
*/
|
|
156
|
-
export declare const CACHE_KEY_SEPARATOR: string;
|
|
157
|
-
export declare const CLIENT_INFO_SEPARATOR: string;
|
|
158
|
-
/**
|
|
159
|
-
* Credential Type stored in the cache
|
|
160
|
-
*/
|
|
161
|
-
export declare const CredentialType: {
|
|
162
|
-
readonly ID_TOKEN: "IdToken";
|
|
163
|
-
readonly ACCESS_TOKEN: "AccessToken";
|
|
164
|
-
readonly ACCESS_TOKEN_WITH_AUTH_SCHEME: "AccessToken_With_AuthScheme";
|
|
165
|
-
readonly REFRESH_TOKEN: "RefreshToken";
|
|
166
|
-
};
|
|
167
|
-
export type CredentialType = (typeof CredentialType)[keyof typeof CredentialType];
|
|
168
|
-
/**
|
|
169
|
-
* Combine all cache types
|
|
170
|
-
*/
|
|
171
|
-
export declare const CacheType: {
|
|
172
|
-
readonly ADFS: 1001;
|
|
173
|
-
readonly MSA: 1002;
|
|
174
|
-
readonly MSSTS: 1003;
|
|
175
|
-
readonly GENERIC: 1004;
|
|
176
|
-
readonly ACCESS_TOKEN: 2001;
|
|
177
|
-
readonly REFRESH_TOKEN: 2002;
|
|
178
|
-
readonly ID_TOKEN: 2003;
|
|
179
|
-
readonly APP_METADATA: 3001;
|
|
180
|
-
readonly UNDEFINED: 9999;
|
|
181
|
-
};
|
|
182
|
-
export type CacheType = (typeof CacheType)[keyof typeof CacheType];
|
|
183
|
-
/**
|
|
184
|
-
* More Cache related constants
|
|
185
|
-
*/
|
|
186
|
-
export declare const APP_METADATA: string;
|
|
187
|
-
export declare const CLIENT_INFO: string;
|
|
188
|
-
export declare const THE_FAMILY_ID: string;
|
|
189
|
-
export declare const AUTHORITY_METADATA_CACHE_KEY: string;
|
|
190
|
-
export declare const AUTHORITY_METADATA_REFRESH_TIME_SECONDS: number;
|
|
191
|
-
export declare const AuthorityMetadataSource: {
|
|
192
|
-
readonly CONFIG: "config";
|
|
193
|
-
readonly CACHE: "cache";
|
|
194
|
-
readonly NETWORK: "network";
|
|
195
|
-
readonly HARDCODED_VALUES: "hardcoded_values";
|
|
196
|
-
};
|
|
197
|
-
export type AuthorityMetadataSource = (typeof AuthorityMetadataSource)[keyof typeof AuthorityMetadataSource];
|
|
198
|
-
export declare const SERVER_TELEM_SCHEMA_VERSION: number;
|
|
199
|
-
export declare const SERVER_TELEM_MAX_CUR_HEADER_BYTES: number;
|
|
200
|
-
export declare const SERVER_TELEM_MAX_LAST_HEADER_BYTES: number;
|
|
201
|
-
export declare const SERVER_TELEM_MAX_CACHED_ERRORS: number;
|
|
202
|
-
export declare const SERVER_TELEM_CACHE_KEY: string;
|
|
203
|
-
export declare const SERVER_TELEM_CATEGORY_SEPARATOR: string;
|
|
204
|
-
export declare const SERVER_TELEM_VALUE_SEPARATOR: string;
|
|
205
|
-
export declare const SERVER_TELEM_OVERFLOW_TRUE: string;
|
|
206
|
-
export declare const SERVER_TELEM_OVERFLOW_FALSE: string;
|
|
207
|
-
export declare const SERVER_TELEM_UNKNOWN_ERROR: string;
|
|
208
|
-
/**
|
|
209
|
-
* Type of the authentication request
|
|
210
|
-
*/
|
|
211
|
-
export declare const AuthenticationScheme: {
|
|
212
|
-
readonly BEARER: "Bearer";
|
|
213
|
-
readonly POP: "pop";
|
|
214
|
-
readonly SSH: "ssh-cert";
|
|
215
|
-
};
|
|
216
|
-
export type AuthenticationScheme = (typeof AuthenticationScheme)[keyof typeof AuthenticationScheme];
|
|
217
|
-
/**
|
|
218
|
-
* Constants related to throttling
|
|
219
|
-
*/
|
|
220
|
-
export declare const DEFAULT_THROTTLE_TIME_SECONDS: number;
|
|
221
|
-
export declare const DEFAULT_MAX_THROTTLE_TIME_SECONDS: number;
|
|
222
|
-
export declare const THROTTLING_PREFIX: string;
|
|
223
|
-
export declare const X_MS_LIB_CAPABILITY_VALUE: string;
|
|
224
|
-
/**
|
|
225
|
-
* Errors
|
|
226
|
-
*/
|
|
227
|
-
export declare const INVALID_GRANT_ERROR: string;
|
|
228
|
-
export declare const CLIENT_MISMATCH_ERROR: string;
|
|
229
|
-
/**
|
|
230
|
-
* Password grant parameters
|
|
231
|
-
*/
|
|
232
|
-
export declare const PasswordGrantConstants: {
|
|
233
|
-
readonly username: "username";
|
|
234
|
-
readonly password: "password";
|
|
235
|
-
};
|
|
236
|
-
export type PasswordGrantConstants = (typeof PasswordGrantConstants)[keyof typeof PasswordGrantConstants];
|
|
237
|
-
/**
|
|
238
|
-
* Region Discovery Sources
|
|
239
|
-
*/
|
|
240
|
-
export declare const RegionDiscoverySources: {
|
|
241
|
-
readonly FAILED_AUTO_DETECTION: "1";
|
|
242
|
-
readonly INTERNAL_CACHE: "2";
|
|
243
|
-
readonly ENVIRONMENT_VARIABLE: "3";
|
|
244
|
-
readonly IMDS: "4";
|
|
245
|
-
};
|
|
246
|
-
export type RegionDiscoverySources = (typeof RegionDiscoverySources)[keyof typeof RegionDiscoverySources];
|
|
247
|
-
/**
|
|
248
|
-
* Region Discovery Outcomes
|
|
249
|
-
*/
|
|
250
|
-
export declare const RegionDiscoveryOutcomes: {
|
|
251
|
-
readonly CONFIGURED_MATCHES_DETECTED: "1";
|
|
252
|
-
readonly CONFIGURED_NO_AUTO_DETECTION: "2";
|
|
253
|
-
readonly CONFIGURED_NOT_DETECTED: "3";
|
|
254
|
-
readonly AUTO_DETECTION_REQUESTED_SUCCESSFUL: "4";
|
|
255
|
-
readonly AUTO_DETECTION_REQUESTED_FAILED: "5";
|
|
256
|
-
};
|
|
257
|
-
export type RegionDiscoveryOutcomes = (typeof RegionDiscoveryOutcomes)[keyof typeof RegionDiscoveryOutcomes];
|
|
258
|
-
/**
|
|
259
|
-
* Specifies the reason for fetching the access token from the identity provider
|
|
260
|
-
*/
|
|
261
|
-
export declare const CacheOutcome: {
|
|
262
|
-
readonly NOT_APPLICABLE: "0";
|
|
263
|
-
readonly FORCE_REFRESH_OR_CLAIMS: "1";
|
|
264
|
-
readonly NO_CACHED_ACCESS_TOKEN: "2";
|
|
265
|
-
readonly CACHED_ACCESS_TOKEN_EXPIRED: "3";
|
|
266
|
-
readonly PROACTIVELY_REFRESHED: "4";
|
|
267
|
-
};
|
|
268
|
-
export type CacheOutcome = (typeof CacheOutcome)[keyof typeof CacheOutcome];
|
|
269
|
-
export declare const JsonWebTokenTypes: {
|
|
270
|
-
readonly Jwt: "JWT";
|
|
271
|
-
readonly Jwk: "JWK";
|
|
272
|
-
readonly Pop: "pop";
|
|
273
|
-
};
|
|
274
|
-
export type JsonWebTokenTypes = (typeof JsonWebTokenTypes)[keyof typeof JsonWebTokenTypes];
|
|
275
|
-
export declare const ONE_DAY_IN_MS = 86400000;
|
|
276
|
-
export declare const DEFAULT_TOKEN_RENEWAL_OFFSET_SEC = 300;
|
|
277
|
-
export declare const EncodingTypes: {
|
|
278
|
-
readonly BASE64: "base64";
|
|
279
|
-
readonly HEX: "hex";
|
|
280
|
-
readonly UTF8: "utf-8";
|
|
281
|
-
};
|
|
282
|
-
export type EncodingTypes = (typeof EncodingTypes)[keyof typeof EncodingTypes];
|
|
283
|
-
//# sourceMappingURL=Constants.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Constants.d.ts","sourceRoot":"","sources":["../../src/utils/Constants.ts"],"names":[],"mappings":"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"}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { Logger } from "../logger/Logger.js";
|
|
2
|
-
import { IPerformanceClient } from "../telemetry/performance/IPerformanceClient.js";
|
|
3
|
-
/**
|
|
4
|
-
* Wraps a function with a performance measurement.
|
|
5
|
-
* Usage: invoke(functionToCall, performanceClient, "EventName", "correlationId")(...argsToPassToFunction)
|
|
6
|
-
* @param callback
|
|
7
|
-
* @param eventName
|
|
8
|
-
* @param logger
|
|
9
|
-
* @param telemetryClient
|
|
10
|
-
* @param correlationId
|
|
11
|
-
* @returns
|
|
12
|
-
* @internal
|
|
13
|
-
*/
|
|
14
|
-
export declare const invoke: <T extends any[], U>(callback: (...args: T) => U, eventName: string, logger: Logger, telemetryClient: IPerformanceClient, correlationId: string) => (...args: T) => U;
|
|
15
|
-
/**
|
|
16
|
-
* Wraps an async function with a performance measurement.
|
|
17
|
-
* Usage: invokeAsync(functionToCall, performanceClient, "EventName", "correlationId")(...argsToPassToFunction)
|
|
18
|
-
* @param callback
|
|
19
|
-
* @param eventName
|
|
20
|
-
* @param logger
|
|
21
|
-
* @param telemetryClient
|
|
22
|
-
* @param correlationId
|
|
23
|
-
* @returns
|
|
24
|
-
* @internal
|
|
25
|
-
*
|
|
26
|
-
*/
|
|
27
|
-
export declare const invokeAsync: <T extends any[], U>(callback: (...args: T) => Promise<U>, eventName: string, logger: Logger, telemetryClient: IPerformanceClient, correlationId: string) => (...args: T) => Promise<U>;
|
|
28
|
-
//# sourceMappingURL=FunctionWrappers.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FunctionWrappers.d.ts","sourceRoot":"","sources":["../../src/utils/FunctionWrappers.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAC7C,OAAO,EAAE,kBAAkB,EAAE,MAAM,gDAAgD,CAAC;AAEpF;;;;;;;;;;GAUG;AAEH,eAAO,MAAM,MAAM,+DAEJ,MAAM,UACT,MAAM,mBACG,kBAAkB,iBACpB,MAAM,sBAsCxB,CAAC;AAEF;;;;;;;;;;;GAWG;AAEH,eAAO,MAAM,WAAW,wEAET,MAAM,UACT,MAAM,mBACG,kBAAkB,iBACpB,MAAM,+BA6CxB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"MsalTypes.d.ts","sourceRoot":"","sources":["../../src/utils/MsalTypes.ts"],"names":[],"mappings":"AAKA;;GAEG;AACH,MAAM,MAAM,UAAU,GAAG;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;CAAE,CAAC"}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { ICrypto } from "../crypto/ICrypto.js";
|
|
2
|
-
import { RequestStateObject } from "./StateTypes.js";
|
|
3
|
-
/**
|
|
4
|
-
* Appends user state with random guid, or returns random guid.
|
|
5
|
-
* @param cryptoObj
|
|
6
|
-
* @param userState
|
|
7
|
-
* @param meta
|
|
8
|
-
*/
|
|
9
|
-
export declare function setRequestState(cryptoObj: ICrypto, userState?: string, meta?: Record<string, string>): string;
|
|
10
|
-
/**
|
|
11
|
-
* Generates the state value used by the common library.
|
|
12
|
-
* @param cryptoObj
|
|
13
|
-
* @param meta
|
|
14
|
-
*/
|
|
15
|
-
export declare function generateLibraryState(cryptoObj: ICrypto, meta?: Record<string, string>): string;
|
|
16
|
-
/**
|
|
17
|
-
* Parses the state into the RequestStateObject, which contains the LibraryState info and the state passed by the user.
|
|
18
|
-
* @param base64Decode
|
|
19
|
-
* @param state
|
|
20
|
-
*/
|
|
21
|
-
export declare function parseRequestState(base64Decode: (input: string) => string, state: string): RequestStateObject;
|
|
22
|
-
//# sourceMappingURL=ProtocolUtils.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ProtocolUtils.d.ts","sourceRoot":"","sources":["../../src/utils/ProtocolUtils.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAK/C,OAAO,EAAsB,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAEzE;;;;;GAKG;AACH,wBAAgB,eAAe,CAC3B,SAAS,EAAE,OAAO,EAClB,SAAS,CAAC,EAAE,MAAM,EAClB,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAC9B,MAAM,CAKR;AAED;;;;GAIG;AACH,wBAAgB,oBAAoB,CAChC,SAAS,EAAE,OAAO,EAClB,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAC9B,MAAM,CAiBR;AAED;;;;GAIG;AACH,wBAAgB,iBAAiB,CAC7B,YAAY,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,EACvC,KAAK,EAAE,MAAM,GACd,kBAAkB,CA4BpB"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Type which defines library state
|
|
3
|
-
*/
|
|
4
|
-
export type LibraryStateObject = {
|
|
5
|
-
id: string;
|
|
6
|
-
meta?: Record<string, string>;
|
|
7
|
-
};
|
|
8
|
-
/**
|
|
9
|
-
* Type which defines the stringified and encoded state object sent to the service in the authorize request.
|
|
10
|
-
*/
|
|
11
|
-
export type RequestStateObject = {
|
|
12
|
-
userRequestState: string;
|
|
13
|
-
libraryState: LibraryStateObject;
|
|
14
|
-
};
|
|
15
|
-
//# sourceMappingURL=StateTypes.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"StateTypes.d.ts","sourceRoot":"","sources":["../../src/utils/StateTypes.ts"],"names":[],"mappings":"AAKA;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAAG;IAC7B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CACjC,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAAG;IAC7B,gBAAgB,EAAE,MAAM,CAAC;IACzB,YAAY,EAAE,kBAAkB,CAAC;CACpC,CAAC"}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @hidden
|
|
3
|
-
*/
|
|
4
|
-
export declare class StringUtils {
|
|
5
|
-
/**
|
|
6
|
-
* Check if stringified object is empty
|
|
7
|
-
* @param strObj
|
|
8
|
-
*/
|
|
9
|
-
static isEmptyObj(strObj?: string): boolean;
|
|
10
|
-
static startsWith(str: string, search: string): boolean;
|
|
11
|
-
static endsWith(str: string, search: string): boolean;
|
|
12
|
-
/**
|
|
13
|
-
* Parses string into an object.
|
|
14
|
-
*
|
|
15
|
-
* @param query
|
|
16
|
-
*/
|
|
17
|
-
static queryStringToObject<T>(query: string): T;
|
|
18
|
-
/**
|
|
19
|
-
* Trims entries in an array.
|
|
20
|
-
*
|
|
21
|
-
* @param arr
|
|
22
|
-
*/
|
|
23
|
-
static trimArrayEntries(arr: Array<string>): Array<string>;
|
|
24
|
-
/**
|
|
25
|
-
* Removes empty strings from array
|
|
26
|
-
* @param arr
|
|
27
|
-
*/
|
|
28
|
-
static removeEmptyStringsFromArray(arr: Array<string>): Array<string>;
|
|
29
|
-
/**
|
|
30
|
-
* Attempts to parse a string into JSON
|
|
31
|
-
* @param str
|
|
32
|
-
*/
|
|
33
|
-
static jsonParseHelper<T>(str: string): T | null;
|
|
34
|
-
}
|
|
35
|
-
//# sourceMappingURL=StringUtils.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"StringUtils.d.ts","sourceRoot":"","sources":["../../src/utils/StringUtils.ts"],"names":[],"mappings":"AAKA;;GAEG;AACH,qBAAa,WAAW;IACpB;;;OAGG;IACH,MAAM,CAAC,UAAU,CAAC,MAAM,CAAC,EAAE,MAAM,GAAG,OAAO;IAU3C,MAAM,CAAC,UAAU,CAAC,GAAG,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,OAAO;IAIvD,MAAM,CAAC,QAAQ,CAAC,GAAG,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,OAAO;IAOrD;;;;OAIG;IACH,MAAM,CAAC,mBAAmB,CAAC,CAAC,EAAE,KAAK,EAAE,MAAM,GAAG,CAAC;IAe/C;;;;OAIG;IACH,MAAM,CAAC,gBAAgB,CAAC,GAAG,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,MAAM,CAAC;IAI1D;;;OAGG;IACH,MAAM,CAAC,2BAA2B,CAAC,GAAG,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,MAAM,CAAC;IAMrE;;;OAGG;IACH,MAAM,CAAC,eAAe,CAAC,CAAC,EAAE,GAAG,EAAE,MAAM,GAAG,CAAC,GAAG,IAAI;CAOnD"}
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Utility functions for managing date and time operations.
|
|
3
|
-
*/
|
|
4
|
-
/**
|
|
5
|
-
* return the current time in Unix time (seconds).
|
|
6
|
-
*/
|
|
7
|
-
export declare function nowSeconds(): number;
|
|
8
|
-
/**
|
|
9
|
-
* Converts JS Date object to seconds
|
|
10
|
-
* @param date Date
|
|
11
|
-
*/
|
|
12
|
-
export declare function toSecondsFromDate(date: Date): number;
|
|
13
|
-
/**
|
|
14
|
-
* Convert seconds to JS Date object. Seconds can be in a number or string format or undefined (will still return a date).
|
|
15
|
-
* @param seconds
|
|
16
|
-
*/
|
|
17
|
-
export declare function toDateFromSeconds(seconds: number | string | undefined): Date;
|
|
18
|
-
/**
|
|
19
|
-
* check if a token is expired based on given UTC time in seconds.
|
|
20
|
-
* @param expiresOn
|
|
21
|
-
*/
|
|
22
|
-
export declare function isTokenExpired(expiresOn: string, offset: number): boolean;
|
|
23
|
-
/**
|
|
24
|
-
* Checks if a cache entry is expired based on the last updated time and cache retention days.
|
|
25
|
-
* @param lastUpdatedAt
|
|
26
|
-
* @param cacheRetentionDays
|
|
27
|
-
* @returns
|
|
28
|
-
*/
|
|
29
|
-
export declare function isCacheExpired(lastUpdatedAt: string, cacheRetentionDays: number): boolean;
|
|
30
|
-
/**
|
|
31
|
-
* If the current time is earlier than the time that a token was cached at, we must discard the token
|
|
32
|
-
* i.e. The system clock was turned back after acquiring the cached token
|
|
33
|
-
* @param cachedAt
|
|
34
|
-
* @param offset
|
|
35
|
-
*/
|
|
36
|
-
export declare function wasClockTurnedBack(cachedAt: string): boolean;
|
|
37
|
-
/**
|
|
38
|
-
* Waits for t number of milliseconds
|
|
39
|
-
* @param t number
|
|
40
|
-
* @param value T
|
|
41
|
-
*/
|
|
42
|
-
export declare function delay<T>(t: number, value?: T): Promise<T | void>;
|
|
43
|
-
//# sourceMappingURL=TimeUtils.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TimeUtils.d.ts","sourceRoot":"","sources":["../../src/utils/TimeUtils.ts"],"names":[],"mappings":"AAKA;;GAEG;AAEH;;GAEG;AACH,wBAAgB,UAAU,IAAI,MAAM,CAGnC;AAED;;;GAGG;AACH,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,IAAI,GAAG,MAAM,CAGpD;AAED;;;GAGG;AACH,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,GAAG,IAAI,CAK5E;AAED;;;GAGG;AACH,wBAAgB,cAAc,CAAC,SAAS,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,OAAO,CAOzE;AAED;;;;;GAKG;AACH,wBAAgB,cAAc,CAC1B,aAAa,EAAE,MAAM,EACrB,kBAAkB,EAAE,MAAM,GAC3B,OAAO,CAIT;AAED;;;;;GAKG;AACH,wBAAgB,kBAAkB,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAI5D;AAED;;;;GAIG;AACH,wBAAgB,KAAK,CAAC,CAAC,EAAE,CAAC,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,GAAG,OAAO,CAAC,CAAC,GAAG,IAAI,CAAC,CAEhE"}
|
package/dist/utils/UrlUtils.d.ts
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { AuthorizeResponse } from "../response/AuthorizeResponse.js";
|
|
2
|
-
/**
|
|
3
|
-
* Parses hash string from given string. Returns empty string if no hash symbol is found.
|
|
4
|
-
* @param hashString
|
|
5
|
-
*/
|
|
6
|
-
export declare function stripLeadingHashOrQuery(responseString: string): string;
|
|
7
|
-
/**
|
|
8
|
-
* Returns URL hash as server auth code response object.
|
|
9
|
-
*/
|
|
10
|
-
export declare function getDeserializedResponse(responseString: string): AuthorizeResponse | null;
|
|
11
|
-
/**
|
|
12
|
-
* Utility to create a URL from the params map
|
|
13
|
-
*/
|
|
14
|
-
export declare function mapToQueryString(parameters: Map<string, string>): string;
|
|
15
|
-
/**
|
|
16
|
-
* Normalizes URLs for comparison by removing hash, canonicalizing,
|
|
17
|
-
* and ensuring consistent URL encoding in query parameters.
|
|
18
|
-
* This fixes redirect loops when URLs contain encoded characters like apostrophes (%27).
|
|
19
|
-
* @param url - URL to normalize
|
|
20
|
-
* @returns Normalized URL string for comparison
|
|
21
|
-
*/
|
|
22
|
-
export declare function normalizeUrlForComparison(url: string): string;
|
|
23
|
-
//# sourceMappingURL=UrlUtils.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"UrlUtils.d.ts","sourceRoot":"","sources":["../../src/utils/UrlUtils.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AAiCrE;;;GAGG;AACH,wBAAgB,uBAAuB,CAAC,cAAc,EAAE,MAAM,GAAG,MAAM,CAWtE;AAED;;GAEG;AACH,wBAAgB,uBAAuB,CACnC,cAAc,EAAE,MAAM,GACvB,iBAAiB,GAAG,IAAI,CA4B1B;AAED;;GAEG;AACH,wBAAgB,gBAAgB,CAAC,UAAU,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,MAAM,CAQxE;AAED;;;;;;GAMG;AACH,wBAAgB,yBAAyB,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAwB7D"}
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
import { TokenClaims } from "./TokenClaims.js";
|
|
2
|
-
export type DataBoundary = "EU" | "None";
|
|
3
|
-
/**
|
|
4
|
-
* Account object with the following signature:
|
|
5
|
-
* - homeAccountId - Home account identifier for this account object
|
|
6
|
-
* - environment - Entity which issued the token represented by the domain of the issuer (e.g. login.microsoftonline.com)
|
|
7
|
-
* - tenantId - Full tenant or organizational id that this account belongs to
|
|
8
|
-
* - username - preferred_username claim of the id_token that represents this account
|
|
9
|
-
* - upn - The user's UPN used to populate the account username in cases where preferred_username is not present in the ID token claims.
|
|
10
|
-
* - localAccountId - Local, tenant-specific account identifer for this account object, usually used in legacy cases
|
|
11
|
-
* - name - Full name for the account, including given name and family name
|
|
12
|
-
* - idToken - raw ID token
|
|
13
|
-
* - idTokenClaims - Object contains claims from ID token
|
|
14
|
-
* - nativeAccountId - The user's native account ID
|
|
15
|
-
* - tenantProfiles - Map of tenant profile objects for each tenant that the account has authenticated with in the browser
|
|
16
|
-
* - dataBoundary - Data boundary extracted from clientInfo
|
|
17
|
-
*/
|
|
18
|
-
export type AccountInfo = {
|
|
19
|
-
homeAccountId: string;
|
|
20
|
-
environment: string;
|
|
21
|
-
tenantId: string;
|
|
22
|
-
username: string;
|
|
23
|
-
localAccountId: string;
|
|
24
|
-
loginHint?: string;
|
|
25
|
-
name?: string;
|
|
26
|
-
upn?: string;
|
|
27
|
-
idToken?: string;
|
|
28
|
-
idTokenClaims?: TokenClaims & {
|
|
29
|
-
[key: string]: string | number | string[] | object | undefined | unknown;
|
|
30
|
-
};
|
|
31
|
-
nativeAccountId?: string;
|
|
32
|
-
authorityType?: string;
|
|
33
|
-
tenantProfiles?: Map<string, TenantProfile>;
|
|
34
|
-
dataBoundary?: DataBoundary;
|
|
35
|
-
};
|
|
36
|
-
/**
|
|
37
|
-
* Account details that vary across tenants for the same user
|
|
38
|
-
*/
|
|
39
|
-
export type TenantProfile = Pick<AccountInfo, "tenantId" | "localAccountId" | "name" | "username" | "loginHint" | "upn"> & {
|
|
40
|
-
/**
|
|
41
|
-
* - isHomeTenant - True if this is the home tenant profile of the account, false if it's a guest tenant profile
|
|
42
|
-
*/
|
|
43
|
-
isHomeTenant?: boolean;
|
|
44
|
-
};
|
|
45
|
-
export type ActiveAccountFilters = {
|
|
46
|
-
homeAccountId: string;
|
|
47
|
-
localAccountId: string;
|
|
48
|
-
tenantId?: string;
|
|
49
|
-
};
|
|
50
|
-
/**
|
|
51
|
-
* Returns true if tenantId matches the utid portion of homeAccountId
|
|
52
|
-
* @param tenantId
|
|
53
|
-
* @param homeAccountId
|
|
54
|
-
* @returns
|
|
55
|
-
*/
|
|
56
|
-
export declare function tenantIdMatchesHomeTenant(tenantId?: string, homeAccountId?: string): boolean;
|
|
57
|
-
/**
|
|
58
|
-
* Build tenant profile
|
|
59
|
-
* @param homeAccountId - Home account identifier for this account object
|
|
60
|
-
* @param localAccountId - Local account identifer for this account object
|
|
61
|
-
* @param tenantId - Full tenant or organizational id that this account belongs to
|
|
62
|
-
* @param idTokenClaims - Claims from the ID token
|
|
63
|
-
* @returns
|
|
64
|
-
*/
|
|
65
|
-
export declare function buildTenantProfile(homeAccountId: string, localAccountId: string, tenantId: string, idTokenClaims?: TokenClaims): TenantProfile;
|
|
66
|
-
/**
|
|
67
|
-
* Replaces account info that varies by tenant profile sourced from the ID token claims passed in with the tenant-specific account info
|
|
68
|
-
* @param baseAccountInfo
|
|
69
|
-
* @param idTokenClaims
|
|
70
|
-
* @returns
|
|
71
|
-
*/
|
|
72
|
-
export declare function updateAccountTenantProfileData(baseAccountInfo: AccountInfo, tenantProfile?: TenantProfile, idTokenClaims?: TokenClaims, idTokenSecret?: string): AccountInfo;
|
|
73
|
-
//# sourceMappingURL=AccountInfo.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AccountInfo.d.ts","sourceRoot":"","sources":["../../../src/account/AccountInfo.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAE/C,MAAM,MAAM,YAAY,GAAG,IAAI,GAAG,MAAM,CAAC;AAEzC;;;;;;;;;;;;;;GAcG;AACH,MAAM,MAAM,WAAW,GAAG;IACtB,aAAa,EAAE,MAAM,CAAC;IACtB,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,cAAc,EAAE,MAAM,CAAC;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,aAAa,CAAC,EAAE,WAAW,GAAG;QAC1B,CAAC,GAAG,EAAE,MAAM,GACN,MAAM,GACN,MAAM,GACN,MAAM,EAAE,GACR,MAAM,GACN,SAAS,GACT,OAAO,CAAC;KACjB,CAAC;IACF,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,cAAc,CAAC,EAAE,GAAG,CAAC,MAAM,EAAE,aAAa,CAAC,CAAC;IAC5C,YAAY,CAAC,EAAE,YAAY,CAAC;CAC/B,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,aAAa,GAAG,IAAI,CAC5B,WAAW,EACX,UAAU,GAAG,gBAAgB,GAAG,MAAM,GAAG,UAAU,GAAG,WAAW,GAAG,KAAK,CAC5E,GAAG;IACA;;OAEG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;CAC1B,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAAG;IAC/B,aAAa,EAAE,MAAM,CAAC;IACtB,cAAc,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF;;;;;GAKG;AACH,wBAAgB,yBAAyB,CACrC,QAAQ,CAAC,EAAE,MAAM,EACjB,aAAa,CAAC,EAAE,MAAM,GACvB,OAAO,CAMT;AAED;;;;;;;GAOG;AACH,wBAAgB,kBAAkB,CAC9B,aAAa,EAAE,MAAM,EACrB,cAAc,EAAE,MAAM,EACtB,QAAQ,EAAE,MAAM,EAChB,aAAa,CAAC,EAAE,WAAW,GAC5B,aAAa,CAuCf;AAED;;;;;GAKG;AACH,wBAAgB,8BAA8B,CAC1C,eAAe,EAAE,WAAW,EAC5B,aAAa,CAAC,EAAE,aAAa,EAC7B,aAAa,CAAC,EAAE,WAAW,EAC3B,aAAa,CAAC,EAAE,MAAM,GACvB,WAAW,CAgCb"}
|