@azure/msal-common
Advanced tools
Comparing version 14.14.2 to 14.15.0
@@ -1,2 +0,2 @@ | ||
import { TokenClaims } from "./TokenClaims"; | ||
import { TokenClaims } from "./TokenClaims.js"; | ||
/** | ||
@@ -3,0 +3,0 @@ * Account object with the following signature: |
@@ -1,2 +0,2 @@ | ||
import { TokenClaims } from "./TokenClaims"; | ||
import { TokenClaims } from "./TokenClaims.js"; | ||
/** | ||
@@ -3,0 +3,0 @@ * Extract token by decoding the rawToken |
@@ -1,13 +0,13 @@ | ||
import { AuthorityType } from "./AuthorityType"; | ||
import { OpenIdConfigResponse } from "./OpenIdConfigResponse"; | ||
import { IUri } from "../url/IUri"; | ||
import { INetworkModule } from "../network/INetworkModule"; | ||
import { ProtocolMode } from "./ProtocolMode"; | ||
import { ICacheManager } from "../cache/interface/ICacheManager"; | ||
import { AuthorityOptions, StaticAuthorityOptions } from "./AuthorityOptions"; | ||
import { CloudDiscoveryMetadata } from "./CloudDiscoveryMetadata"; | ||
import { RegionDiscoveryMetadata } from "./RegionDiscoveryMetadata"; | ||
import { AzureCloudOptions } from "../config/ClientConfiguration"; | ||
import { Logger } from "../logger/Logger"; | ||
import { IPerformanceClient } from "../telemetry/performance/IPerformanceClient"; | ||
import { AuthorityType } from "./AuthorityType.js"; | ||
import { OpenIdConfigResponse } from "./OpenIdConfigResponse.js"; | ||
import { IUri } from "../url/IUri.js"; | ||
import { INetworkModule } from "../network/INetworkModule.js"; | ||
import { ProtocolMode } from "./ProtocolMode.js"; | ||
import { ICacheManager } from "../cache/interface/ICacheManager.js"; | ||
import { AuthorityOptions, StaticAuthorityOptions } from "./AuthorityOptions.js"; | ||
import { CloudDiscoveryMetadata } from "./CloudDiscoveryMetadata.js"; | ||
import { RegionDiscoveryMetadata } from "./RegionDiscoveryMetadata.js"; | ||
import { AzureCloudOptions } from "../config/ClientConfiguration.js"; | ||
import { Logger } from "../logger/Logger.js"; | ||
import { IPerformanceClient } from "../telemetry/performance/IPerformanceClient.js"; | ||
/** | ||
@@ -14,0 +14,0 @@ * The authority class validates the authority URIs used by the user, and retrieves the OpenID Configuration Data from the |
@@ -1,7 +0,7 @@ | ||
import { Authority } from "./Authority"; | ||
import { INetworkModule } from "../network/INetworkModule"; | ||
import { ICacheManager } from "../cache/interface/ICacheManager"; | ||
import { AuthorityOptions } from "./AuthorityOptions"; | ||
import { Logger } from "../logger/Logger"; | ||
import { IPerformanceClient } from "../telemetry/performance/IPerformanceClient"; | ||
import { Authority } from "./Authority.js"; | ||
import { INetworkModule } from "../network/INetworkModule.js"; | ||
import { ICacheManager } from "../cache/interface/ICacheManager.js"; | ||
import { AuthorityOptions } from "./AuthorityOptions.js"; | ||
import { Logger } from "../logger/Logger.js"; | ||
import { IPerformanceClient } from "../telemetry/performance/IPerformanceClient.js"; | ||
/** | ||
@@ -8,0 +8,0 @@ * Create an authority object of the correct type based on the url |
@@ -1,7 +0,7 @@ | ||
import { Logger } from "../logger/Logger"; | ||
import { AuthorityMetadataSource } from "../utils/Constants"; | ||
import { StaticAuthorityOptions } from "./AuthorityOptions"; | ||
import { CloudDiscoveryMetadata } from "./CloudDiscoveryMetadata"; | ||
import { CloudInstanceDiscoveryResponse } from "./CloudInstanceDiscoveryResponse"; | ||
import { OpenIdConfigResponse } from "./OpenIdConfigResponse"; | ||
import { Logger } from "../logger/Logger.js"; | ||
import { AuthorityMetadataSource } from "../utils/Constants.js"; | ||
import { StaticAuthorityOptions } from "./AuthorityOptions.js"; | ||
import { CloudDiscoveryMetadata } from "./CloudDiscoveryMetadata.js"; | ||
import { CloudInstanceDiscoveryResponse } from "./CloudInstanceDiscoveryResponse.js"; | ||
import { OpenIdConfigResponse } from "./OpenIdConfigResponse.js"; | ||
type RawMetadata = { | ||
@@ -8,0 +8,0 @@ endpointMetadata: { |
@@ -1,5 +0,5 @@ | ||
import { ProtocolMode } from "./ProtocolMode"; | ||
import { OIDCOptions } from "./OIDCOptions"; | ||
import { AzureRegionConfiguration } from "./AzureRegionConfiguration"; | ||
import { CloudInstanceDiscoveryResponse } from "./CloudInstanceDiscoveryResponse"; | ||
import { ProtocolMode } from "./ProtocolMode.js"; | ||
import { OIDCOptions } from "./OIDCOptions.js"; | ||
import { AzureRegionConfiguration } from "./AzureRegionConfiguration.js"; | ||
import { CloudInstanceDiscoveryResponse } from "./CloudInstanceDiscoveryResponse.js"; | ||
export type AuthorityOptions = { | ||
@@ -6,0 +6,0 @@ protocolMode: ProtocolMode; |
@@ -1,2 +0,2 @@ | ||
import { AzureRegion } from "./AzureRegion"; | ||
import { AzureRegion } from "./AzureRegion.js"; | ||
export type AzureRegionConfiguration = { | ||
@@ -3,0 +3,0 @@ azureRegion?: AzureRegion; |
@@ -1,2 +0,2 @@ | ||
import { CloudDiscoveryMetadata } from "./CloudDiscoveryMetadata"; | ||
import { CloudDiscoveryMetadata } from "./CloudDiscoveryMetadata.js"; | ||
/** | ||
@@ -3,0 +3,0 @@ * The OpenID Configuration Endpoint Response type. Used by the authority class to get relevant OAuth endpoints. |
@@ -1,2 +0,2 @@ | ||
import { ServerResponseType } from "../utils/Constants"; | ||
import { ServerResponseType } from "../utils/Constants.js"; | ||
/** | ||
@@ -3,0 +3,0 @@ * Options for the OIDC protocol mode. |
@@ -1,6 +0,6 @@ | ||
import { INetworkModule } from "../network/INetworkModule"; | ||
import { RegionDiscoveryMetadata } from "./RegionDiscoveryMetadata"; | ||
import { ImdsOptions } from "./ImdsOptions"; | ||
import { IPerformanceClient } from "../telemetry/performance/IPerformanceClient"; | ||
import { Logger } from "../logger/Logger"; | ||
import { INetworkModule } from "../network/INetworkModule.js"; | ||
import { RegionDiscoveryMetadata } from "./RegionDiscoveryMetadata.js"; | ||
import { ImdsOptions } from "./ImdsOptions.js"; | ||
import { IPerformanceClient } from "../telemetry/performance/IPerformanceClient.js"; | ||
import { Logger } from "../logger/Logger.js"; | ||
export declare class RegionDiscovery { | ||
@@ -7,0 +7,0 @@ protected networkInterface: INetworkModule; |
@@ -1,2 +0,2 @@ | ||
import { RegionDiscoveryOutcomes, RegionDiscoverySources } from "../utils/Constants"; | ||
import { RegionDiscoveryOutcomes, RegionDiscoverySources } from "../utils/Constants.js"; | ||
export type RegionDiscoveryMetadata = { | ||
@@ -3,0 +3,0 @@ region_used?: string; |
@@ -1,7 +0,7 @@ | ||
/// <reference types="node" /> | ||
import { AccountInfo } from "../../account/AccountInfo"; | ||
import { LoggerOptions } from "../../config/ClientConfiguration"; | ||
import { NativeRequest } from "../../request/NativeRequest"; | ||
import { NativeSignOutRequest } from "../../request/NativeSignOutRequest"; | ||
import { AuthenticationResult } from "../../response/AuthenticationResult"; | ||
/// <reference types="node" resolution-mode="require"/> | ||
import { AccountInfo } from "../../account/AccountInfo.js"; | ||
import { LoggerOptions } from "../../config/ClientConfiguration.js"; | ||
import { NativeRequest } from "../../request/NativeRequest.js"; | ||
import { NativeSignOutRequest } from "../../request/NativeSignOutRequest.js"; | ||
import { AuthenticationResult } from "../../response/AuthenticationResult.js"; | ||
export interface INativeBrokerPlugin { | ||
@@ -8,0 +8,0 @@ isBrokerAvailable: boolean; |
@@ -1,19 +0,19 @@ | ||
import { AccountFilter, CredentialFilter, ValidCredentialType, AppMetadataFilter, AppMetadataCache, TokenKeys } from "./utils/CacheTypes"; | ||
import { CacheRecord } from "./entities/CacheRecord"; | ||
import { AccountEntity } from "./entities/AccountEntity"; | ||
import { AccessTokenEntity } from "./entities/AccessTokenEntity"; | ||
import { IdTokenEntity } from "./entities/IdTokenEntity"; | ||
import { RefreshTokenEntity } from "./entities/RefreshTokenEntity"; | ||
import { ICacheManager } from "./interface/ICacheManager"; | ||
import { AccountInfo } from "../account/AccountInfo"; | ||
import { AppMetadataEntity } from "./entities/AppMetadataEntity"; | ||
import { ServerTelemetryEntity } from "./entities/ServerTelemetryEntity"; | ||
import { ThrottlingEntity } from "./entities/ThrottlingEntity"; | ||
import { ICrypto } from "../crypto/ICrypto"; | ||
import { AuthorityMetadataEntity } from "./entities/AuthorityMetadataEntity"; | ||
import { BaseAuthRequest } from "../request/BaseAuthRequest"; | ||
import { Logger } from "../logger/Logger"; | ||
import { StoreInCache } from "../request/StoreInCache"; | ||
import { StaticAuthorityOptions } from "../authority/AuthorityOptions"; | ||
import { IPerformanceClient } from "../telemetry/performance/IPerformanceClient"; | ||
import { AccountFilter, CredentialFilter, ValidCredentialType, AppMetadataFilter, AppMetadataCache, TokenKeys } from "./utils/CacheTypes.js"; | ||
import { CacheRecord } from "./entities/CacheRecord.js"; | ||
import { AccountEntity } from "./entities/AccountEntity.js"; | ||
import { AccessTokenEntity } from "./entities/AccessTokenEntity.js"; | ||
import { IdTokenEntity } from "./entities/IdTokenEntity.js"; | ||
import { RefreshTokenEntity } from "./entities/RefreshTokenEntity.js"; | ||
import { ICacheManager } from "./interface/ICacheManager.js"; | ||
import { AccountInfo } from "../account/AccountInfo.js"; | ||
import { AppMetadataEntity } from "./entities/AppMetadataEntity.js"; | ||
import { ServerTelemetryEntity } from "./entities/ServerTelemetryEntity.js"; | ||
import { ThrottlingEntity } from "./entities/ThrottlingEntity.js"; | ||
import { ICrypto } from "../crypto/ICrypto.js"; | ||
import { AuthorityMetadataEntity } from "./entities/AuthorityMetadataEntity.js"; | ||
import { BaseAuthRequest } from "../request/BaseAuthRequest.js"; | ||
import { Logger } from "../logger/Logger.js"; | ||
import { StoreInCache } from "../request/StoreInCache.js"; | ||
import { StaticAuthorityOptions } from "../authority/AuthorityOptions.js"; | ||
import { IPerformanceClient } from "../telemetry/performance/IPerformanceClient.js"; | ||
/** | ||
@@ -20,0 +20,0 @@ * Interface class which implement cache storage functions used by MSAL to perform validity checks, and store tokens. |
@@ -1,3 +0,3 @@ | ||
import { CredentialEntity } from "./CredentialEntity"; | ||
import { AuthenticationScheme } from "../../utils/Constants"; | ||
import { CredentialEntity } from "./CredentialEntity.js"; | ||
import { AuthenticationScheme } from "../../utils/Constants.js"; | ||
/** | ||
@@ -4,0 +4,0 @@ * Access token cache type |
@@ -1,7 +0,7 @@ | ||
import { Authority } from "../../authority/Authority"; | ||
import { ICrypto } from "../../crypto/ICrypto"; | ||
import { AccountInfo, TenantProfile } from "../../account/AccountInfo"; | ||
import { AuthorityType } from "../../authority/AuthorityType"; | ||
import { Logger } from "../../logger/Logger"; | ||
import { TokenClaims } from "../../account/TokenClaims"; | ||
import { Authority } from "../../authority/Authority.js"; | ||
import { ICrypto } from "../../crypto/ICrypto.js"; | ||
import { AccountInfo, TenantProfile } from "../../account/AccountInfo.js"; | ||
import { AuthorityType } from "../../authority/AuthorityType.js"; | ||
import { Logger } from "../../logger/Logger.js"; | ||
import { TokenClaims } from "../../account/TokenClaims.js"; | ||
/** | ||
@@ -8,0 +8,0 @@ * Type that defines required and optional parameters for an Account field (based on universal cache schema implemented by all MSALs). |
@@ -1,6 +0,6 @@ | ||
import { IdTokenEntity } from "./IdTokenEntity"; | ||
import { AccessTokenEntity } from "./AccessTokenEntity"; | ||
import { RefreshTokenEntity } from "./RefreshTokenEntity"; | ||
import { AccountEntity } from "./AccountEntity"; | ||
import { AppMetadataEntity } from "./AppMetadataEntity"; | ||
import { IdTokenEntity } from "./IdTokenEntity.js"; | ||
import { AccessTokenEntity } from "./AccessTokenEntity.js"; | ||
import { RefreshTokenEntity } from "./RefreshTokenEntity.js"; | ||
import { AccountEntity } from "./AccountEntity.js"; | ||
import { AppMetadataEntity } from "./AppMetadataEntity.js"; | ||
/** @internal */ | ||
@@ -7,0 +7,0 @@ export type CacheRecord = { |
@@ -1,2 +0,2 @@ | ||
import { CredentialType, AuthenticationScheme } from "../../utils/Constants"; | ||
import { CredentialType, AuthenticationScheme } from "../../utils/Constants.js"; | ||
/** | ||
@@ -3,0 +3,0 @@ * Credential Cache Type |
@@ -1,2 +0,2 @@ | ||
import { CredentialEntity } from "./CredentialEntity"; | ||
import { CredentialEntity } from "./CredentialEntity.js"; | ||
/** | ||
@@ -3,0 +3,0 @@ * Id Token Cache Type |
@@ -1,2 +0,2 @@ | ||
import { CredentialEntity } from "./CredentialEntity"; | ||
import { CredentialEntity } from "./CredentialEntity.js"; | ||
/** | ||
@@ -3,0 +3,0 @@ * Refresh Token Cache Type |
@@ -1,13 +0,13 @@ | ||
import { AccountFilter } from "../utils/CacheTypes"; | ||
import { CacheRecord } from "../entities/CacheRecord"; | ||
import { AccountEntity } from "../entities/AccountEntity"; | ||
import { AccountInfo } from "../../account/AccountInfo"; | ||
import { AppMetadataEntity } from "../entities/AppMetadataEntity"; | ||
import { ServerTelemetryEntity } from "../entities/ServerTelemetryEntity"; | ||
import { ThrottlingEntity } from "../entities/ThrottlingEntity"; | ||
import { IdTokenEntity } from "../entities/IdTokenEntity"; | ||
import { AccessTokenEntity } from "../entities/AccessTokenEntity"; | ||
import { RefreshTokenEntity } from "../entities/RefreshTokenEntity"; | ||
import { AuthorityMetadataEntity } from "../entities/AuthorityMetadataEntity"; | ||
import { StoreInCache } from "../../request/StoreInCache"; | ||
import { AccountFilter } from "../utils/CacheTypes.js"; | ||
import { CacheRecord } from "../entities/CacheRecord.js"; | ||
import { AccountEntity } from "../entities/AccountEntity.js"; | ||
import { AccountInfo } from "../../account/AccountInfo.js"; | ||
import { AppMetadataEntity } from "../entities/AppMetadataEntity.js"; | ||
import { ServerTelemetryEntity } from "../entities/ServerTelemetryEntity.js"; | ||
import { ThrottlingEntity } from "../entities/ThrottlingEntity.js"; | ||
import { IdTokenEntity } from "../entities/IdTokenEntity.js"; | ||
import { AccessTokenEntity } from "../entities/AccessTokenEntity.js"; | ||
import { RefreshTokenEntity } from "../entities/RefreshTokenEntity.js"; | ||
import { AuthorityMetadataEntity } from "../entities/AuthorityMetadataEntity.js"; | ||
import { StoreInCache } from "../../request/StoreInCache.js"; | ||
export interface ICacheManager { | ||
@@ -14,0 +14,0 @@ /** |
@@ -1,2 +0,2 @@ | ||
import { TokenCacheContext } from "../persistence/TokenCacheContext"; | ||
import { TokenCacheContext } from "../persistence/TokenCacheContext.js"; | ||
export interface ICachePlugin { | ||
@@ -3,0 +3,0 @@ beforeCacheAccess: (tokenCacheContext: TokenCacheContext) => Promise<void>; |
@@ -1,2 +0,2 @@ | ||
import { ISerializableTokenCache } from "../interface/ISerializableTokenCache"; | ||
import { ISerializableTokenCache } from "../interface/ISerializableTokenCache.js"; | ||
/** | ||
@@ -3,0 +3,0 @@ * This class instance helps track the memory changes facilitating |
@@ -1,10 +0,10 @@ | ||
import { CloudDiscoveryMetadata } from "../../authority/CloudDiscoveryMetadata"; | ||
import { OpenIdConfigResponse } from "../../authority/OpenIdConfigResponse"; | ||
import { AuthenticationScheme } from "../../utils/Constants"; | ||
import { AccessTokenEntity } from "../entities/AccessTokenEntity"; | ||
import { AppMetadataEntity } from "../entities/AppMetadataEntity"; | ||
import { AuthorityMetadataEntity } from "../entities/AuthorityMetadataEntity"; | ||
import { CredentialEntity } from "../entities/CredentialEntity"; | ||
import { IdTokenEntity } from "../entities/IdTokenEntity"; | ||
import { RefreshTokenEntity } from "../entities/RefreshTokenEntity"; | ||
import { CloudDiscoveryMetadata } from "../../authority/CloudDiscoveryMetadata.js"; | ||
import { OpenIdConfigResponse } from "../../authority/OpenIdConfigResponse.js"; | ||
import { AuthenticationScheme } from "../../utils/Constants.js"; | ||
import { AccessTokenEntity } from "../entities/AccessTokenEntity.js"; | ||
import { AppMetadataEntity } from "../entities/AppMetadataEntity.js"; | ||
import { AuthorityMetadataEntity } from "../entities/AuthorityMetadataEntity.js"; | ||
import { CredentialEntity } from "../entities/CredentialEntity.js"; | ||
import { IdTokenEntity } from "../entities/IdTokenEntity.js"; | ||
import { RefreshTokenEntity } from "../entities/RefreshTokenEntity.js"; | ||
/** | ||
@@ -11,0 +11,0 @@ * Cache Key: <home_account_id>-<environment>-<credential_type>-<client_id or familyId>-<realm>-<scopes>-<claims hash>-<scheme> |
@@ -1,12 +0,12 @@ | ||
import { AccountEntity } from "../entities/AccountEntity"; | ||
import { IdTokenEntity } from "../entities/IdTokenEntity"; | ||
import { AccessTokenEntity } from "../entities/AccessTokenEntity"; | ||
import { RefreshTokenEntity } from "../entities/RefreshTokenEntity"; | ||
import { AppMetadataEntity } from "../entities/AppMetadataEntity"; | ||
import { ServerTelemetryEntity } from "../entities/ServerTelemetryEntity"; | ||
import { ThrottlingEntity } from "../entities/ThrottlingEntity"; | ||
import { AuthorityMetadataEntity } from "../entities/AuthorityMetadataEntity"; | ||
import { AuthenticationScheme } from "../../utils/Constants"; | ||
import { ScopeSet } from "../../request/ScopeSet"; | ||
import { AccountInfo } from "../../account/AccountInfo"; | ||
import { AccountEntity } from "../entities/AccountEntity.js"; | ||
import { IdTokenEntity } from "../entities/IdTokenEntity.js"; | ||
import { AccessTokenEntity } from "../entities/AccessTokenEntity.js"; | ||
import { RefreshTokenEntity } from "../entities/RefreshTokenEntity.js"; | ||
import { AppMetadataEntity } from "../entities/AppMetadataEntity.js"; | ||
import { ServerTelemetryEntity } from "../entities/ServerTelemetryEntity.js"; | ||
import { ThrottlingEntity } from "../entities/ThrottlingEntity.js"; | ||
import { AuthorityMetadataEntity } from "../entities/AuthorityMetadataEntity.js"; | ||
import { AuthenticationScheme } from "../../utils/Constants.js"; | ||
import { ScopeSet } from "../../request/ScopeSet.js"; | ||
import { AccountInfo } from "../../account/AccountInfo.js"; | ||
/** @internal */ | ||
@@ -13,0 +13,0 @@ export type AccountCache = Record<string, AccountEntity>; |
@@ -1,10 +0,10 @@ | ||
import { BaseClient } from "./BaseClient"; | ||
import { CommonAuthorizationUrlRequest } from "../request/CommonAuthorizationUrlRequest"; | ||
import { CommonAuthorizationCodeRequest } from "../request/CommonAuthorizationCodeRequest"; | ||
import { ClientConfiguration } from "../config/ClientConfiguration"; | ||
import { AuthenticationResult } from "../response/AuthenticationResult"; | ||
import { ServerAuthorizationCodeResponse } from "../response/ServerAuthorizationCodeResponse"; | ||
import { CommonEndSessionRequest } from "../request/CommonEndSessionRequest"; | ||
import { AuthorizationCodePayload } from "../response/AuthorizationCodePayload"; | ||
import { IPerformanceClient } from "../telemetry/performance/IPerformanceClient"; | ||
import { BaseClient } from "./BaseClient.js"; | ||
import { CommonAuthorizationUrlRequest } from "../request/CommonAuthorizationUrlRequest.js"; | ||
import { CommonAuthorizationCodeRequest } from "../request/CommonAuthorizationCodeRequest.js"; | ||
import { ClientConfiguration } from "../config/ClientConfiguration.js"; | ||
import { AuthenticationResult } from "../response/AuthenticationResult.js"; | ||
import { ServerAuthorizationCodeResponse } from "../response/ServerAuthorizationCodeResponse.js"; | ||
import { CommonEndSessionRequest } from "../request/CommonEndSessionRequest.js"; | ||
import { AuthorizationCodePayload } from "../response/AuthorizationCodePayload.js"; | ||
import { IPerformanceClient } from "../telemetry/performance/IPerformanceClient.js"; | ||
/** | ||
@@ -68,2 +68,3 @@ * Oauth2.0 Authorization Code client | ||
private createLogoutUrlQueryString; | ||
private addExtraQueryParams; | ||
/** | ||
@@ -70,0 +71,0 @@ * Helper to get sid from account. Returns null if idTokenClaims are not present or sid is not present. |
@@ -1,14 +0,14 @@ | ||
import { ClientConfiguration, CommonClientConfiguration } from "../config/ClientConfiguration"; | ||
import { INetworkModule } from "../network/INetworkModule"; | ||
import { NetworkManager, NetworkResponse } from "../network/NetworkManager"; | ||
import { ICrypto } from "../crypto/ICrypto"; | ||
import { Authority } from "../authority/Authority"; | ||
import { Logger } from "../logger/Logger"; | ||
import { ServerAuthorizationTokenResponse } from "../response/ServerAuthorizationTokenResponse"; | ||
import { CacheManager } from "../cache/CacheManager"; | ||
import { ServerTelemetryManager } from "../telemetry/server/ServerTelemetryManager"; | ||
import { RequestThumbprint } from "../network/RequestThumbprint"; | ||
import { CcsCredential } from "../account/CcsCredential"; | ||
import { IPerformanceClient } from "../telemetry/performance/IPerformanceClient"; | ||
import { BaseAuthRequest } from "../request/BaseAuthRequest"; | ||
import { ClientConfiguration, CommonClientConfiguration } from "../config/ClientConfiguration.js"; | ||
import { INetworkModule } from "../network/INetworkModule.js"; | ||
import { NetworkManager, NetworkResponse } from "../network/NetworkManager.js"; | ||
import { ICrypto } from "../crypto/ICrypto.js"; | ||
import { Authority } from "../authority/Authority.js"; | ||
import { Logger } from "../logger/Logger.js"; | ||
import { ServerAuthorizationTokenResponse } from "../response/ServerAuthorizationTokenResponse.js"; | ||
import { CacheManager } from "../cache/CacheManager.js"; | ||
import { ServerTelemetryManager } from "../telemetry/server/ServerTelemetryManager.js"; | ||
import { RequestThumbprint } from "../network/RequestThumbprint.js"; | ||
import { CcsCredential } from "../account/CcsCredential.js"; | ||
import { IPerformanceClient } from "../telemetry/performance/IPerformanceClient.js"; | ||
import { BaseAuthRequest } from "../request/BaseAuthRequest.js"; | ||
/** | ||
@@ -15,0 +15,0 @@ * Base application class which will construct requests to send to and handle responses from the Microsoft STS using the authorization code flow. |
@@ -1,7 +0,7 @@ | ||
import { ClientConfiguration } from "../config/ClientConfiguration"; | ||
import { BaseClient } from "./BaseClient"; | ||
import { CommonRefreshTokenRequest } from "../request/CommonRefreshTokenRequest"; | ||
import { AuthenticationResult } from "../response/AuthenticationResult"; | ||
import { CommonSilentFlowRequest } from "../request/CommonSilentFlowRequest"; | ||
import { IPerformanceClient } from "../telemetry/performance/IPerformanceClient"; | ||
import { ClientConfiguration } from "../config/ClientConfiguration.js"; | ||
import { BaseClient } from "./BaseClient.js"; | ||
import { CommonRefreshTokenRequest } from "../request/CommonRefreshTokenRequest.js"; | ||
import { AuthenticationResult } from "../response/AuthenticationResult.js"; | ||
import { CommonSilentFlowRequest } from "../request/CommonSilentFlowRequest.js"; | ||
import { IPerformanceClient } from "../telemetry/performance/IPerformanceClient.js"; | ||
/** | ||
@@ -8,0 +8,0 @@ * OAuth2.0 refresh token client |
@@ -1,7 +0,7 @@ | ||
import { BaseClient } from "./BaseClient"; | ||
import { ClientConfiguration } from "../config/ClientConfiguration"; | ||
import { CommonSilentFlowRequest } from "../request/CommonSilentFlowRequest"; | ||
import { AuthenticationResult } from "../response/AuthenticationResult"; | ||
import { CacheOutcome } from "../utils/Constants"; | ||
import { IPerformanceClient } from "../telemetry/performance/IPerformanceClient"; | ||
import { BaseClient } from "./BaseClient.js"; | ||
import { ClientConfiguration } from "../config/ClientConfiguration.js"; | ||
import { CommonSilentFlowRequest } from "../request/CommonSilentFlowRequest.js"; | ||
import { AuthenticationResult } from "../response/AuthenticationResult.js"; | ||
import { CacheOutcome } from "../utils/Constants.js"; | ||
import { IPerformanceClient } from "../telemetry/performance/IPerformanceClient.js"; | ||
/** @internal */ | ||
@@ -8,0 +8,0 @@ export declare class SilentFlowClient extends BaseClient { |
@@ -1,11 +0,11 @@ | ||
import { INetworkModule } from "../network/INetworkModule"; | ||
import { ICrypto } from "../crypto/ICrypto"; | ||
import { ILoggerCallback, LogLevel } from "../logger/Logger"; | ||
import { Authority } from "../authority/Authority"; | ||
import { AzureCloudInstance } from "../authority/AuthorityOptions"; | ||
import { CacheManager } from "../cache/CacheManager"; | ||
import { ServerTelemetryManager } from "../telemetry/server/ServerTelemetryManager"; | ||
import { ICachePlugin } from "../cache/interface/ICachePlugin"; | ||
import { ISerializableTokenCache } from "../cache/interface/ISerializableTokenCache"; | ||
import { ClientCredentials } from "../account/ClientCredentials"; | ||
import { INetworkModule } from "../network/INetworkModule.js"; | ||
import { ICrypto } from "../crypto/ICrypto.js"; | ||
import { ILoggerCallback, LogLevel } from "../logger/Logger.js"; | ||
import { Authority } from "../authority/Authority.js"; | ||
import { AzureCloudInstance } from "../authority/AuthorityOptions.js"; | ||
import { CacheManager } from "../cache/CacheManager.js"; | ||
import { ServerTelemetryManager } from "../telemetry/server/ServerTelemetryManager.js"; | ||
import { ICachePlugin } from "../cache/interface/ICachePlugin.js"; | ||
import { ISerializableTokenCache } from "../cache/interface/ISerializableTokenCache.js"; | ||
import { ClientCredentials } from "../account/ClientCredentials.js"; | ||
/** | ||
@@ -65,3 +65,4 @@ * Use the configuration object to configure MSAL Modules and initialize the base interfaces for MSAL. | ||
* - protocolMode - Enum that represents the protocol that msal follows. Used for configuring proper endpoints. | ||
* - skipAuthorityMetadataCache - A flag to choose whether to use or not use the local metadata cache during authority initialization. Defaults to false. | ||
* - skipAuthorityMetadataCache - A flag to choose whether to use or not use the local metadata cache during authority initialization. Defaults to false. | ||
* - instanceAware - A flag of whether the STS will send back additional parameters to specify where the tokens should be retrieved from. | ||
* @internal | ||
@@ -75,2 +76,3 @@ */ | ||
skipAuthorityMetadataCache?: boolean; | ||
instanceAware?: boolean; | ||
}; | ||
@@ -77,0 +79,0 @@ /** |
@@ -1,3 +0,3 @@ | ||
import { BaseAuthRequest } from "../request/BaseAuthRequest"; | ||
import { ShrOptions, SignedHttpRequest } from "./SignedHttpRequest"; | ||
import { BaseAuthRequest } from "../request/BaseAuthRequest.js"; | ||
import { ShrOptions, SignedHttpRequest } from "./SignedHttpRequest.js"; | ||
/** | ||
@@ -4,0 +4,0 @@ * The PkceCodes type describes the structure |
@@ -1,2 +0,2 @@ | ||
import { JsonWebTokenTypes } from "../utils/Constants"; | ||
import { JsonWebTokenTypes } from "../utils/Constants.js"; | ||
export type JoseHeaderOptions = { | ||
@@ -3,0 +3,0 @@ typ?: JsonWebTokenTypes; |
@@ -1,4 +0,4 @@ | ||
import { ICrypto, SignedHttpRequestParameters } from "./ICrypto"; | ||
import { IPerformanceClient } from "../telemetry/performance/IPerformanceClient"; | ||
import { Logger } from "../logger/Logger"; | ||
import { ICrypto, SignedHttpRequestParameters } from "./ICrypto.js"; | ||
import { IPerformanceClient } from "../telemetry/performance/IPerformanceClient.js"; | ||
import { Logger } from "../logger/Logger.js"; | ||
/** | ||
@@ -5,0 +5,0 @@ * See eSTS docs for more info. |
@@ -1,2 +0,2 @@ | ||
import { JoseHeaderOptions } from "./JoseHeader"; | ||
import { JoseHeaderOptions } from "./JoseHeader.js"; | ||
export type SignedHttpRequest = { | ||
@@ -3,0 +3,0 @@ at?: string; |
@@ -1,2 +0,2 @@ | ||
import * as AuthErrorCodes from "./AuthErrorCodes"; | ||
import * as AuthErrorCodes from "./AuthErrorCodes.js"; | ||
export { AuthErrorCodes }; | ||
@@ -3,0 +3,0 @@ export declare const AuthErrorMessages: { |
@@ -1,2 +0,2 @@ | ||
import * as CacheErrorCodes from "./CacheErrorCodes"; | ||
import * as CacheErrorCodes from "./CacheErrorCodes.js"; | ||
export { CacheErrorCodes }; | ||
@@ -3,0 +3,0 @@ export declare const CacheErrorMessages: { |
@@ -1,3 +0,3 @@ | ||
import { AuthError } from "./AuthError"; | ||
import * as ClientAuthErrorCodes from "./ClientAuthErrorCodes"; | ||
import { AuthError } from "./AuthError.js"; | ||
import * as ClientAuthErrorCodes from "./ClientAuthErrorCodes.js"; | ||
export { ClientAuthErrorCodes }; | ||
@@ -4,0 +4,0 @@ /** |
@@ -1,3 +0,3 @@ | ||
import { AuthError } from "./AuthError"; | ||
import * as ClientConfigurationErrorCodes from "./ClientConfigurationErrorCodes"; | ||
import { AuthError } from "./AuthError.js"; | ||
import * as ClientConfigurationErrorCodes from "./ClientConfigurationErrorCodes.js"; | ||
export { ClientConfigurationErrorCodes }; | ||
@@ -4,0 +4,0 @@ export declare const ClientConfigurationErrorMessages: { |
@@ -1,3 +0,3 @@ | ||
import { AuthError } from "./AuthError"; | ||
import * as InteractionRequiredAuthErrorCodes from "./InteractionRequiredAuthErrorCodes"; | ||
import { AuthError } from "./AuthError.js"; | ||
import * as InteractionRequiredAuthErrorCodes from "./InteractionRequiredAuthErrorCodes.js"; | ||
export { InteractionRequiredAuthErrorCodes }; | ||
@@ -4,0 +4,0 @@ /** |
@@ -1,3 +0,3 @@ | ||
import { AuthError } from "./AuthError"; | ||
import * as JoseHeaderErrorCodes from "./JoseHeaderErrorCodes"; | ||
import { AuthError } from "./AuthError.js"; | ||
import * as JoseHeaderErrorCodes from "./JoseHeaderErrorCodes.js"; | ||
export { JoseHeaderErrorCodes }; | ||
@@ -4,0 +4,0 @@ export declare const JoseHeaderErrorMessages: { |
@@ -1,2 +0,2 @@ | ||
import { AuthError } from "./AuthError"; | ||
import { AuthError } from "./AuthError.js"; | ||
/** | ||
@@ -3,0 +3,0 @@ * Error thrown when there is an error with the server code, for example, unavailability. |
@@ -5,105 +5,9 @@ /** | ||
*/ | ||
import * as AuthToken from "./account/AuthToken"; | ||
import * as AuthorityFactory from "./authority/AuthorityFactory"; | ||
import * as CacheHelpers from "./cache/utils/CacheHelpers"; | ||
import * as TimeUtils from "./utils/TimeUtils"; | ||
import * as UrlUtils from "./utils/UrlUtils"; | ||
import * as ClientAssertionUtils from "./utils/ClientAssertionUtils"; | ||
import * as AADServerParamKeys from "./constants/AADServerParamKeys"; | ||
export { AuthorizationCodeClient } from "./client/AuthorizationCodeClient"; | ||
export { RefreshTokenClient } from "./client/RefreshTokenClient"; | ||
export { SilentFlowClient } from "./client/SilentFlowClient"; | ||
export { BaseClient } from "./client/BaseClient"; | ||
export { AuthOptions, SystemOptions, LoggerOptions, CacheOptions, DEFAULT_SYSTEM_OPTIONS, AzureCloudOptions, ApplicationTelemetry, } from "./config/ClientConfiguration"; | ||
export { IAppTokenProvider, AppTokenProviderParameters, AppTokenProviderResult, } from "./config/AppTokenProvider"; | ||
export { ClientConfiguration } from "./config/ClientConfiguration"; | ||
export { AccountInfo, ActiveAccountFilters, TenantProfile, updateAccountTenantProfileData, tenantIdMatchesHomeTenant, buildTenantProfile, } from "./account/AccountInfo"; | ||
export { AuthToken }; | ||
export { TokenClaims, getTenantIdFromIdTokenClaims, } from "./account/TokenClaims"; | ||
export { TokenClaims as IdTokenClaims } from "./account/TokenClaims"; | ||
export { CcsCredential, CcsCredentialType } from "./account/CcsCredential"; | ||
export { ClientInfo, buildClientInfo, buildClientInfoFromHomeAccountId, } from "./account/ClientInfo"; | ||
export { Authority, formatAuthorityUri, buildStaticAuthorityOptions, } from "./authority/Authority"; | ||
export { AuthorityOptions, AzureCloudInstance, StaticAuthorityOptions, } from "./authority/AuthorityOptions"; | ||
export { AuthorityFactory }; | ||
export { AuthorityType } from "./authority/AuthorityType"; | ||
export { ProtocolMode } from "./authority/ProtocolMode"; | ||
export { OIDCOptions } from "./authority/OIDCOptions"; | ||
export { INativeBrokerPlugin } from "./broker/nativeBroker/INativeBrokerPlugin"; | ||
export { CacheManager, DefaultStorageClass } from "./cache/CacheManager"; | ||
export { AccountCache, AccountFilter, AccessTokenCache, IdTokenCache, RefreshTokenCache, AppMetadataCache, CredentialFilter, ValidCacheType, ValidCredentialType, TokenKeys, } from "./cache/utils/CacheTypes"; | ||
export { CacheRecord } from "./cache/entities/CacheRecord"; | ||
export { CredentialEntity } from "./cache/entities/CredentialEntity"; | ||
export { CacheHelpers }; | ||
export { AppMetadataEntity } from "./cache/entities/AppMetadataEntity"; | ||
export { AccountEntity } from "./cache/entities/AccountEntity"; | ||
export { IdTokenEntity } from "./cache/entities/IdTokenEntity"; | ||
export { AccessTokenEntity } from "./cache/entities/AccessTokenEntity"; | ||
export { RefreshTokenEntity } from "./cache/entities/RefreshTokenEntity"; | ||
export { ServerTelemetryEntity } from "./cache/entities/ServerTelemetryEntity"; | ||
export { AuthorityMetadataEntity } from "./cache/entities/AuthorityMetadataEntity"; | ||
export { ThrottlingEntity } from "./cache/entities/ThrottlingEntity"; | ||
export { ICachePlugin } from "./cache/interface/ICachePlugin"; | ||
export { TokenCacheContext } from "./cache/persistence/TokenCacheContext"; | ||
export { ISerializableTokenCache } from "./cache/interface/ISerializableTokenCache"; | ||
export { INetworkModule, NetworkRequestOptions, StubbedNetworkModule, } from "./network/INetworkModule"; | ||
export { NetworkManager, NetworkResponse, UrlToHttpRequestOptions, } from "./network/NetworkManager"; | ||
export { ThrottlingUtils } from "./network/ThrottlingUtils"; | ||
export { RequestThumbprint } from "./network/RequestThumbprint"; | ||
export { IUri } from "./url/IUri"; | ||
export { UrlString } from "./url/UrlString"; | ||
export { ICrypto, PkceCodes, DEFAULT_CRYPTO_IMPLEMENTATION, SignedHttpRequestParameters, } from "./crypto/ICrypto"; | ||
export { SignedHttpRequest, ShrOptions } from "./crypto/SignedHttpRequest"; | ||
export { IGuidGenerator } from "./crypto/IGuidGenerator"; | ||
export { JoseHeader } from "./crypto/JoseHeader"; | ||
export { BaseAuthRequest } from "./request/BaseAuthRequest"; | ||
export { CommonAuthorizationUrlRequest } from "./request/CommonAuthorizationUrlRequest"; | ||
export { CommonAuthorizationCodeRequest } from "./request/CommonAuthorizationCodeRequest"; | ||
export { CommonRefreshTokenRequest } from "./request/CommonRefreshTokenRequest"; | ||
export { CommonClientCredentialRequest } from "./request/CommonClientCredentialRequest"; | ||
export { CommonOnBehalfOfRequest } from "./request/CommonOnBehalfOfRequest"; | ||
export { CommonSilentFlowRequest } from "./request/CommonSilentFlowRequest"; | ||
export { CommonDeviceCodeRequest } from "./request/CommonDeviceCodeRequest"; | ||
export { CommonEndSessionRequest } from "./request/CommonEndSessionRequest"; | ||
export { CommonUsernamePasswordRequest } from "./request/CommonUsernamePasswordRequest"; | ||
export { NativeRequest } from "./request/NativeRequest"; | ||
export { NativeSignOutRequest } from "./request/NativeSignOutRequest"; | ||
export { RequestParameterBuilder } from "./request/RequestParameterBuilder"; | ||
export { StoreInCache } from "./request/StoreInCache"; | ||
export { ClientAssertion, ClientAssertionConfig, ClientAssertionCallback, } from "./account/ClientCredentials"; | ||
export { AzureRegion } from "./authority/AzureRegion"; | ||
export { AzureRegionConfiguration } from "./authority/AzureRegionConfiguration"; | ||
export { AuthenticationResult } from "./response/AuthenticationResult"; | ||
export { AuthorizationCodePayload } from "./response/AuthorizationCodePayload"; | ||
export { ServerAuthorizationCodeResponse } from "./response/ServerAuthorizationCodeResponse"; | ||
export { ServerAuthorizationTokenResponse } from "./response/ServerAuthorizationTokenResponse"; | ||
export { ExternalTokenResponse } from "./response/ExternalTokenResponse"; | ||
export { DeviceCodeResponse, ServerDeviceCodeResponse, } from "./response/DeviceCodeResponse"; | ||
export { ResponseHandler, buildAccountToCache, } from "./response/ResponseHandler"; | ||
export { ScopeSet } from "./request/ScopeSet"; | ||
export { AuthenticationHeaderParser } from "./request/AuthenticationHeaderParser"; | ||
export { ILoggerCallback, LogLevel, Logger } from "./logger/Logger"; | ||
export { InteractionRequiredAuthError, InteractionRequiredAuthErrorCodes, InteractionRequiredAuthErrorMessage, createInteractionRequiredAuthError, } from "./error/InteractionRequiredAuthError"; | ||
export { AuthError, AuthErrorMessage, AuthErrorCodes, createAuthError, } from "./error/AuthError"; | ||
export { ServerError } from "./error/ServerError"; | ||
export { CacheError, CacheErrorCodes } from "./error/CacheError"; | ||
export { ClientAuthError, ClientAuthErrorMessage, ClientAuthErrorCodes, createClientAuthError, } from "./error/ClientAuthError"; | ||
export { ClientConfigurationError, ClientConfigurationErrorMessage, ClientConfigurationErrorCodes, createClientConfigurationError, } from "./error/ClientConfigurationError"; | ||
export { getClientAssertion } from "./utils/ClientAssertionUtils"; | ||
export { Constants, OIDC_DEFAULT_SCOPES, PromptValue, PersistentCacheKeys, ServerResponseType, ResponseMode, CacheOutcome, CredentialType, CacheType, CacheAccountType, AuthenticationScheme, CodeChallengeMethodValues, PasswordGrantConstants, ThrottlingConstants, ClaimsRequestKeys, HeaderNames, Errors, THE_FAMILY_ID, ONE_DAY_IN_MS, GrantType, AADAuthorityConstants, HttpStatus, DEFAULT_TOKEN_RENEWAL_OFFSET_SEC, JsonWebTokenTypes, } from "./utils/Constants"; | ||
export { AADServerParamKeys }; | ||
export { StringUtils } from "./utils/StringUtils"; | ||
export { StringDict } from "./utils/MsalTypes"; | ||
export { ProtocolUtils, RequestStateObject, LibraryStateObject, } from "./utils/ProtocolUtils"; | ||
export { TimeUtils, UrlUtils, ClientAssertionUtils }; | ||
export * from "./utils/FunctionWrappers"; | ||
export { ServerTelemetryManager } from "./telemetry/server/ServerTelemetryManager"; | ||
export { ServerTelemetryRequest } from "./telemetry/server/ServerTelemetryRequest"; | ||
export { IPerformanceClient, PerformanceCallbackFunction, InProgressPerformanceEvent, QueueMeasurement, } from "./telemetry/performance/IPerformanceClient"; | ||
export { IntFields, PerformanceEvent, PerformanceEvents, PerformanceEventStatus, SubMeasurement, } from "./telemetry/performance/PerformanceEvent"; | ||
export { IPerformanceMeasurement } from "./telemetry/performance/IPerformanceMeasurement"; | ||
export { PerformanceClient, PreQueueEvent, } from "./telemetry/performance/PerformanceClient"; | ||
export { StubPerformanceClient } from "./telemetry/performance/StubPerformanceClient"; | ||
export { PopTokenGenerator } from "./crypto/PopTokenGenerator"; | ||
export { version } from "./packageMetadata"; | ||
/** | ||
* This file is the entrypoint when importing without a specific subpath e.g. "import { someExport } from @azure/msal-common" | ||
* Additional exports should be added to the applicable exports-*.ts files | ||
*/ | ||
export * from "./exports-common.js"; | ||
export * from "./exports-browser-only.js"; | ||
export * from "./exports-node-only.js"; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -1,2 +0,2 @@ | ||
import { LoggerOptions } from "../config/ClientConfiguration"; | ||
import { LoggerOptions } from "../config/ClientConfiguration.js"; | ||
/** | ||
@@ -3,0 +3,0 @@ * Options for logger messages. |
@@ -1,2 +0,2 @@ | ||
import { NetworkResponse } from "./NetworkManager"; | ||
import { NetworkResponse } from "./NetworkManager.js"; | ||
/** | ||
@@ -3,0 +3,0 @@ * Options allowed by network request APIs. |
@@ -1,5 +0,5 @@ | ||
import { INetworkModule, NetworkRequestOptions } from "./INetworkModule"; | ||
import { RequestThumbprint } from "./RequestThumbprint"; | ||
import { CacheManager } from "../cache/CacheManager"; | ||
import { ServerAuthorizationTokenResponse } from "../response/ServerAuthorizationTokenResponse"; | ||
import { INetworkModule, NetworkRequestOptions } from "./INetworkModule.js"; | ||
import { RequestThumbprint } from "./RequestThumbprint.js"; | ||
import { CacheManager } from "../cache/CacheManager.js"; | ||
import { ServerAuthorizationTokenResponse } from "../response/ServerAuthorizationTokenResponse.js"; | ||
export type NetworkResponse<T> = { | ||
@@ -6,0 +6,0 @@ headers: Record<string, string>; |
@@ -1,3 +0,3 @@ | ||
import { ShrOptions } from "../crypto/SignedHttpRequest"; | ||
import { AuthenticationScheme } from "../utils/Constants"; | ||
import { ShrOptions } from "../crypto/SignedHttpRequest.js"; | ||
import { AuthenticationScheme } from "../utils/Constants.js"; | ||
/** | ||
@@ -4,0 +4,0 @@ * Type representing a unique request thumbprint. |
@@ -1,6 +0,6 @@ | ||
import { NetworkResponse } from "./NetworkManager"; | ||
import { ServerAuthorizationTokenResponse } from "../response/ServerAuthorizationTokenResponse"; | ||
import { CacheManager } from "../cache/CacheManager"; | ||
import { RequestThumbprint } from "./RequestThumbprint"; | ||
import { BaseAuthRequest } from "../request/BaseAuthRequest"; | ||
import { NetworkResponse } from "./NetworkManager.js"; | ||
import { ServerAuthorizationTokenResponse } from "../response/ServerAuthorizationTokenResponse.js"; | ||
import { CacheManager } from "../cache/CacheManager.js"; | ||
import { RequestThumbprint } from "./RequestThumbprint.js"; | ||
import { BaseAuthRequest } from "../request/BaseAuthRequest.js"; | ||
/** @internal */ | ||
@@ -7,0 +7,0 @@ export declare class ThrottlingUtils { |
export declare const name = "@azure/msal-common"; | ||
export declare const version = "14.14.2"; | ||
export declare const version = "14.15.0"; | ||
//# sourceMappingURL=packageMetadata.d.ts.map |
@@ -1,6 +0,6 @@ | ||
import { AuthenticationScheme } from "../utils/Constants"; | ||
import { AzureCloudOptions } from "../config/ClientConfiguration"; | ||
import { StringDict } from "../utils/MsalTypes"; | ||
import { StoreInCache } from "./StoreInCache"; | ||
import { ShrOptions } from "../crypto/SignedHttpRequest"; | ||
import { AuthenticationScheme } from "../utils/Constants.js"; | ||
import { AzureCloudOptions } from "../config/ClientConfiguration.js"; | ||
import { StringDict } from "../utils/MsalTypes.js"; | ||
import { StoreInCache } from "./StoreInCache.js"; | ||
import { ShrOptions } from "../crypto/SignedHttpRequest.js"; | ||
/** | ||
@@ -7,0 +7,0 @@ * BaseAuthRequest |
@@ -1,4 +0,4 @@ | ||
import { BaseAuthRequest } from "./BaseAuthRequest"; | ||
import { StringDict } from "../utils/MsalTypes"; | ||
import { CcsCredential } from "../account/CcsCredential"; | ||
import { BaseAuthRequest } from "./BaseAuthRequest.js"; | ||
import { StringDict } from "../utils/MsalTypes.js"; | ||
import { CcsCredential } from "../account/CcsCredential.js"; | ||
/** | ||
@@ -5,0 +5,0 @@ * 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) |
@@ -1,5 +0,5 @@ | ||
import { ResponseMode } from "../utils/Constants"; | ||
import { StringDict } from "../utils/MsalTypes"; | ||
import { BaseAuthRequest } from "./BaseAuthRequest"; | ||
import { AccountInfo } from "../account/AccountInfo"; | ||
import { ResponseMode } from "../utils/Constants.js"; | ||
import { StringDict } from "../utils/MsalTypes.js"; | ||
import { BaseAuthRequest } from "./BaseAuthRequest.js"; | ||
import { AccountInfo } from "../account/AccountInfo.js"; | ||
/** | ||
@@ -6,0 +6,0 @@ * Request object passed by user to retrieve a Code from the server (first leg of authorization code grant flow) |
@@ -1,4 +0,4 @@ | ||
import { BaseAuthRequest } from "./BaseAuthRequest"; | ||
import { AzureRegion } from "../authority/AzureRegion"; | ||
import { ClientAssertion } from "../account/ClientCredentials"; | ||
import { BaseAuthRequest } from "./BaseAuthRequest.js"; | ||
import { AzureRegion } from "../authority/AzureRegion.js"; | ||
import { ClientAssertion } from "../account/ClientCredentials.js"; | ||
/** | ||
@@ -5,0 +5,0 @@ * CommonClientCredentialRequest |
@@ -1,4 +0,4 @@ | ||
import { DeviceCodeResponse } from "../response/DeviceCodeResponse"; | ||
import { StringDict } from "../utils/MsalTypes"; | ||
import { BaseAuthRequest } from "./BaseAuthRequest"; | ||
import { DeviceCodeResponse } from "../response/DeviceCodeResponse.js"; | ||
import { StringDict } from "../utils/MsalTypes.js"; | ||
import { BaseAuthRequest } from "./BaseAuthRequest.js"; | ||
/** | ||
@@ -5,0 +5,0 @@ * Parameters for Oauth2 device code flow. |
@@ -1,3 +0,3 @@ | ||
import { AccountInfo } from "../account/AccountInfo"; | ||
import { StringDict } from "../utils/MsalTypes"; | ||
import { AccountInfo } from "../account/AccountInfo.js"; | ||
import { StringDict } from "../utils/MsalTypes.js"; | ||
/** | ||
@@ -4,0 +4,0 @@ * CommonEndSessionRequest |
@@ -1,2 +0,2 @@ | ||
import { BaseAuthRequest } from "./BaseAuthRequest"; | ||
import { BaseAuthRequest } from "./BaseAuthRequest.js"; | ||
/** | ||
@@ -3,0 +3,0 @@ * - scopes - Array of scopes the application is requesting access to. |
@@ -1,4 +0,4 @@ | ||
import { BaseAuthRequest } from "./BaseAuthRequest"; | ||
import { CcsCredential } from "../account/CcsCredential"; | ||
import { StringDict } from "../utils/MsalTypes"; | ||
import { BaseAuthRequest } from "./BaseAuthRequest.js"; | ||
import { CcsCredential } from "../account/CcsCredential.js"; | ||
import { StringDict } from "../utils/MsalTypes.js"; | ||
/** | ||
@@ -5,0 +5,0 @@ * CommonRefreshTokenRequest |
@@ -1,4 +0,4 @@ | ||
import { AccountInfo } from "../account/AccountInfo"; | ||
import { StringDict } from "../utils/MsalTypes"; | ||
import { BaseAuthRequest } from "./BaseAuthRequest"; | ||
import { AccountInfo } from "../account/AccountInfo.js"; | ||
import { StringDict } from "../utils/MsalTypes.js"; | ||
import { BaseAuthRequest } from "./BaseAuthRequest.js"; | ||
/** | ||
@@ -5,0 +5,0 @@ * SilentFlow parameters passed by the user to retrieve credentials silently |
@@ -1,2 +0,2 @@ | ||
import { BaseAuthRequest } from "./BaseAuthRequest"; | ||
import { BaseAuthRequest } from "./BaseAuthRequest.js"; | ||
/** | ||
@@ -3,0 +3,0 @@ * CommonUsernamePassword parameters passed by the user to retrieve credentials |
@@ -1,2 +0,2 @@ | ||
import { StringDict } from "../utils/MsalTypes"; | ||
import { StringDict } from "../utils/MsalTypes.js"; | ||
export type NativeRequest = { | ||
@@ -3,0 +3,0 @@ clientId: string; |
@@ -1,6 +0,6 @@ | ||
import { ResponseMode } from "../utils/Constants"; | ||
import { StringDict } from "../utils/MsalTypes"; | ||
import { ApplicationTelemetry, LibraryInfo } from "../config/ClientConfiguration"; | ||
import { ServerTelemetryManager } from "../telemetry/server/ServerTelemetryManager"; | ||
import { ClientInfo } from "../account/ClientInfo"; | ||
import { ResponseMode } from "../utils/Constants.js"; | ||
import { StringDict } from "../utils/MsalTypes.js"; | ||
import { ApplicationTelemetry, LibraryInfo } from "../config/ClientConfiguration.js"; | ||
import { ServerTelemetryManager } from "../telemetry/server/ServerTelemetryManager.js"; | ||
import { ClientInfo } from "../account/ClientInfo.js"; | ||
/** @internal */ | ||
@@ -7,0 +7,0 @@ export declare class RequestParameterBuilder { |
@@ -1,2 +0,2 @@ | ||
import { AccountInfo } from "../account/AccountInfo"; | ||
import { AccountInfo } from "../account/AccountInfo.js"; | ||
/** | ||
@@ -3,0 +3,0 @@ * Result returned from the authority's token endpoint. |
@@ -1,2 +0,2 @@ | ||
import { ServerAuthorizationTokenResponse } from "./ServerAuthorizationTokenResponse"; | ||
import { ServerAuthorizationTokenResponse } from "./ServerAuthorizationTokenResponse.js"; | ||
/** | ||
@@ -3,0 +3,0 @@ * Response object used for loading external tokens to cache. |
@@ -1,17 +0,17 @@ | ||
import { ServerAuthorizationTokenResponse } from "./ServerAuthorizationTokenResponse"; | ||
import { ICrypto } from "../crypto/ICrypto"; | ||
import { ServerAuthorizationCodeResponse } from "./ServerAuthorizationCodeResponse"; | ||
import { Logger } from "../logger/Logger"; | ||
import { AuthenticationResult } from "./AuthenticationResult"; | ||
import { AccountEntity } from "../cache/entities/AccountEntity"; | ||
import { Authority } from "../authority/Authority"; | ||
import { CacheRecord } from "../cache/entities/CacheRecord"; | ||
import { CacheManager } from "../cache/CacheManager"; | ||
import { RequestStateObject } from "../utils/ProtocolUtils"; | ||
import { ICachePlugin } from "../cache/interface/ICachePlugin"; | ||
import { ISerializableTokenCache } from "../cache/interface/ISerializableTokenCache"; | ||
import { AuthorizationCodePayload } from "./AuthorizationCodePayload"; | ||
import { BaseAuthRequest } from "../request/BaseAuthRequest"; | ||
import { IPerformanceClient } from "../telemetry/performance/IPerformanceClient"; | ||
import { TokenClaims } from "../account/TokenClaims"; | ||
import { ServerAuthorizationTokenResponse } from "./ServerAuthorizationTokenResponse.js"; | ||
import { ICrypto } from "../crypto/ICrypto.js"; | ||
import { ServerAuthorizationCodeResponse } from "./ServerAuthorizationCodeResponse.js"; | ||
import { Logger } from "../logger/Logger.js"; | ||
import { AuthenticationResult } from "./AuthenticationResult.js"; | ||
import { AccountEntity } from "../cache/entities/AccountEntity.js"; | ||
import { Authority } from "../authority/Authority.js"; | ||
import { CacheRecord } from "../cache/entities/CacheRecord.js"; | ||
import { CacheManager } from "../cache/CacheManager.js"; | ||
import { RequestStateObject } from "../utils/ProtocolUtils.js"; | ||
import { ICachePlugin } from "../cache/interface/ICachePlugin.js"; | ||
import { ISerializableTokenCache } from "../cache/interface/ISerializableTokenCache.js"; | ||
import { AuthorizationCodePayload } from "./AuthorizationCodePayload.js"; | ||
import { BaseAuthRequest } from "../request/BaseAuthRequest.js"; | ||
import { IPerformanceClient } from "../telemetry/performance/IPerformanceClient.js"; | ||
import { TokenClaims } from "../account/TokenClaims.js"; | ||
/** | ||
@@ -18,0 +18,0 @@ * Class that handles response parsing. |
@@ -1,2 +0,2 @@ | ||
import { AuthenticationScheme } from "../utils/Constants"; | ||
import { AuthenticationScheme } from "../utils/Constants.js"; | ||
/** | ||
@@ -3,0 +3,0 @@ * Deserialized response object from server authorization code request. |
@@ -1,3 +0,3 @@ | ||
import { PerformanceEvent } from "./PerformanceEvent"; | ||
import { IPerformanceMeasurement } from "./IPerformanceMeasurement"; | ||
import { PerformanceEvent } from "./PerformanceEvent.js"; | ||
import { IPerformanceMeasurement } from "./IPerformanceMeasurement.js"; | ||
export type PerformanceCallbackFunction = (events: PerformanceEvent[]) => void; | ||
@@ -4,0 +4,0 @@ export type InProgressPerformanceEvent = { |
@@ -1,6 +0,6 @@ | ||
import { ApplicationTelemetry } from "../../config/ClientConfiguration"; | ||
import { Logger } from "../../logger/Logger"; | ||
import { InProgressPerformanceEvent, IPerformanceClient, PerformanceCallbackFunction, QueueMeasurement } from "./IPerformanceClient"; | ||
import { PerformanceEvent, PerformanceEventContext, PerformanceEvents, PerformanceEventStackedContext } from "./PerformanceEvent"; | ||
import { IPerformanceMeasurement } from "./IPerformanceMeasurement"; | ||
import { ApplicationTelemetry } from "../../config/ClientConfiguration.js"; | ||
import { Logger } from "../../logger/Logger.js"; | ||
import { InProgressPerformanceEvent, IPerformanceClient, PerformanceCallbackFunction, QueueMeasurement } from "./IPerformanceClient.js"; | ||
import { PerformanceEvent, PerformanceEventContext, PerformanceEvents, PerformanceEventStackedContext } from "./PerformanceEvent.js"; | ||
import { IPerformanceMeasurement } from "./IPerformanceMeasurement.js"; | ||
export interface PreQueueEvent { | ||
@@ -7,0 +7,0 @@ name: PerformanceEvents; |
@@ -1,4 +0,4 @@ | ||
import { IPerformanceClient, InProgressPerformanceEvent } from "./IPerformanceClient"; | ||
import { IPerformanceMeasurement } from "./IPerformanceMeasurement"; | ||
import { PerformanceEvent } from "./PerformanceEvent"; | ||
import { IPerformanceClient, InProgressPerformanceEvent } from "./IPerformanceClient.js"; | ||
import { IPerformanceMeasurement } from "./IPerformanceMeasurement.js"; | ||
import { PerformanceEvent } from "./PerformanceEvent.js"; | ||
export declare class StubPerformanceMeasurement implements IPerformanceMeasurement { | ||
@@ -5,0 +5,0 @@ startMeasurement(): void; |
@@ -1,6 +0,6 @@ | ||
import { CacheOutcome } from "../../utils/Constants"; | ||
import { CacheManager } from "../../cache/CacheManager"; | ||
import { ServerTelemetryRequest } from "./ServerTelemetryRequest"; | ||
import { ServerTelemetryEntity } from "../../cache/entities/ServerTelemetryEntity"; | ||
import { RegionDiscoveryMetadata } from "../../authority/RegionDiscoveryMetadata"; | ||
import { CacheOutcome } from "../../utils/Constants.js"; | ||
import { CacheManager } from "../../cache/CacheManager.js"; | ||
import { ServerTelemetryRequest } from "./ServerTelemetryRequest.js"; | ||
import { ServerTelemetryEntity } from "../../cache/entities/ServerTelemetryEntity.js"; | ||
import { RegionDiscoveryMetadata } from "../../authority/RegionDiscoveryMetadata.js"; | ||
type SkuParams = { | ||
@@ -7,0 +7,0 @@ libraryName?: string; |
@@ -1,2 +0,2 @@ | ||
import { IUri } from "./IUri"; | ||
import { IUri } from "./IUri.js"; | ||
/** | ||
@@ -3,0 +3,0 @@ * Url object class which can perform various transformations on url strings. |
@@ -1,3 +0,3 @@ | ||
import { ClientAssertionCallback } from "../account/ClientCredentials"; | ||
import { ClientAssertionCallback } from "../account/ClientCredentials.js"; | ||
export declare function getClientAssertion(clientAssertion: string | ClientAssertionCallback, clientId: string, tokenEndpoint?: string): Promise<string>; | ||
//# sourceMappingURL=ClientAssertionUtils.d.ts.map |
@@ -1,3 +0,3 @@ | ||
import { Logger } from "../logger/Logger"; | ||
import { IPerformanceClient } from "../telemetry/performance/IPerformanceClient"; | ||
import { Logger } from "../logger/Logger.js"; | ||
import { IPerformanceClient } from "../telemetry/performance/IPerformanceClient.js"; | ||
/** | ||
@@ -4,0 +4,0 @@ * Wraps a function with a performance measurement. |
@@ -1,2 +0,2 @@ | ||
import { ICrypto } from "../crypto/ICrypto"; | ||
import { ICrypto } from "../crypto/ICrypto.js"; | ||
/** | ||
@@ -3,0 +3,0 @@ * Type which defines the object that is stringified, encoded and sent in the state value. |
@@ -1,2 +0,2 @@ | ||
import { ServerAuthorizationCodeResponse } from "../response/ServerAuthorizationCodeResponse"; | ||
import { ServerAuthorizationCodeResponse } from "../response/ServerAuthorizationCodeResponse.js"; | ||
/** | ||
@@ -3,0 +3,0 @@ * Parses hash string from given string. Returns empty string if no hash symbol is found. |
@@ -13,3 +13,3 @@ { | ||
}, | ||
"version": "14.14.2", | ||
"version": "14.15.0", | ||
"description": "Microsoft Authentication Library for js", | ||
@@ -26,12 +26,36 @@ "keywords": [ | ||
"sideEffects": false, | ||
"main": "./dist/index.cjs", | ||
"type": "module", | ||
"main": "./lib/index.cjs", | ||
"module": "./dist/index.mjs", | ||
"types": "./dist/index.d.ts", | ||
"exports": { | ||
"./browser": { | ||
"import": { | ||
"types": "./dist/index-browser.d.ts", | ||
"default": "./dist/index-browser.mjs" | ||
}, | ||
"require": { | ||
"types": "./lib/types/index-browser.d.ts", | ||
"default": "./lib/index-browser.cjs" | ||
} | ||
}, | ||
"./node": { | ||
"import": { | ||
"types": "./dist/index-node.d.ts", | ||
"default": "./dist/index-node.mjs" | ||
}, | ||
"require": { | ||
"types": "./lib/types/index-node.d.ts", | ||
"default": "./lib/index-node.cjs" | ||
} | ||
}, | ||
".": { | ||
"types": "./dist/index.d.ts", | ||
"module": "./dist/index.mjs", | ||
"import": "./dist/index.mjs", | ||
"require": "./dist/index.cjs", | ||
"default": "./dist/index.mjs" | ||
"import": { | ||
"types": "./dist/index.d.ts", | ||
"default": "./dist/index.mjs" | ||
}, | ||
"require": { | ||
"types": "./lib/types/index.d.ts", | ||
"default": "./lib/index.cjs" | ||
} | ||
}, | ||
@@ -48,3 +72,6 @@ "./package.json": "./package.json" | ||
"dist", | ||
"src" | ||
"lib", | ||
"src", | ||
"node", | ||
"browser" | ||
], | ||
@@ -94,5 +121,7 @@ "scripts": { | ||
"rollup": "^3.14.0", | ||
"rollup-msal": "file:../../shared-configs/rollup-msal", | ||
"shx": "^0.3.2", | ||
"sinon": "^7.5.0", | ||
"ts-jest": "^29.1.0", | ||
"ts-jest-resolver": "^2.0.1", | ||
"ts-node": "^10.9.1", | ||
@@ -99,0 +128,0 @@ "tslib": "^1.10.0", |
@@ -6,3 +6,3 @@ /* | ||
import { TokenClaims } from "./TokenClaims"; | ||
import { TokenClaims } from "./TokenClaims.js"; | ||
/** | ||
@@ -9,0 +9,0 @@ * Account object with the following signature: |
@@ -6,7 +6,7 @@ /* | ||
import { TokenClaims } from "./TokenClaims"; | ||
import { TokenClaims } from "./TokenClaims.js"; | ||
import { | ||
createClientAuthError, | ||
ClientAuthErrorCodes, | ||
} from "../error/ClientAuthError"; | ||
} from "../error/ClientAuthError.js"; | ||
@@ -13,0 +13,0 @@ /** |
@@ -9,4 +9,4 @@ /* | ||
ClientAuthErrorCodes, | ||
} from "../error/ClientAuthError"; | ||
import { Separators, Constants } from "../utils/Constants"; | ||
} from "../error/ClientAuthError.js"; | ||
import { Separators, Constants } from "../utils/Constants.js"; | ||
@@ -13,0 +13,0 @@ /** |
@@ -6,14 +6,14 @@ /* | ||
import { AuthorityType } from "./AuthorityType"; | ||
import { AuthorityType } from "./AuthorityType.js"; | ||
import { | ||
isOpenIdConfigResponse, | ||
OpenIdConfigResponse, | ||
} from "./OpenIdConfigResponse"; | ||
import { UrlString } from "../url/UrlString"; | ||
import { IUri } from "../url/IUri"; | ||
} from "./OpenIdConfigResponse.js"; | ||
import { UrlString } from "../url/UrlString.js"; | ||
import { IUri } from "../url/IUri.js"; | ||
import { | ||
createClientAuthError, | ||
ClientAuthErrorCodes, | ||
} from "../error/ClientAuthError"; | ||
import { INetworkModule } from "../network/INetworkModule"; | ||
} from "../error/ClientAuthError.js"; | ||
import { INetworkModule } from "../network/INetworkModule.js"; | ||
import { | ||
@@ -24,3 +24,3 @@ AADAuthorityConstants, | ||
RegionDiscoveryOutcomes, | ||
} from "../utils/Constants"; | ||
} from "../utils/Constants.js"; | ||
import { | ||
@@ -31,10 +31,10 @@ EndpointMetadata, | ||
InstanceDiscoveryMetadataAliases, | ||
} from "./AuthorityMetadata"; | ||
} from "./AuthorityMetadata.js"; | ||
import { | ||
createClientConfigurationError, | ||
ClientConfigurationErrorCodes, | ||
} from "../error/ClientConfigurationError"; | ||
import { ProtocolMode } from "./ProtocolMode"; | ||
import { ICacheManager } from "../cache/interface/ICacheManager"; | ||
import { AuthorityMetadataEntity } from "../cache/entities/AuthorityMetadataEntity"; | ||
} from "../error/ClientConfigurationError.js"; | ||
import { ProtocolMode } from "./ProtocolMode.js"; | ||
import { ICacheManager } from "../cache/interface/ICacheManager.js"; | ||
import { AuthorityMetadataEntity } from "../cache/entities/AuthorityMetadataEntity.js"; | ||
import { | ||
@@ -44,22 +44,22 @@ AuthorityOptions, | ||
StaticAuthorityOptions, | ||
} from "./AuthorityOptions"; | ||
} from "./AuthorityOptions.js"; | ||
import { | ||
CloudInstanceDiscoveryResponse, | ||
isCloudInstanceDiscoveryResponse, | ||
} from "./CloudInstanceDiscoveryResponse"; | ||
} from "./CloudInstanceDiscoveryResponse.js"; | ||
import { | ||
CloudInstanceDiscoveryErrorResponse, | ||
isCloudInstanceDiscoveryErrorResponse, | ||
} from "./CloudInstanceDiscoveryErrorResponse"; | ||
import { CloudDiscoveryMetadata } from "./CloudDiscoveryMetadata"; | ||
import { RegionDiscovery } from "./RegionDiscovery"; | ||
import { RegionDiscoveryMetadata } from "./RegionDiscoveryMetadata"; | ||
import { ImdsOptions } from "./ImdsOptions"; | ||
import { AzureCloudOptions } from "../config/ClientConfiguration"; | ||
import { Logger } from "../logger/Logger"; | ||
import { AuthError } from "../error/AuthError"; | ||
import { IPerformanceClient } from "../telemetry/performance/IPerformanceClient"; | ||
import { PerformanceEvents } from "../telemetry/performance/PerformanceEvent"; | ||
import { invokeAsync } from "../utils/FunctionWrappers"; | ||
import * as CacheHelpers from "../cache/utils/CacheHelpers"; | ||
} from "./CloudInstanceDiscoveryErrorResponse.js"; | ||
import { CloudDiscoveryMetadata } from "./CloudDiscoveryMetadata.js"; | ||
import { RegionDiscovery } from "./RegionDiscovery.js"; | ||
import { RegionDiscoveryMetadata } from "./RegionDiscoveryMetadata.js"; | ||
import { ImdsOptions } from "./ImdsOptions.js"; | ||
import { AzureCloudOptions } from "../config/ClientConfiguration.js"; | ||
import { Logger } from "../logger/Logger.js"; | ||
import { AuthError } from "../error/AuthError.js"; | ||
import { IPerformanceClient } from "../telemetry/performance/IPerformanceClient.js"; | ||
import { PerformanceEvents } from "../telemetry/performance/PerformanceEvent.js"; | ||
import { invokeAsync } from "../utils/FunctionWrappers.js"; | ||
import * as CacheHelpers from "../cache/utils/CacheHelpers.js"; | ||
@@ -66,0 +66,0 @@ /** |
@@ -6,14 +6,14 @@ /* | ||
import { Authority, formatAuthorityUri } from "./Authority"; | ||
import { INetworkModule } from "../network/INetworkModule"; | ||
import { Authority, formatAuthorityUri } from "./Authority.js"; | ||
import { INetworkModule } from "../network/INetworkModule.js"; | ||
import { | ||
createClientAuthError, | ||
ClientAuthErrorCodes, | ||
} from "../error/ClientAuthError"; | ||
import { ICacheManager } from "../cache/interface/ICacheManager"; | ||
import { AuthorityOptions } from "./AuthorityOptions"; | ||
import { Logger } from "../logger/Logger"; | ||
import { IPerformanceClient } from "../telemetry/performance/IPerformanceClient"; | ||
import { PerformanceEvents } from "../telemetry/performance/PerformanceEvent"; | ||
import { invokeAsync } from "../utils/FunctionWrappers"; | ||
} from "../error/ClientAuthError.js"; | ||
import { ICacheManager } from "../cache/interface/ICacheManager.js"; | ||
import { AuthorityOptions } from "./AuthorityOptions.js"; | ||
import { Logger } from "../logger/Logger.js"; | ||
import { IPerformanceClient } from "../telemetry/performance/IPerformanceClient.js"; | ||
import { PerformanceEvents } from "../telemetry/performance/PerformanceEvent.js"; | ||
import { invokeAsync } from "../utils/FunctionWrappers.js"; | ||
@@ -20,0 +20,0 @@ /** |
@@ -6,9 +6,9 @@ /* | ||
import { Logger } from "../logger/Logger"; | ||
import { UrlString } from "../url/UrlString"; | ||
import { AuthorityMetadataSource } from "../utils/Constants"; | ||
import { StaticAuthorityOptions } from "./AuthorityOptions"; | ||
import { CloudDiscoveryMetadata } from "./CloudDiscoveryMetadata"; | ||
import { CloudInstanceDiscoveryResponse } from "./CloudInstanceDiscoveryResponse"; | ||
import { OpenIdConfigResponse } from "./OpenIdConfigResponse"; | ||
import { Logger } from "../logger/Logger.js"; | ||
import { UrlString } from "../url/UrlString.js"; | ||
import { AuthorityMetadataSource } from "../utils/Constants.js"; | ||
import { StaticAuthorityOptions } from "./AuthorityOptions.js"; | ||
import { CloudDiscoveryMetadata } from "./CloudDiscoveryMetadata.js"; | ||
import { CloudInstanceDiscoveryResponse } from "./CloudInstanceDiscoveryResponse.js"; | ||
import { OpenIdConfigResponse } from "./OpenIdConfigResponse.js"; | ||
@@ -15,0 +15,0 @@ type RawMetadata = { |
@@ -6,6 +6,6 @@ /* | ||
import { ProtocolMode } from "./ProtocolMode"; | ||
import { OIDCOptions } from "./OIDCOptions"; | ||
import { AzureRegionConfiguration } from "./AzureRegionConfiguration"; | ||
import { CloudInstanceDiscoveryResponse } from "./CloudInstanceDiscoveryResponse"; | ||
import { ProtocolMode } from "./ProtocolMode.js"; | ||
import { OIDCOptions } from "./OIDCOptions.js"; | ||
import { AzureRegionConfiguration } from "./AzureRegionConfiguration.js"; | ||
import { CloudInstanceDiscoveryResponse } from "./CloudInstanceDiscoveryResponse.js"; | ||
@@ -12,0 +12,0 @@ export type AuthorityOptions = { |
@@ -6,3 +6,3 @@ /* | ||
import { AzureRegion } from "./AzureRegion"; | ||
import { AzureRegion } from "./AzureRegion.js"; | ||
@@ -9,0 +9,0 @@ /* |
@@ -6,3 +6,3 @@ /* | ||
import { CloudDiscoveryMetadata } from "./CloudDiscoveryMetadata"; | ||
import { CloudDiscoveryMetadata } from "./CloudDiscoveryMetadata.js"; | ||
@@ -9,0 +9,0 @@ /** |
@@ -6,3 +6,3 @@ /* | ||
import { ServerResponseType } from "../utils/Constants"; | ||
import { ServerResponseType } from "../utils/Constants.js"; | ||
@@ -9,0 +9,0 @@ /** |
@@ -6,5 +6,5 @@ /* | ||
import { INetworkModule } from "../network/INetworkModule"; | ||
import { NetworkResponse } from "../network/NetworkManager"; | ||
import { IMDSBadResponse } from "../response/IMDSBadResponse"; | ||
import { INetworkModule } from "../network/INetworkModule.js"; | ||
import { NetworkResponse } from "../network/NetworkManager.js"; | ||
import { IMDSBadResponse } from "../response/IMDSBadResponse.js"; | ||
import { | ||
@@ -14,9 +14,9 @@ Constants, | ||
ResponseCodes, | ||
} from "../utils/Constants"; | ||
import { RegionDiscoveryMetadata } from "./RegionDiscoveryMetadata"; | ||
import { ImdsOptions } from "./ImdsOptions"; | ||
import { IPerformanceClient } from "../telemetry/performance/IPerformanceClient"; | ||
import { PerformanceEvents } from "../telemetry/performance/PerformanceEvent"; | ||
import { invokeAsync } from "../utils/FunctionWrappers"; | ||
import { Logger } from "../logger/Logger"; | ||
} from "../utils/Constants.js"; | ||
import { RegionDiscoveryMetadata } from "./RegionDiscoveryMetadata.js"; | ||
import { ImdsOptions } from "./ImdsOptions.js"; | ||
import { IPerformanceClient } from "../telemetry/performance/IPerformanceClient.js"; | ||
import { PerformanceEvents } from "../telemetry/performance/PerformanceEvent.js"; | ||
import { invokeAsync } from "../utils/FunctionWrappers.js"; | ||
import { Logger } from "../logger/Logger.js"; | ||
@@ -23,0 +23,0 @@ export class RegionDiscovery { |
@@ -9,3 +9,3 @@ /* | ||
RegionDiscoverySources, | ||
} from "../utils/Constants"; | ||
} from "../utils/Constants.js"; | ||
@@ -12,0 +12,0 @@ export type RegionDiscoveryMetadata = { |
@@ -6,7 +6,7 @@ /* | ||
import { AccountInfo } from "../../account/AccountInfo"; | ||
import { LoggerOptions } from "../../config/ClientConfiguration"; | ||
import { NativeRequest } from "../../request/NativeRequest"; | ||
import { NativeSignOutRequest } from "../../request/NativeSignOutRequest"; | ||
import { AuthenticationResult } from "../../response/AuthenticationResult"; | ||
import { AccountInfo } from "../../account/AccountInfo.js"; | ||
import { LoggerOptions } from "../../config/ClientConfiguration.js"; | ||
import { NativeRequest } from "../../request/NativeRequest.js"; | ||
import { NativeSignOutRequest } from "../../request/NativeSignOutRequest.js"; | ||
import { AuthenticationResult } from "../../response/AuthenticationResult.js"; | ||
@@ -13,0 +13,0 @@ export interface INativeBrokerPlugin { |
@@ -6,4 +6,4 @@ /* | ||
import { CredentialEntity } from "./CredentialEntity"; | ||
import { AuthenticationScheme } from "../../utils/Constants"; | ||
import { CredentialEntity } from "./CredentialEntity.js"; | ||
import { AuthenticationScheme } from "../../utils/Constants.js"; | ||
@@ -10,0 +10,0 @@ /** |
@@ -6,6 +6,6 @@ /* | ||
import { CacheAccountType, Separators } from "../../utils/Constants"; | ||
import { Authority } from "../../authority/Authority"; | ||
import { ICrypto } from "../../crypto/ICrypto"; | ||
import { ClientInfo, buildClientInfo } from "../../account/ClientInfo"; | ||
import { CacheAccountType, Separators } from "../../utils/Constants.js"; | ||
import { Authority } from "../../authority/Authority.js"; | ||
import { ICrypto } from "../../crypto/ICrypto.js"; | ||
import { ClientInfo, buildClientInfo } from "../../account/ClientInfo.js"; | ||
import { | ||
@@ -15,14 +15,14 @@ AccountInfo, | ||
buildTenantProfile, | ||
} from "../../account/AccountInfo"; | ||
} from "../../account/AccountInfo.js"; | ||
import { | ||
createClientAuthError, | ||
ClientAuthErrorCodes, | ||
} from "../../error/ClientAuthError"; | ||
import { AuthorityType } from "../../authority/AuthorityType"; | ||
import { Logger } from "../../logger/Logger"; | ||
} from "../../error/ClientAuthError.js"; | ||
import { AuthorityType } from "../../authority/AuthorityType.js"; | ||
import { Logger } from "../../logger/Logger.js"; | ||
import { | ||
TokenClaims, | ||
getTenantIdFromIdTokenClaims, | ||
} from "../../account/TokenClaims"; | ||
import { ProtocolMode } from "../../authority/ProtocolMode"; | ||
} from "../../account/TokenClaims.js"; | ||
import { ProtocolMode } from "../../authority/ProtocolMode.js"; | ||
@@ -29,0 +29,0 @@ /** |
@@ -6,7 +6,7 @@ /* | ||
import { IdTokenEntity } from "./IdTokenEntity"; | ||
import { AccessTokenEntity } from "./AccessTokenEntity"; | ||
import { RefreshTokenEntity } from "./RefreshTokenEntity"; | ||
import { AccountEntity } from "./AccountEntity"; | ||
import { AppMetadataEntity } from "./AppMetadataEntity"; | ||
import { IdTokenEntity } from "./IdTokenEntity.js"; | ||
import { AccessTokenEntity } from "./AccessTokenEntity.js"; | ||
import { RefreshTokenEntity } from "./RefreshTokenEntity.js"; | ||
import { AccountEntity } from "./AccountEntity.js"; | ||
import { AppMetadataEntity } from "./AppMetadataEntity.js"; | ||
@@ -13,0 +13,0 @@ /** @internal */ |
@@ -6,3 +6,3 @@ /* | ||
import { CredentialType, AuthenticationScheme } from "../../utils/Constants"; | ||
import { CredentialType, AuthenticationScheme } from "../../utils/Constants.js"; | ||
@@ -9,0 +9,0 @@ /** |
@@ -6,3 +6,3 @@ /* | ||
import { CredentialEntity } from "./CredentialEntity"; | ||
import { CredentialEntity } from "./CredentialEntity.js"; | ||
@@ -9,0 +9,0 @@ /** |
@@ -6,3 +6,3 @@ /* | ||
import { CredentialEntity } from "./CredentialEntity"; | ||
import { CredentialEntity } from "./CredentialEntity.js"; | ||
@@ -9,0 +9,0 @@ /** |
@@ -6,14 +6,14 @@ /* | ||
import { AccountFilter } from "../utils/CacheTypes"; | ||
import { CacheRecord } from "../entities/CacheRecord"; | ||
import { AccountEntity } from "../entities/AccountEntity"; | ||
import { AccountInfo } from "../../account/AccountInfo"; | ||
import { AppMetadataEntity } from "../entities/AppMetadataEntity"; | ||
import { ServerTelemetryEntity } from "../entities/ServerTelemetryEntity"; | ||
import { ThrottlingEntity } from "../entities/ThrottlingEntity"; | ||
import { IdTokenEntity } from "../entities/IdTokenEntity"; | ||
import { AccessTokenEntity } from "../entities/AccessTokenEntity"; | ||
import { RefreshTokenEntity } from "../entities/RefreshTokenEntity"; | ||
import { AuthorityMetadataEntity } from "../entities/AuthorityMetadataEntity"; | ||
import { StoreInCache } from "../../request/StoreInCache"; | ||
import { AccountFilter } from "../utils/CacheTypes.js"; | ||
import { CacheRecord } from "../entities/CacheRecord.js"; | ||
import { AccountEntity } from "../entities/AccountEntity.js"; | ||
import { AccountInfo } from "../../account/AccountInfo.js"; | ||
import { AppMetadataEntity } from "../entities/AppMetadataEntity.js"; | ||
import { ServerTelemetryEntity } from "../entities/ServerTelemetryEntity.js"; | ||
import { ThrottlingEntity } from "../entities/ThrottlingEntity.js"; | ||
import { IdTokenEntity } from "../entities/IdTokenEntity.js"; | ||
import { AccessTokenEntity } from "../entities/AccessTokenEntity.js"; | ||
import { RefreshTokenEntity } from "../entities/RefreshTokenEntity.js"; | ||
import { AuthorityMetadataEntity } from "../entities/AuthorityMetadataEntity.js"; | ||
import { StoreInCache } from "../../request/StoreInCache.js"; | ||
@@ -20,0 +20,0 @@ export interface ICacheManager { |
@@ -6,3 +6,3 @@ /* | ||
import { TokenCacheContext } from "../persistence/TokenCacheContext"; | ||
import { TokenCacheContext } from "../persistence/TokenCacheContext.js"; | ||
@@ -9,0 +9,0 @@ export interface ICachePlugin { |
@@ -6,3 +6,3 @@ /* | ||
import { ISerializableTokenCache } from "../interface/ISerializableTokenCache"; | ||
import { ISerializableTokenCache } from "../interface/ISerializableTokenCache.js"; | ||
@@ -9,0 +9,0 @@ /** |
@@ -6,10 +6,10 @@ /* | ||
import { extractTokenClaims } from "../../account/AuthToken"; | ||
import { TokenClaims } from "../../account/TokenClaims"; | ||
import { CloudDiscoveryMetadata } from "../../authority/CloudDiscoveryMetadata"; | ||
import { OpenIdConfigResponse } from "../../authority/OpenIdConfigResponse"; | ||
import { extractTokenClaims } from "../../account/AuthToken.js"; | ||
import { TokenClaims } from "../../account/TokenClaims.js"; | ||
import { CloudDiscoveryMetadata } from "../../authority/CloudDiscoveryMetadata.js"; | ||
import { OpenIdConfigResponse } from "../../authority/OpenIdConfigResponse.js"; | ||
import { | ||
ClientAuthErrorCodes, | ||
createClientAuthError, | ||
} from "../../error/ClientAuthError"; | ||
} from "../../error/ClientAuthError.js"; | ||
import { | ||
@@ -23,10 +23,10 @@ APP_METADATA, | ||
ThrottlingConstants, | ||
} from "../../utils/Constants"; | ||
import * as TimeUtils from "../../utils/TimeUtils"; | ||
import { AccessTokenEntity } from "../entities/AccessTokenEntity"; | ||
import { AppMetadataEntity } from "../entities/AppMetadataEntity"; | ||
import { AuthorityMetadataEntity } from "../entities/AuthorityMetadataEntity"; | ||
import { CredentialEntity } from "../entities/CredentialEntity"; | ||
import { IdTokenEntity } from "../entities/IdTokenEntity"; | ||
import { RefreshTokenEntity } from "../entities/RefreshTokenEntity"; | ||
} from "../../utils/Constants.js"; | ||
import * as TimeUtils from "../../utils/TimeUtils.js"; | ||
import { AccessTokenEntity } from "../entities/AccessTokenEntity.js"; | ||
import { AppMetadataEntity } from "../entities/AppMetadataEntity.js"; | ||
import { AuthorityMetadataEntity } from "../entities/AuthorityMetadataEntity.js"; | ||
import { CredentialEntity } from "../entities/CredentialEntity.js"; | ||
import { IdTokenEntity } from "../entities/IdTokenEntity.js"; | ||
import { RefreshTokenEntity } from "../entities/RefreshTokenEntity.js"; | ||
@@ -33,0 +33,0 @@ /** |
@@ -6,13 +6,13 @@ /* | ||
import { AccountEntity } from "../entities/AccountEntity"; | ||
import { IdTokenEntity } from "../entities/IdTokenEntity"; | ||
import { AccessTokenEntity } from "../entities/AccessTokenEntity"; | ||
import { RefreshTokenEntity } from "../entities/RefreshTokenEntity"; | ||
import { AppMetadataEntity } from "../entities/AppMetadataEntity"; | ||
import { ServerTelemetryEntity } from "../entities/ServerTelemetryEntity"; | ||
import { ThrottlingEntity } from "../entities/ThrottlingEntity"; | ||
import { AuthorityMetadataEntity } from "../entities/AuthorityMetadataEntity"; | ||
import { AuthenticationScheme } from "../../utils/Constants"; | ||
import { ScopeSet } from "../../request/ScopeSet"; | ||
import { AccountInfo } from "../../account/AccountInfo"; | ||
import { AccountEntity } from "../entities/AccountEntity.js"; | ||
import { IdTokenEntity } from "../entities/IdTokenEntity.js"; | ||
import { AccessTokenEntity } from "../entities/AccessTokenEntity.js"; | ||
import { RefreshTokenEntity } from "../entities/RefreshTokenEntity.js"; | ||
import { AppMetadataEntity } from "../entities/AppMetadataEntity.js"; | ||
import { ServerTelemetryEntity } from "../entities/ServerTelemetryEntity.js"; | ||
import { ThrottlingEntity } from "../entities/ThrottlingEntity.js"; | ||
import { AuthorityMetadataEntity } from "../entities/AuthorityMetadataEntity.js"; | ||
import { AuthenticationScheme } from "../../utils/Constants.js"; | ||
import { ScopeSet } from "../../request/ScopeSet.js"; | ||
import { AccountInfo } from "../../account/AccountInfo.js"; | ||
@@ -19,0 +19,0 @@ /** @internal */ |
@@ -6,7 +6,7 @@ /* | ||
import { BaseClient } from "./BaseClient"; | ||
import { CommonAuthorizationUrlRequest } from "../request/CommonAuthorizationUrlRequest"; | ||
import { CommonAuthorizationCodeRequest } from "../request/CommonAuthorizationCodeRequest"; | ||
import { Authority } from "../authority/Authority"; | ||
import { RequestParameterBuilder } from "../request/RequestParameterBuilder"; | ||
import { BaseClient } from "./BaseClient.js"; | ||
import { CommonAuthorizationUrlRequest } from "../request/CommonAuthorizationUrlRequest.js"; | ||
import { CommonAuthorizationCodeRequest } from "../request/CommonAuthorizationCodeRequest.js"; | ||
import { Authority } from "../authority/Authority.js"; | ||
import { RequestParameterBuilder } from "../request/RequestParameterBuilder.js"; | ||
import { | ||
@@ -18,40 +18,40 @@ GrantType, | ||
HeaderNames, | ||
} from "../utils/Constants"; | ||
import * as AADServerParamKeys from "../constants/AADServerParamKeys"; | ||
} from "../utils/Constants.js"; | ||
import * as AADServerParamKeys from "../constants/AADServerParamKeys.js"; | ||
import { | ||
ClientConfiguration, | ||
isOidcProtocolMode, | ||
} from "../config/ClientConfiguration"; | ||
import { ServerAuthorizationTokenResponse } from "../response/ServerAuthorizationTokenResponse"; | ||
import { NetworkResponse } from "../network/NetworkManager"; | ||
import { ResponseHandler } from "../response/ResponseHandler"; | ||
import { AuthenticationResult } from "../response/AuthenticationResult"; | ||
import { StringUtils } from "../utils/StringUtils"; | ||
} from "../config/ClientConfiguration.js"; | ||
import { ServerAuthorizationTokenResponse } from "../response/ServerAuthorizationTokenResponse.js"; | ||
import { NetworkResponse } from "../network/NetworkManager.js"; | ||
import { ResponseHandler } from "../response/ResponseHandler.js"; | ||
import { AuthenticationResult } from "../response/AuthenticationResult.js"; | ||
import { StringUtils } from "../utils/StringUtils.js"; | ||
import { | ||
ClientAuthErrorCodes, | ||
createClientAuthError, | ||
} from "../error/ClientAuthError"; | ||
import { UrlString } from "../url/UrlString"; | ||
import { ServerAuthorizationCodeResponse } from "../response/ServerAuthorizationCodeResponse"; | ||
import { CommonEndSessionRequest } from "../request/CommonEndSessionRequest"; | ||
import { PopTokenGenerator } from "../crypto/PopTokenGenerator"; | ||
import { RequestThumbprint } from "../network/RequestThumbprint"; | ||
import { AuthorizationCodePayload } from "../response/AuthorizationCodePayload"; | ||
import * as TimeUtils from "../utils/TimeUtils"; | ||
import { AccountInfo } from "../account/AccountInfo"; | ||
} from "../error/ClientAuthError.js"; | ||
import { UrlString } from "../url/UrlString.js"; | ||
import { ServerAuthorizationCodeResponse } from "../response/ServerAuthorizationCodeResponse.js"; | ||
import { CommonEndSessionRequest } from "../request/CommonEndSessionRequest.js"; | ||
import { PopTokenGenerator } from "../crypto/PopTokenGenerator.js"; | ||
import { RequestThumbprint } from "../network/RequestThumbprint.js"; | ||
import { AuthorizationCodePayload } from "../response/AuthorizationCodePayload.js"; | ||
import * as TimeUtils from "../utils/TimeUtils.js"; | ||
import { AccountInfo } from "../account/AccountInfo.js"; | ||
import { | ||
buildClientInfoFromHomeAccountId, | ||
buildClientInfo, | ||
} from "../account/ClientInfo"; | ||
import { CcsCredentialType, CcsCredential } from "../account/CcsCredential"; | ||
} from "../account/ClientInfo.js"; | ||
import { CcsCredentialType, CcsCredential } from "../account/CcsCredential.js"; | ||
import { | ||
createClientConfigurationError, | ||
ClientConfigurationErrorCodes, | ||
} from "../error/ClientConfigurationError"; | ||
import { RequestValidator } from "../request/RequestValidator"; | ||
import { IPerformanceClient } from "../telemetry/performance/IPerformanceClient"; | ||
import { PerformanceEvents } from "../telemetry/performance/PerformanceEvent"; | ||
import { invokeAsync } from "../utils/FunctionWrappers"; | ||
import { ClientAssertion } from "../account/ClientCredentials"; | ||
import { getClientAssertion } from "../utils/ClientAssertionUtils"; | ||
} from "../error/ClientConfigurationError.js"; | ||
import { RequestValidator } from "../request/RequestValidator.js"; | ||
import { IPerformanceClient } from "../telemetry/performance/IPerformanceClient.js"; | ||
import { PerformanceEvents } from "../telemetry/performance/PerformanceEvent.js"; | ||
import { invokeAsync } from "../utils/FunctionWrappers.js"; | ||
import { ClientAssertion } from "../account/ClientCredentials.js"; | ||
import { getClientAssertion } from "../utils/ClientAssertionUtils.js"; | ||
@@ -679,7 +679,3 @@ /** | ||
if (request.extraQueryParameters) { | ||
parameterBuilder.addExtraQueryParameters( | ||
request.extraQueryParameters | ||
); | ||
} | ||
this.addExtraQueryParams(request, parameterBuilder); | ||
@@ -748,2 +744,21 @@ if (request.nativeBroker) { | ||
this.addExtraQueryParams(request, parameterBuilder); | ||
return parameterBuilder.createQueryString(); | ||
} | ||
private addExtraQueryParams( | ||
request: CommonAuthorizationUrlRequest | CommonEndSessionRequest, | ||
parameterBuilder: RequestParameterBuilder | ||
) { | ||
const hasRequestInstanceAware = | ||
request.extraQueryParameters && | ||
request.extraQueryParameters.hasOwnProperty("instance_aware"); | ||
// Set instance_aware flag if config auth param is set | ||
if (!hasRequestInstanceAware && this.config.authOptions.instanceAware) { | ||
request.extraQueryParameters = request.extraQueryParameters || {}; | ||
request.extraQueryParameters["instance_aware"] = "true"; | ||
} | ||
if (request.extraQueryParameters) { | ||
@@ -754,4 +769,2 @@ parameterBuilder.addExtraQueryParameters( | ||
} | ||
return parameterBuilder.createQueryString(); | ||
} | ||
@@ -758,0 +771,0 @@ |
@@ -10,21 +10,21 @@ /* | ||
CommonClientConfiguration, | ||
} from "../config/ClientConfiguration"; | ||
import { INetworkModule } from "../network/INetworkModule"; | ||
import { NetworkManager, NetworkResponse } from "../network/NetworkManager"; | ||
import { ICrypto } from "../crypto/ICrypto"; | ||
import { Authority } from "../authority/Authority"; | ||
import { Logger } from "../logger/Logger"; | ||
import { Constants, HeaderNames } from "../utils/Constants"; | ||
import { ServerAuthorizationTokenResponse } from "../response/ServerAuthorizationTokenResponse"; | ||
import { CacheManager } from "../cache/CacheManager"; | ||
import { ServerTelemetryManager } from "../telemetry/server/ServerTelemetryManager"; | ||
import { RequestThumbprint } from "../network/RequestThumbprint"; | ||
import { version, name } from "../packageMetadata"; | ||
import { CcsCredential, CcsCredentialType } from "../account/CcsCredential"; | ||
import { buildClientInfoFromHomeAccountId } from "../account/ClientInfo"; | ||
import { IPerformanceClient } from "../telemetry/performance/IPerformanceClient"; | ||
import { RequestParameterBuilder } from "../request/RequestParameterBuilder"; | ||
import { BaseAuthRequest } from "../request/BaseAuthRequest"; | ||
import { createDiscoveredInstance } from "../authority/AuthorityFactory"; | ||
import { PerformanceEvents } from "../telemetry/performance/PerformanceEvent"; | ||
} from "../config/ClientConfiguration.js"; | ||
import { INetworkModule } from "../network/INetworkModule.js"; | ||
import { NetworkManager, NetworkResponse } from "../network/NetworkManager.js"; | ||
import { ICrypto } from "../crypto/ICrypto.js"; | ||
import { Authority } from "../authority/Authority.js"; | ||
import { Logger } from "../logger/Logger.js"; | ||
import { Constants, HeaderNames } from "../utils/Constants.js"; | ||
import { ServerAuthorizationTokenResponse } from "../response/ServerAuthorizationTokenResponse.js"; | ||
import { CacheManager } from "../cache/CacheManager.js"; | ||
import { ServerTelemetryManager } from "../telemetry/server/ServerTelemetryManager.js"; | ||
import { RequestThumbprint } from "../network/RequestThumbprint.js"; | ||
import { version, name } from "../packageMetadata.js"; | ||
import { CcsCredential, CcsCredentialType } from "../account/CcsCredential.js"; | ||
import { buildClientInfoFromHomeAccountId } from "../account/ClientInfo.js"; | ||
import { IPerformanceClient } from "../telemetry/performance/IPerformanceClient.js"; | ||
import { RequestParameterBuilder } from "../request/RequestParameterBuilder.js"; | ||
import { BaseAuthRequest } from "../request/BaseAuthRequest.js"; | ||
import { createDiscoveredInstance } from "../authority/AuthorityFactory.js"; | ||
import { PerformanceEvents } from "../telemetry/performance/PerformanceEvent.js"; | ||
@@ -31,0 +31,0 @@ /** |
@@ -9,8 +9,8 @@ /* | ||
isOidcProtocolMode, | ||
} from "../config/ClientConfiguration"; | ||
import { BaseClient } from "./BaseClient"; | ||
import { CommonRefreshTokenRequest } from "../request/CommonRefreshTokenRequest"; | ||
import { Authority } from "../authority/Authority"; | ||
import { ServerAuthorizationTokenResponse } from "../response/ServerAuthorizationTokenResponse"; | ||
import { RequestParameterBuilder } from "../request/RequestParameterBuilder"; | ||
} from "../config/ClientConfiguration.js"; | ||
import { BaseClient } from "./BaseClient.js"; | ||
import { CommonRefreshTokenRequest } from "../request/CommonRefreshTokenRequest.js"; | ||
import { Authority } from "../authority/Authority.js"; | ||
import { ServerAuthorizationTokenResponse } from "../response/ServerAuthorizationTokenResponse.js"; | ||
import { RequestParameterBuilder } from "../request/RequestParameterBuilder.js"; | ||
import { | ||
@@ -21,24 +21,24 @@ GrantType, | ||
HeaderNames, | ||
} from "../utils/Constants"; | ||
import * as AADServerParamKeys from "../constants/AADServerParamKeys"; | ||
import { ResponseHandler } from "../response/ResponseHandler"; | ||
import { AuthenticationResult } from "../response/AuthenticationResult"; | ||
import { PopTokenGenerator } from "../crypto/PopTokenGenerator"; | ||
import { StringUtils } from "../utils/StringUtils"; | ||
import { RequestThumbprint } from "../network/RequestThumbprint"; | ||
import { NetworkResponse } from "../network/NetworkManager"; | ||
import { CommonSilentFlowRequest } from "../request/CommonSilentFlowRequest"; | ||
} from "../utils/Constants.js"; | ||
import * as AADServerParamKeys from "../constants/AADServerParamKeys.js"; | ||
import { ResponseHandler } from "../response/ResponseHandler.js"; | ||
import { AuthenticationResult } from "../response/AuthenticationResult.js"; | ||
import { PopTokenGenerator } from "../crypto/PopTokenGenerator.js"; | ||
import { StringUtils } from "../utils/StringUtils.js"; | ||
import { RequestThumbprint } from "../network/RequestThumbprint.js"; | ||
import { NetworkResponse } from "../network/NetworkManager.js"; | ||
import { CommonSilentFlowRequest } from "../request/CommonSilentFlowRequest.js"; | ||
import { | ||
createClientConfigurationError, | ||
ClientConfigurationErrorCodes, | ||
} from "../error/ClientConfigurationError"; | ||
} from "../error/ClientConfigurationError.js"; | ||
import { | ||
createClientAuthError, | ||
ClientAuthErrorCodes, | ||
} from "../error/ClientAuthError"; | ||
import { ServerError } from "../error/ServerError"; | ||
import * as TimeUtils from "../utils/TimeUtils"; | ||
import { UrlString } from "../url/UrlString"; | ||
import { CcsCredentialType } from "../account/CcsCredential"; | ||
import { buildClientInfoFromHomeAccountId } from "../account/ClientInfo"; | ||
} from "../error/ClientAuthError.js"; | ||
import { ServerError } from "../error/ServerError.js"; | ||
import * as TimeUtils from "../utils/TimeUtils.js"; | ||
import { UrlString } from "../url/UrlString.js"; | ||
import { CcsCredentialType } from "../account/CcsCredential.js"; | ||
import { buildClientInfoFromHomeAccountId } from "../account/ClientInfo.js"; | ||
import { | ||
@@ -48,9 +48,9 @@ InteractionRequiredAuthError, | ||
createInteractionRequiredAuthError, | ||
} from "../error/InteractionRequiredAuthError"; | ||
import { PerformanceEvents } from "../telemetry/performance/PerformanceEvent"; | ||
import { IPerformanceClient } from "../telemetry/performance/IPerformanceClient"; | ||
import { invoke, invokeAsync } from "../utils/FunctionWrappers"; | ||
import { generateCredentialKey } from "../cache/utils/CacheHelpers"; | ||
import { ClientAssertion } from "../account/ClientCredentials"; | ||
import { getClientAssertion } from "../utils/ClientAssertionUtils"; | ||
} from "../error/InteractionRequiredAuthError.js"; | ||
import { PerformanceEvents } from "../telemetry/performance/PerformanceEvent.js"; | ||
import { IPerformanceClient } from "../telemetry/performance/IPerformanceClient.js"; | ||
import { invoke, invokeAsync } from "../utils/FunctionWrappers.js"; | ||
import { generateCredentialKey } from "../cache/utils/CacheHelpers.js"; | ||
import { ClientAssertion } from "../account/ClientCredentials.js"; | ||
import { getClientAssertion } from "../utils/ClientAssertionUtils.js"; | ||
@@ -57,0 +57,0 @@ const DEFAULT_REFRESH_TOKEN_EXPIRATION_OFFSET_SECONDS = 300; // 5 Minutes |
@@ -6,8 +6,8 @@ /* | ||
import { BaseClient } from "./BaseClient"; | ||
import { ClientConfiguration } from "../config/ClientConfiguration"; | ||
import { CommonSilentFlowRequest } from "../request/CommonSilentFlowRequest"; | ||
import { AuthenticationResult } from "../response/AuthenticationResult"; | ||
import * as TimeUtils from "../utils/TimeUtils"; | ||
import { RefreshTokenClient } from "./RefreshTokenClient"; | ||
import { BaseClient } from "./BaseClient.js"; | ||
import { ClientConfiguration } from "../config/ClientConfiguration.js"; | ||
import { CommonSilentFlowRequest } from "../request/CommonSilentFlowRequest.js"; | ||
import { AuthenticationResult } from "../response/AuthenticationResult.js"; | ||
import * as TimeUtils from "../utils/TimeUtils.js"; | ||
import { RefreshTokenClient } from "./RefreshTokenClient.js"; | ||
import { | ||
@@ -17,13 +17,13 @@ ClientAuthError, | ||
createClientAuthError, | ||
} from "../error/ClientAuthError"; | ||
import { ResponseHandler } from "../response/ResponseHandler"; | ||
import { CacheRecord } from "../cache/entities/CacheRecord"; | ||
import { CacheOutcome, OIDC_DEFAULT_SCOPES } from "../utils/Constants"; | ||
import { IPerformanceClient } from "../telemetry/performance/IPerformanceClient"; | ||
import { StringUtils } from "../utils/StringUtils"; | ||
import { checkMaxAge, extractTokenClaims } from "../account/AuthToken"; | ||
import { TokenClaims } from "../account/TokenClaims"; | ||
import { PerformanceEvents } from "../telemetry/performance/PerformanceEvent"; | ||
import { invokeAsync } from "../utils/FunctionWrappers"; | ||
import { getTenantFromAuthorityString } from "../authority/Authority"; | ||
} from "../error/ClientAuthError.js"; | ||
import { ResponseHandler } from "../response/ResponseHandler.js"; | ||
import { CacheRecord } from "../cache/entities/CacheRecord.js"; | ||
import { CacheOutcome, OIDC_DEFAULT_SCOPES } from "../utils/Constants.js"; | ||
import { IPerformanceClient } from "../telemetry/performance/IPerformanceClient.js"; | ||
import { StringUtils } from "../utils/StringUtils.js"; | ||
import { checkMaxAge, extractTokenClaims } from "../account/AuthToken.js"; | ||
import { TokenClaims } from "../account/TokenClaims.js"; | ||
import { PerformanceEvents } from "../telemetry/performance/PerformanceEvent.js"; | ||
import { invokeAsync } from "../utils/FunctionWrappers.js"; | ||
import { getTenantFromAuthorityString } from "../authority/Authority.js"; | ||
@@ -30,0 +30,0 @@ /** @internal */ |
@@ -6,22 +6,22 @@ /* | ||
import { INetworkModule } from "../network/INetworkModule"; | ||
import { DEFAULT_CRYPTO_IMPLEMENTATION, ICrypto } from "../crypto/ICrypto"; | ||
import { ILoggerCallback, Logger, LogLevel } from "../logger/Logger"; | ||
import { INetworkModule } from "../network/INetworkModule.js"; | ||
import { DEFAULT_CRYPTO_IMPLEMENTATION, ICrypto } from "../crypto/ICrypto.js"; | ||
import { ILoggerCallback, Logger, LogLevel } from "../logger/Logger.js"; | ||
import { | ||
Constants, | ||
DEFAULT_TOKEN_RENEWAL_OFFSET_SEC, | ||
} from "../utils/Constants"; | ||
import { version } from "../packageMetadata"; | ||
import { Authority } from "../authority/Authority"; | ||
import { AzureCloudInstance } from "../authority/AuthorityOptions"; | ||
import { CacheManager, DefaultStorageClass } from "../cache/CacheManager"; | ||
import { ServerTelemetryManager } from "../telemetry/server/ServerTelemetryManager"; | ||
import { ICachePlugin } from "../cache/interface/ICachePlugin"; | ||
import { ISerializableTokenCache } from "../cache/interface/ISerializableTokenCache"; | ||
import { ClientCredentials } from "../account/ClientCredentials"; | ||
import { ProtocolMode } from "../authority/ProtocolMode"; | ||
} from "../utils/Constants.js"; | ||
import { version } from "../packageMetadata.js"; | ||
import { Authority } from "../authority/Authority.js"; | ||
import { AzureCloudInstance } from "../authority/AuthorityOptions.js"; | ||
import { CacheManager, DefaultStorageClass } from "../cache/CacheManager.js"; | ||
import { ServerTelemetryManager } from "../telemetry/server/ServerTelemetryManager.js"; | ||
import { ICachePlugin } from "../cache/interface/ICachePlugin.js"; | ||
import { ISerializableTokenCache } from "../cache/interface/ISerializableTokenCache.js"; | ||
import { ClientCredentials } from "../account/ClientCredentials.js"; | ||
import { ProtocolMode } from "../authority/ProtocolMode.js"; | ||
import { | ||
ClientAuthErrorCodes, | ||
createClientAuthError, | ||
} from "../error/ClientAuthError"; | ||
} from "../error/ClientAuthError.js"; | ||
@@ -84,3 +84,4 @@ /** | ||
* - protocolMode - Enum that represents the protocol that msal follows. Used for configuring proper endpoints. | ||
* - skipAuthorityMetadataCache - A flag to choose whether to use or not use the local metadata cache during authority initialization. Defaults to false. | ||
* - skipAuthorityMetadataCache - A flag to choose whether to use or not use the local metadata cache during authority initialization. Defaults to false. | ||
* - instanceAware - A flag of whether the STS will send back additional parameters to specify where the tokens should be retrieved from. | ||
* @internal | ||
@@ -94,2 +95,3 @@ */ | ||
skipAuthorityMetadataCache?: boolean; | ||
instanceAware?: boolean; | ||
}; | ||
@@ -277,2 +279,3 @@ | ||
skipAuthorityMetadataCache: false, | ||
instanceAware: false, | ||
...authOptions, | ||
@@ -279,0 +282,0 @@ }; |
@@ -9,5 +9,5 @@ /* | ||
createClientAuthError, | ||
} from "../error/ClientAuthError"; | ||
import { BaseAuthRequest } from "../request/BaseAuthRequest"; | ||
import { ShrOptions, SignedHttpRequest } from "./SignedHttpRequest"; | ||
} from "../error/ClientAuthError.js"; | ||
import { BaseAuthRequest } from "../request/BaseAuthRequest.js"; | ||
import { ShrOptions, SignedHttpRequest } from "./SignedHttpRequest.js"; | ||
@@ -14,0 +14,0 @@ /** |
@@ -9,4 +9,4 @@ /* | ||
createJoseHeaderError, | ||
} from "../error/JoseHeaderError"; | ||
import { JsonWebTokenTypes } from "../utils/Constants"; | ||
} from "../error/JoseHeaderError.js"; | ||
import { JsonWebTokenTypes } from "../utils/Constants.js"; | ||
@@ -13,0 +13,0 @@ export type JoseHeaderOptions = { |
@@ -6,9 +6,9 @@ /* | ||
import { ICrypto, SignedHttpRequestParameters } from "./ICrypto"; | ||
import * as TimeUtils from "../utils/TimeUtils"; | ||
import { UrlString } from "../url/UrlString"; | ||
import { IPerformanceClient } from "../telemetry/performance/IPerformanceClient"; | ||
import { PerformanceEvents } from "../telemetry/performance/PerformanceEvent"; | ||
import { invokeAsync } from "../utils/FunctionWrappers"; | ||
import { Logger } from "../logger/Logger"; | ||
import { ICrypto, SignedHttpRequestParameters } from "./ICrypto.js"; | ||
import * as TimeUtils from "../utils/TimeUtils.js"; | ||
import { UrlString } from "../url/UrlString.js"; | ||
import { IPerformanceClient } from "../telemetry/performance/IPerformanceClient.js"; | ||
import { PerformanceEvents } from "../telemetry/performance/PerformanceEvent.js"; | ||
import { invokeAsync } from "../utils/FunctionWrappers.js"; | ||
import { Logger } from "../logger/Logger.js"; | ||
@@ -15,0 +15,0 @@ /** |
@@ -6,3 +6,3 @@ /* | ||
import { JoseHeaderOptions } from "./JoseHeader"; | ||
import { JoseHeaderOptions } from "./JoseHeader.js"; | ||
@@ -9,0 +9,0 @@ export type SignedHttpRequest = { |
@@ -6,4 +6,4 @@ /* | ||
import { Constants } from "../utils/Constants"; | ||
import * as AuthErrorCodes from "./AuthErrorCodes"; | ||
import { Constants } from "../utils/Constants.js"; | ||
import * as AuthErrorCodes from "./AuthErrorCodes.js"; | ||
export { AuthErrorCodes }; | ||
@@ -10,0 +10,0 @@ |
@@ -6,3 +6,3 @@ /* | ||
import * as CacheErrorCodes from "./CacheErrorCodes"; | ||
import * as CacheErrorCodes from "./CacheErrorCodes.js"; | ||
export { CacheErrorCodes }; | ||
@@ -9,0 +9,0 @@ |
@@ -6,4 +6,4 @@ /* | ||
import { AuthError } from "./AuthError"; | ||
import * as ClientAuthErrorCodes from "./ClientAuthErrorCodes"; | ||
import { AuthError } from "./AuthError.js"; | ||
import * as ClientAuthErrorCodes from "./ClientAuthErrorCodes.js"; | ||
export { ClientAuthErrorCodes }; // Allow importing as "ClientAuthErrorCodes"; | ||
@@ -10,0 +10,0 @@ |
@@ -6,4 +6,4 @@ /* | ||
import { AuthError } from "./AuthError"; | ||
import * as ClientConfigurationErrorCodes from "./ClientConfigurationErrorCodes"; | ||
import { AuthError } from "./AuthError.js"; | ||
import * as ClientConfigurationErrorCodes from "./ClientConfigurationErrorCodes.js"; | ||
export { ClientConfigurationErrorCodes }; | ||
@@ -10,0 +10,0 @@ |
@@ -6,5 +6,5 @@ /* | ||
import { Constants } from "../utils/Constants"; | ||
import { AuthError } from "./AuthError"; | ||
import * as InteractionRequiredAuthErrorCodes from "./InteractionRequiredAuthErrorCodes"; | ||
import { Constants } from "../utils/Constants.js"; | ||
import { AuthError } from "./AuthError.js"; | ||
import * as InteractionRequiredAuthErrorCodes from "./InteractionRequiredAuthErrorCodes.js"; | ||
export { InteractionRequiredAuthErrorCodes }; | ||
@@ -11,0 +11,0 @@ |
@@ -6,4 +6,4 @@ /* | ||
import { AuthError } from "./AuthError"; | ||
import * as JoseHeaderErrorCodes from "./JoseHeaderErrorCodes"; | ||
import { AuthError } from "./AuthError.js"; | ||
import * as JoseHeaderErrorCodes from "./JoseHeaderErrorCodes.js"; | ||
export { JoseHeaderErrorCodes }; | ||
@@ -10,0 +10,0 @@ |
@@ -6,3 +6,3 @@ /* | ||
import { AuthError } from "./AuthError"; | ||
import { AuthError } from "./AuthError.js"; | ||
@@ -9,0 +9,0 @@ /** |
257
src/index.ts
@@ -11,251 +11,8 @@ /* | ||
import * as AuthToken from "./account/AuthToken"; | ||
import * as AuthorityFactory from "./authority/AuthorityFactory"; | ||
import * as CacheHelpers from "./cache/utils/CacheHelpers"; | ||
import * as TimeUtils from "./utils/TimeUtils"; | ||
import * as UrlUtils from "./utils/UrlUtils"; | ||
import * as ClientAssertionUtils from "./utils/ClientAssertionUtils"; | ||
import * as AADServerParamKeys from "./constants/AADServerParamKeys"; | ||
export { AuthorizationCodeClient } from "./client/AuthorizationCodeClient"; | ||
export { RefreshTokenClient } from "./client/RefreshTokenClient"; | ||
export { SilentFlowClient } from "./client/SilentFlowClient"; | ||
export { BaseClient } from "./client/BaseClient"; | ||
export { | ||
AuthOptions, | ||
SystemOptions, | ||
LoggerOptions, | ||
CacheOptions, | ||
DEFAULT_SYSTEM_OPTIONS, | ||
AzureCloudOptions, | ||
ApplicationTelemetry, | ||
} from "./config/ClientConfiguration"; | ||
export { | ||
IAppTokenProvider, | ||
AppTokenProviderParameters, | ||
AppTokenProviderResult, | ||
} from "./config/AppTokenProvider"; | ||
export { ClientConfiguration } from "./config/ClientConfiguration"; | ||
// Account | ||
export { | ||
AccountInfo, | ||
ActiveAccountFilters, | ||
TenantProfile, | ||
updateAccountTenantProfileData, | ||
tenantIdMatchesHomeTenant, | ||
buildTenantProfile, | ||
} from "./account/AccountInfo"; | ||
export { AuthToken }; | ||
export { | ||
TokenClaims, | ||
getTenantIdFromIdTokenClaims, | ||
} from "./account/TokenClaims"; | ||
export { TokenClaims as IdTokenClaims } from "./account/TokenClaims"; | ||
export { CcsCredential, CcsCredentialType } from "./account/CcsCredential"; | ||
export { | ||
ClientInfo, | ||
buildClientInfo, | ||
buildClientInfoFromHomeAccountId, | ||
} from "./account/ClientInfo"; | ||
// Authority | ||
export { | ||
Authority, | ||
formatAuthorityUri, | ||
buildStaticAuthorityOptions, | ||
} from "./authority/Authority"; | ||
export { | ||
AuthorityOptions, | ||
AzureCloudInstance, | ||
StaticAuthorityOptions, | ||
} from "./authority/AuthorityOptions"; | ||
export { AuthorityFactory }; | ||
export { AuthorityType } from "./authority/AuthorityType"; | ||
export { ProtocolMode } from "./authority/ProtocolMode"; | ||
export { OIDCOptions } from "./authority/OIDCOptions"; | ||
// Broker | ||
export { INativeBrokerPlugin } from "./broker/nativeBroker/INativeBrokerPlugin"; | ||
// Cache | ||
export { CacheManager, DefaultStorageClass } from "./cache/CacheManager"; | ||
export { | ||
AccountCache, | ||
AccountFilter, | ||
AccessTokenCache, | ||
IdTokenCache, | ||
RefreshTokenCache, | ||
AppMetadataCache, | ||
CredentialFilter, | ||
ValidCacheType, | ||
ValidCredentialType, | ||
TokenKeys, | ||
} from "./cache/utils/CacheTypes"; | ||
export { CacheRecord } from "./cache/entities/CacheRecord"; | ||
export { CredentialEntity } from "./cache/entities/CredentialEntity"; | ||
export { CacheHelpers }; | ||
export { AppMetadataEntity } from "./cache/entities/AppMetadataEntity"; | ||
export { AccountEntity } from "./cache/entities/AccountEntity"; | ||
export { IdTokenEntity } from "./cache/entities/IdTokenEntity"; | ||
export { AccessTokenEntity } from "./cache/entities/AccessTokenEntity"; | ||
export { RefreshTokenEntity } from "./cache/entities/RefreshTokenEntity"; | ||
export { ServerTelemetryEntity } from "./cache/entities/ServerTelemetryEntity"; | ||
export { AuthorityMetadataEntity } from "./cache/entities/AuthorityMetadataEntity"; | ||
export { ThrottlingEntity } from "./cache/entities/ThrottlingEntity"; | ||
export { ICachePlugin } from "./cache/interface/ICachePlugin"; | ||
export { TokenCacheContext } from "./cache/persistence/TokenCacheContext"; | ||
export { ISerializableTokenCache } from "./cache/interface/ISerializableTokenCache"; | ||
// Network Interface | ||
export { | ||
INetworkModule, | ||
NetworkRequestOptions, | ||
StubbedNetworkModule, | ||
} from "./network/INetworkModule"; | ||
export { | ||
NetworkManager, | ||
NetworkResponse, | ||
UrlToHttpRequestOptions, | ||
} from "./network/NetworkManager"; | ||
export { ThrottlingUtils } from "./network/ThrottlingUtils"; | ||
export { RequestThumbprint } from "./network/RequestThumbprint"; | ||
export { IUri } from "./url/IUri"; | ||
export { UrlString } from "./url/UrlString"; | ||
// Crypto Interface | ||
export { | ||
ICrypto, | ||
PkceCodes, | ||
DEFAULT_CRYPTO_IMPLEMENTATION, | ||
SignedHttpRequestParameters, | ||
} from "./crypto/ICrypto"; | ||
export { SignedHttpRequest, ShrOptions } from "./crypto/SignedHttpRequest"; | ||
export { IGuidGenerator } from "./crypto/IGuidGenerator"; | ||
export { JoseHeader } from "./crypto/JoseHeader"; | ||
// Request | ||
export { BaseAuthRequest } from "./request/BaseAuthRequest"; | ||
export { CommonAuthorizationUrlRequest } from "./request/CommonAuthorizationUrlRequest"; | ||
export { CommonAuthorizationCodeRequest } from "./request/CommonAuthorizationCodeRequest"; | ||
export { CommonRefreshTokenRequest } from "./request/CommonRefreshTokenRequest"; | ||
export { CommonClientCredentialRequest } from "./request/CommonClientCredentialRequest"; | ||
export { CommonOnBehalfOfRequest } from "./request/CommonOnBehalfOfRequest"; | ||
export { CommonSilentFlowRequest } from "./request/CommonSilentFlowRequest"; | ||
export { CommonDeviceCodeRequest } from "./request/CommonDeviceCodeRequest"; | ||
export { CommonEndSessionRequest } from "./request/CommonEndSessionRequest"; | ||
export { CommonUsernamePasswordRequest } from "./request/CommonUsernamePasswordRequest"; | ||
export { NativeRequest } from "./request/NativeRequest"; | ||
export { NativeSignOutRequest } from "./request/NativeSignOutRequest"; | ||
export { RequestParameterBuilder } from "./request/RequestParameterBuilder"; | ||
export { StoreInCache } from "./request/StoreInCache"; | ||
export { | ||
ClientAssertion, | ||
ClientAssertionConfig, | ||
ClientAssertionCallback, | ||
} from "./account/ClientCredentials"; | ||
// Response | ||
export { AzureRegion } from "./authority/AzureRegion"; | ||
export { AzureRegionConfiguration } from "./authority/AzureRegionConfiguration"; | ||
export { AuthenticationResult } from "./response/AuthenticationResult"; | ||
export { AuthorizationCodePayload } from "./response/AuthorizationCodePayload"; | ||
export { ServerAuthorizationCodeResponse } from "./response/ServerAuthorizationCodeResponse"; | ||
export { ServerAuthorizationTokenResponse } from "./response/ServerAuthorizationTokenResponse"; | ||
export { ExternalTokenResponse } from "./response/ExternalTokenResponse"; | ||
export { | ||
DeviceCodeResponse, | ||
ServerDeviceCodeResponse, | ||
} from "./response/DeviceCodeResponse"; | ||
export { | ||
ResponseHandler, | ||
buildAccountToCache, | ||
} from "./response/ResponseHandler"; | ||
export { ScopeSet } from "./request/ScopeSet"; | ||
export { AuthenticationHeaderParser } from "./request/AuthenticationHeaderParser"; | ||
// Logger Callback | ||
export { ILoggerCallback, LogLevel, Logger } from "./logger/Logger"; | ||
// Errors | ||
export { | ||
InteractionRequiredAuthError, | ||
InteractionRequiredAuthErrorCodes, | ||
InteractionRequiredAuthErrorMessage, | ||
createInteractionRequiredAuthError, | ||
} from "./error/InteractionRequiredAuthError"; | ||
export { | ||
AuthError, | ||
AuthErrorMessage, | ||
AuthErrorCodes, | ||
createAuthError, | ||
} from "./error/AuthError"; | ||
export { ServerError } from "./error/ServerError"; | ||
export { CacheError, CacheErrorCodes } from "./error/CacheError"; | ||
export { | ||
ClientAuthError, | ||
ClientAuthErrorMessage, | ||
ClientAuthErrorCodes, | ||
createClientAuthError, | ||
} from "./error/ClientAuthError"; | ||
export { | ||
ClientConfigurationError, | ||
ClientConfigurationErrorMessage, | ||
ClientConfigurationErrorCodes, | ||
createClientConfigurationError, | ||
} from "./error/ClientConfigurationError"; | ||
// Constants and Utils | ||
export { getClientAssertion } from "./utils/ClientAssertionUtils"; | ||
export { | ||
Constants, | ||
OIDC_DEFAULT_SCOPES, | ||
PromptValue, | ||
PersistentCacheKeys, | ||
ServerResponseType, | ||
ResponseMode, | ||
CacheOutcome, | ||
CredentialType, | ||
CacheType, | ||
CacheAccountType, | ||
AuthenticationScheme, | ||
CodeChallengeMethodValues, | ||
PasswordGrantConstants, | ||
ThrottlingConstants, | ||
ClaimsRequestKeys, | ||
HeaderNames, | ||
Errors, | ||
THE_FAMILY_ID, | ||
ONE_DAY_IN_MS, | ||
GrantType, | ||
AADAuthorityConstants, | ||
HttpStatus, | ||
DEFAULT_TOKEN_RENEWAL_OFFSET_SEC, | ||
JsonWebTokenTypes, | ||
} from "./utils/Constants"; | ||
export { AADServerParamKeys }; | ||
export { StringUtils } from "./utils/StringUtils"; | ||
export { StringDict } from "./utils/MsalTypes"; | ||
export { | ||
ProtocolUtils, | ||
RequestStateObject, | ||
LibraryStateObject, | ||
} from "./utils/ProtocolUtils"; | ||
export { TimeUtils, UrlUtils, ClientAssertionUtils }; | ||
export * from "./utils/FunctionWrappers"; | ||
// Server Telemetry | ||
export { ServerTelemetryManager } from "./telemetry/server/ServerTelemetryManager"; | ||
export { ServerTelemetryRequest } from "./telemetry/server/ServerTelemetryRequest"; | ||
// Performance Telemetry | ||
export { | ||
IPerformanceClient, | ||
PerformanceCallbackFunction, | ||
InProgressPerformanceEvent, | ||
QueueMeasurement, | ||
} from "./telemetry/performance/IPerformanceClient"; | ||
export { | ||
IntFields, | ||
PerformanceEvent, | ||
PerformanceEvents, | ||
PerformanceEventStatus, | ||
SubMeasurement, | ||
} from "./telemetry/performance/PerformanceEvent"; | ||
export { IPerformanceMeasurement } from "./telemetry/performance/IPerformanceMeasurement"; | ||
export { | ||
PerformanceClient, | ||
PreQueueEvent, | ||
} from "./telemetry/performance/PerformanceClient"; | ||
export { StubPerformanceClient } from "./telemetry/performance/StubPerformanceClient"; | ||
export { PopTokenGenerator } from "./crypto/PopTokenGenerator"; | ||
export { version } from "./packageMetadata"; | ||
/** | ||
* This file is the entrypoint when importing without a specific subpath e.g. "import { someExport } from @azure/msal-common" | ||
* Additional exports should be added to the applicable exports-*.ts files | ||
*/ | ||
export * from "./exports-common.js"; | ||
export * from "./exports-browser-only.js"; | ||
export * from "./exports-node-only.js"; |
@@ -6,4 +6,4 @@ /* | ||
import { LoggerOptions } from "../config/ClientConfiguration"; | ||
import { Constants } from "../utils/Constants"; | ||
import { LoggerOptions } from "../config/ClientConfiguration.js"; | ||
import { Constants } from "../utils/Constants.js"; | ||
@@ -10,0 +10,0 @@ /** |
@@ -9,4 +9,4 @@ /* | ||
createClientAuthError, | ||
} from "../error/ClientAuthError"; | ||
import { NetworkResponse } from "./NetworkManager"; | ||
} from "../error/ClientAuthError.js"; | ||
import { NetworkResponse } from "./NetworkManager.js"; | ||
@@ -13,0 +13,0 @@ /** |
@@ -6,12 +6,12 @@ /* | ||
import { INetworkModule, NetworkRequestOptions } from "./INetworkModule"; | ||
import { RequestThumbprint } from "./RequestThumbprint"; | ||
import { ThrottlingUtils } from "./ThrottlingUtils"; | ||
import { CacheManager } from "../cache/CacheManager"; | ||
import { AuthError } from "../error/AuthError"; | ||
import { INetworkModule, NetworkRequestOptions } from "./INetworkModule.js"; | ||
import { RequestThumbprint } from "./RequestThumbprint.js"; | ||
import { ThrottlingUtils } from "./ThrottlingUtils.js"; | ||
import { CacheManager } from "../cache/CacheManager.js"; | ||
import { AuthError } from "../error/AuthError.js"; | ||
import { | ||
ClientAuthErrorCodes, | ||
createClientAuthError, | ||
} from "../error/ClientAuthError"; | ||
import { ServerAuthorizationTokenResponse } from "../response/ServerAuthorizationTokenResponse"; | ||
} from "../error/ClientAuthError.js"; | ||
import { ServerAuthorizationTokenResponse } from "../response/ServerAuthorizationTokenResponse.js"; | ||
@@ -18,0 +18,0 @@ export type NetworkResponse<T> = { |
@@ -6,4 +6,4 @@ /* | ||
import { ShrOptions } from "../crypto/SignedHttpRequest"; | ||
import { AuthenticationScheme } from "../utils/Constants"; | ||
import { ShrOptions } from "../crypto/SignedHttpRequest.js"; | ||
import { AuthenticationScheme } from "../utils/Constants.js"; | ||
@@ -10,0 +10,0 @@ /** |
@@ -6,4 +6,4 @@ /* | ||
import { NetworkResponse } from "./NetworkManager"; | ||
import { ServerAuthorizationTokenResponse } from "../response/ServerAuthorizationTokenResponse"; | ||
import { NetworkResponse } from "./NetworkManager.js"; | ||
import { ServerAuthorizationTokenResponse } from "../response/ServerAuthorizationTokenResponse.js"; | ||
import { | ||
@@ -13,8 +13,8 @@ HeaderNames, | ||
Constants, | ||
} from "../utils/Constants"; | ||
import { CacheManager } from "../cache/CacheManager"; | ||
import { ServerError } from "../error/ServerError"; | ||
import { RequestThumbprint } from "./RequestThumbprint"; | ||
import { ThrottlingEntity } from "../cache/entities/ThrottlingEntity"; | ||
import { BaseAuthRequest } from "../request/BaseAuthRequest"; | ||
} from "../utils/Constants.js"; | ||
import { CacheManager } from "../cache/CacheManager.js"; | ||
import { ServerError } from "../error/ServerError.js"; | ||
import { RequestThumbprint } from "./RequestThumbprint.js"; | ||
import { ThrottlingEntity } from "../cache/entities/ThrottlingEntity.js"; | ||
import { BaseAuthRequest } from "../request/BaseAuthRequest.js"; | ||
@@ -21,0 +21,0 @@ /** @internal */ |
/* eslint-disable header/header */ | ||
export const name = "@azure/msal-common"; | ||
export const version = "14.14.2"; | ||
export const version = "14.15.0"; |
@@ -9,4 +9,4 @@ /* | ||
ClientConfigurationErrorCodes, | ||
} from "../error/ClientConfigurationError"; | ||
import { Constants, HeaderNames } from "../utils/Constants"; | ||
} from "../error/ClientConfigurationError.js"; | ||
import { Constants, HeaderNames } from "../utils/Constants.js"; | ||
@@ -13,0 +13,0 @@ type WWWAuthenticateChallenges = { |
@@ -6,7 +6,7 @@ /* | ||
import { AuthenticationScheme } from "../utils/Constants"; | ||
import { AzureCloudOptions } from "../config/ClientConfiguration"; | ||
import { StringDict } from "../utils/MsalTypes"; | ||
import { StoreInCache } from "./StoreInCache"; | ||
import { ShrOptions } from "../crypto/SignedHttpRequest"; | ||
import { AuthenticationScheme } from "../utils/Constants.js"; | ||
import { AzureCloudOptions } from "../config/ClientConfiguration.js"; | ||
import { StringDict } from "../utils/MsalTypes.js"; | ||
import { StoreInCache } from "./StoreInCache.js"; | ||
import { ShrOptions } from "../crypto/SignedHttpRequest.js"; | ||
@@ -13,0 +13,0 @@ /** |
@@ -6,5 +6,5 @@ /* | ||
import { BaseAuthRequest } from "./BaseAuthRequest"; | ||
import { StringDict } from "../utils/MsalTypes"; | ||
import { CcsCredential } from "../account/CcsCredential"; | ||
import { BaseAuthRequest } from "./BaseAuthRequest.js"; | ||
import { StringDict } from "../utils/MsalTypes.js"; | ||
import { CcsCredential } from "../account/CcsCredential.js"; | ||
@@ -11,0 +11,0 @@ /** |
@@ -6,6 +6,6 @@ /* | ||
import { ResponseMode } from "../utils/Constants"; | ||
import { StringDict } from "../utils/MsalTypes"; | ||
import { BaseAuthRequest } from "./BaseAuthRequest"; | ||
import { AccountInfo } from "../account/AccountInfo"; | ||
import { ResponseMode } from "../utils/Constants.js"; | ||
import { StringDict } from "../utils/MsalTypes.js"; | ||
import { BaseAuthRequest } from "./BaseAuthRequest.js"; | ||
import { AccountInfo } from "../account/AccountInfo.js"; | ||
@@ -12,0 +12,0 @@ /** |
@@ -6,5 +6,5 @@ /* | ||
import { BaseAuthRequest } from "./BaseAuthRequest"; | ||
import { AzureRegion } from "../authority/AzureRegion"; | ||
import { ClientAssertion } from "../account/ClientCredentials"; | ||
import { BaseAuthRequest } from "./BaseAuthRequest.js"; | ||
import { AzureRegion } from "../authority/AzureRegion.js"; | ||
import { ClientAssertion } from "../account/ClientCredentials.js"; | ||
@@ -11,0 +11,0 @@ /** |
@@ -6,5 +6,5 @@ /* | ||
import { DeviceCodeResponse } from "../response/DeviceCodeResponse"; | ||
import { StringDict } from "../utils/MsalTypes"; | ||
import { BaseAuthRequest } from "./BaseAuthRequest"; | ||
import { DeviceCodeResponse } from "../response/DeviceCodeResponse.js"; | ||
import { StringDict } from "../utils/MsalTypes.js"; | ||
import { BaseAuthRequest } from "./BaseAuthRequest.js"; | ||
@@ -11,0 +11,0 @@ /** |
@@ -6,4 +6,4 @@ /* | ||
import { AccountInfo } from "../account/AccountInfo"; | ||
import { StringDict } from "../utils/MsalTypes"; | ||
import { AccountInfo } from "../account/AccountInfo.js"; | ||
import { StringDict } from "../utils/MsalTypes.js"; | ||
@@ -10,0 +10,0 @@ /** |
@@ -6,3 +6,3 @@ /* | ||
import { BaseAuthRequest } from "./BaseAuthRequest"; | ||
import { BaseAuthRequest } from "./BaseAuthRequest.js"; | ||
@@ -9,0 +9,0 @@ /** |
@@ -6,5 +6,5 @@ /* | ||
import { BaseAuthRequest } from "./BaseAuthRequest"; | ||
import { CcsCredential } from "../account/CcsCredential"; | ||
import { StringDict } from "../utils/MsalTypes"; | ||
import { BaseAuthRequest } from "./BaseAuthRequest.js"; | ||
import { CcsCredential } from "../account/CcsCredential.js"; | ||
import { StringDict } from "../utils/MsalTypes.js"; | ||
@@ -11,0 +11,0 @@ /** |
@@ -6,5 +6,5 @@ /* | ||
import { AccountInfo } from "../account/AccountInfo"; | ||
import { StringDict } from "../utils/MsalTypes"; | ||
import { BaseAuthRequest } from "./BaseAuthRequest"; | ||
import { AccountInfo } from "../account/AccountInfo.js"; | ||
import { StringDict } from "../utils/MsalTypes.js"; | ||
import { BaseAuthRequest } from "./BaseAuthRequest.js"; | ||
@@ -11,0 +11,0 @@ /** |
@@ -6,3 +6,3 @@ /* | ||
import { BaseAuthRequest } from "./BaseAuthRequest"; | ||
import { BaseAuthRequest } from "./BaseAuthRequest.js"; | ||
@@ -9,0 +9,0 @@ /** |
@@ -6,3 +6,3 @@ /* | ||
import { StringDict } from "../utils/MsalTypes"; | ||
import { StringDict } from "../utils/MsalTypes.js"; | ||
@@ -9,0 +9,0 @@ export type NativeRequest = { |
@@ -16,17 +16,17 @@ /* | ||
HeaderNames, | ||
} from "../utils/Constants"; | ||
import * as AADServerParamKeys from "../constants/AADServerParamKeys"; | ||
import { ScopeSet } from "./ScopeSet"; | ||
} from "../utils/Constants.js"; | ||
import * as AADServerParamKeys from "../constants/AADServerParamKeys.js"; | ||
import { ScopeSet } from "./ScopeSet.js"; | ||
import { | ||
createClientConfigurationError, | ||
ClientConfigurationErrorCodes, | ||
} from "../error/ClientConfigurationError"; | ||
import { StringDict } from "../utils/MsalTypes"; | ||
import { RequestValidator } from "./RequestValidator"; | ||
} from "../error/ClientConfigurationError.js"; | ||
import { StringDict } from "../utils/MsalTypes.js"; | ||
import { RequestValidator } from "./RequestValidator.js"; | ||
import { | ||
ApplicationTelemetry, | ||
LibraryInfo, | ||
} from "../config/ClientConfiguration"; | ||
import { ServerTelemetryManager } from "../telemetry/server/ServerTelemetryManager"; | ||
import { ClientInfo } from "../account/ClientInfo"; | ||
} from "../config/ClientConfiguration.js"; | ||
import { ServerTelemetryManager } from "../telemetry/server/ServerTelemetryManager.js"; | ||
import { ClientInfo } from "../account/ClientInfo.js"; | ||
@@ -33,0 +33,0 @@ /** @internal */ |
@@ -9,4 +9,4 @@ /* | ||
ClientConfigurationErrorCodes, | ||
} from "../error/ClientConfigurationError"; | ||
import { PromptValue, CodeChallengeMethodValues } from "../utils/Constants"; | ||
} from "../error/ClientConfigurationError.js"; | ||
import { PromptValue, CodeChallengeMethodValues } from "../utils/Constants.js"; | ||
@@ -13,0 +13,0 @@ /** |
@@ -9,9 +9,9 @@ /* | ||
ClientConfigurationErrorCodes, | ||
} from "../error/ClientConfigurationError"; | ||
import { StringUtils } from "../utils/StringUtils"; | ||
} from "../error/ClientConfigurationError.js"; | ||
import { StringUtils } from "../utils/StringUtils.js"; | ||
import { | ||
ClientAuthErrorCodes, | ||
createClientAuthError, | ||
} from "../error/ClientAuthError"; | ||
import { Constants, OIDC_SCOPES } from "../utils/Constants"; | ||
} from "../error/ClientAuthError.js"; | ||
import { Constants, OIDC_SCOPES } from "../utils/Constants.js"; | ||
@@ -18,0 +18,0 @@ /** |
@@ -6,3 +6,3 @@ /* | ||
import { AccountInfo } from "../account/AccountInfo"; | ||
import { AccountInfo } from "../account/AccountInfo.js"; | ||
@@ -9,0 +9,0 @@ /** |
@@ -6,3 +6,3 @@ /* | ||
import { ServerAuthorizationTokenResponse } from "./ServerAuthorizationTokenResponse"; | ||
import { ServerAuthorizationTokenResponse } from "./ServerAuthorizationTokenResponse.js"; | ||
@@ -9,0 +9,0 @@ /** |
@@ -6,25 +6,25 @@ /* | ||
import { ServerAuthorizationTokenResponse } from "./ServerAuthorizationTokenResponse"; | ||
import { ICrypto } from "../crypto/ICrypto"; | ||
import { ServerAuthorizationTokenResponse } from "./ServerAuthorizationTokenResponse.js"; | ||
import { ICrypto } from "../crypto/ICrypto.js"; | ||
import { | ||
ClientAuthErrorCodes, | ||
createClientAuthError, | ||
} from "../error/ClientAuthError"; | ||
import { ServerAuthorizationCodeResponse } from "./ServerAuthorizationCodeResponse"; | ||
import { Logger } from "../logger/Logger"; | ||
import { ServerError } from "../error/ServerError"; | ||
import { ScopeSet } from "../request/ScopeSet"; | ||
import { AuthenticationResult } from "./AuthenticationResult"; | ||
import { AccountEntity } from "../cache/entities/AccountEntity"; | ||
import { Authority } from "../authority/Authority"; | ||
import { IdTokenEntity } from "../cache/entities/IdTokenEntity"; | ||
import { AccessTokenEntity } from "../cache/entities/AccessTokenEntity"; | ||
import { RefreshTokenEntity } from "../cache/entities/RefreshTokenEntity"; | ||
} from "../error/ClientAuthError.js"; | ||
import { ServerAuthorizationCodeResponse } from "./ServerAuthorizationCodeResponse.js"; | ||
import { Logger } from "../logger/Logger.js"; | ||
import { ServerError } from "../error/ServerError.js"; | ||
import { ScopeSet } from "../request/ScopeSet.js"; | ||
import { AuthenticationResult } from "./AuthenticationResult.js"; | ||
import { AccountEntity } from "../cache/entities/AccountEntity.js"; | ||
import { Authority } from "../authority/Authority.js"; | ||
import { IdTokenEntity } from "../cache/entities/IdTokenEntity.js"; | ||
import { AccessTokenEntity } from "../cache/entities/AccessTokenEntity.js"; | ||
import { RefreshTokenEntity } from "../cache/entities/RefreshTokenEntity.js"; | ||
import { | ||
InteractionRequiredAuthError, | ||
isInteractionRequiredError, | ||
} from "../error/InteractionRequiredAuthError"; | ||
import { CacheRecord } from "../cache/entities/CacheRecord"; | ||
import { CacheManager } from "../cache/CacheManager"; | ||
import { ProtocolUtils, RequestStateObject } from "../utils/ProtocolUtils"; | ||
} from "../error/InteractionRequiredAuthError.js"; | ||
import { CacheRecord } from "../cache/entities/CacheRecord.js"; | ||
import { CacheManager } from "../cache/CacheManager.js"; | ||
import { ProtocolUtils, RequestStateObject } from "../utils/ProtocolUtils.js"; | ||
import { | ||
@@ -35,17 +35,17 @@ AuthenticationScheme, | ||
HttpStatus, | ||
} from "../utils/Constants"; | ||
import { PopTokenGenerator } from "../crypto/PopTokenGenerator"; | ||
import { AppMetadataEntity } from "../cache/entities/AppMetadataEntity"; | ||
import { ICachePlugin } from "../cache/interface/ICachePlugin"; | ||
import { TokenCacheContext } from "../cache/persistence/TokenCacheContext"; | ||
import { ISerializableTokenCache } from "../cache/interface/ISerializableTokenCache"; | ||
import { AuthorizationCodePayload } from "./AuthorizationCodePayload"; | ||
import { BaseAuthRequest } from "../request/BaseAuthRequest"; | ||
import { IPerformanceClient } from "../telemetry/performance/IPerformanceClient"; | ||
import { PerformanceEvents } from "../telemetry/performance/PerformanceEvent"; | ||
import { checkMaxAge, extractTokenClaims } from "../account/AuthToken"; | ||
} from "../utils/Constants.js"; | ||
import { PopTokenGenerator } from "../crypto/PopTokenGenerator.js"; | ||
import { AppMetadataEntity } from "../cache/entities/AppMetadataEntity.js"; | ||
import { ICachePlugin } from "../cache/interface/ICachePlugin.js"; | ||
import { TokenCacheContext } from "../cache/persistence/TokenCacheContext.js"; | ||
import { ISerializableTokenCache } from "../cache/interface/ISerializableTokenCache.js"; | ||
import { AuthorizationCodePayload } from "./AuthorizationCodePayload.js"; | ||
import { BaseAuthRequest } from "../request/BaseAuthRequest.js"; | ||
import { IPerformanceClient } from "../telemetry/performance/IPerformanceClient.js"; | ||
import { PerformanceEvents } from "../telemetry/performance/PerformanceEvent.js"; | ||
import { checkMaxAge, extractTokenClaims } from "../account/AuthToken.js"; | ||
import { | ||
TokenClaims, | ||
getTenantIdFromIdTokenClaims, | ||
} from "../account/TokenClaims"; | ||
} from "../account/TokenClaims.js"; | ||
import { | ||
@@ -55,4 +55,4 @@ AccountInfo, | ||
updateAccountTenantProfileData, | ||
} from "../account/AccountInfo"; | ||
import * as CacheHelpers from "../cache/utils/CacheHelpers"; | ||
} from "../account/AccountInfo.js"; | ||
import * as CacheHelpers from "../cache/utils/CacheHelpers.js"; | ||
@@ -59,0 +59,0 @@ function parseServerErrorNo( |
@@ -6,3 +6,3 @@ /* | ||
import { AuthenticationScheme } from "../utils/Constants"; | ||
import { AuthenticationScheme } from "../utils/Constants.js"; | ||
@@ -9,0 +9,0 @@ /** |
@@ -6,4 +6,4 @@ /* | ||
import { PerformanceEvent } from "./PerformanceEvent"; | ||
import { IPerformanceMeasurement } from "./IPerformanceMeasurement"; | ||
import { PerformanceEvent } from "./PerformanceEvent.js"; | ||
import { IPerformanceMeasurement } from "./IPerformanceMeasurement.js"; | ||
@@ -10,0 +10,0 @@ export type PerformanceCallbackFunction = (events: PerformanceEvent[]) => void; |
@@ -6,4 +6,4 @@ /* | ||
import { ApplicationTelemetry } from "../../config/ClientConfiguration"; | ||
import { Logger } from "../../logger/Logger"; | ||
import { ApplicationTelemetry } from "../../config/ClientConfiguration.js"; | ||
import { Logger } from "../../logger/Logger.js"; | ||
import { | ||
@@ -14,3 +14,3 @@ InProgressPerformanceEvent, | ||
QueueMeasurement, | ||
} from "./IPerformanceClient"; | ||
} from "./IPerformanceClient.js"; | ||
import { | ||
@@ -24,9 +24,9 @@ IntFields, | ||
PerformanceEventStatus, | ||
} from "./PerformanceEvent"; | ||
import { IPerformanceMeasurement } from "./IPerformanceMeasurement"; | ||
import { StubPerformanceMeasurement } from "./StubPerformanceClient"; | ||
import { AuthError } from "../../error/AuthError"; | ||
import { CacheError } from "../../error/CacheError"; | ||
import { ServerError } from "../../error/ServerError"; | ||
import { InteractionRequiredAuthError } from "../../error/InteractionRequiredAuthError"; | ||
} from "./PerformanceEvent.js"; | ||
import { IPerformanceMeasurement } from "./IPerformanceMeasurement.js"; | ||
import { StubPerformanceMeasurement } from "./StubPerformanceClient.js"; | ||
import { AuthError } from "../../error/AuthError.js"; | ||
import { CacheError } from "../../error/CacheError.js"; | ||
import { ServerError } from "../../error/ServerError.js"; | ||
import { InteractionRequiredAuthError } from "../../error/InteractionRequiredAuthError.js"; | ||
@@ -33,0 +33,0 @@ export interface PreQueueEvent { |
@@ -9,5 +9,8 @@ /* | ||
InProgressPerformanceEvent, | ||
} from "./IPerformanceClient"; | ||
import { IPerformanceMeasurement } from "./IPerformanceMeasurement"; | ||
import { PerformanceEvent, PerformanceEventStatus } from "./PerformanceEvent"; | ||
} from "./IPerformanceClient.js"; | ||
import { IPerformanceMeasurement } from "./IPerformanceMeasurement.js"; | ||
import { | ||
PerformanceEvent, | ||
PerformanceEventStatus, | ||
} from "./PerformanceEvent.js"; | ||
@@ -14,0 +17,0 @@ export class StubPerformanceMeasurement implements IPerformanceMeasurement { |
@@ -13,8 +13,8 @@ /* | ||
RegionDiscoveryOutcomes, | ||
} from "../../utils/Constants"; | ||
import { CacheManager } from "../../cache/CacheManager"; | ||
import { AuthError } from "../../error/AuthError"; | ||
import { ServerTelemetryRequest } from "./ServerTelemetryRequest"; | ||
import { ServerTelemetryEntity } from "../../cache/entities/ServerTelemetryEntity"; | ||
import { RegionDiscoveryMetadata } from "../../authority/RegionDiscoveryMetadata"; | ||
} from "../../utils/Constants.js"; | ||
import { CacheManager } from "../../cache/CacheManager.js"; | ||
import { AuthError } from "../../error/AuthError.js"; | ||
import { ServerTelemetryRequest } from "./ServerTelemetryRequest.js"; | ||
import { ServerTelemetryEntity } from "../../cache/entities/ServerTelemetryEntity.js"; | ||
import { RegionDiscoveryMetadata } from "../../authority/RegionDiscoveryMetadata.js"; | ||
@@ -21,0 +21,0 @@ const skuGroupSeparator = ","; |
@@ -9,7 +9,7 @@ /* | ||
ClientConfigurationErrorCodes, | ||
} from "../error/ClientConfigurationError"; | ||
import { StringUtils } from "../utils/StringUtils"; | ||
import { IUri } from "./IUri"; | ||
import { AADAuthorityConstants, Constants } from "../utils/Constants"; | ||
import * as UrlUtils from "../utils/UrlUtils"; | ||
} from "../error/ClientConfigurationError.js"; | ||
import { StringUtils } from "../utils/StringUtils.js"; | ||
import { IUri } from "./IUri.js"; | ||
import { AADAuthorityConstants, Constants } from "../utils/Constants.js"; | ||
import * as UrlUtils from "../utils/UrlUtils.js"; | ||
@@ -16,0 +16,0 @@ /** |
@@ -9,3 +9,3 @@ /* | ||
ClientAssertionConfig, | ||
} from "../account/ClientCredentials"; | ||
} from "../account/ClientCredentials.js"; | ||
@@ -12,0 +12,0 @@ export async function getClientAssertion( |
@@ -6,4 +6,4 @@ /* | ||
import { Logger } from "../logger/Logger"; | ||
import { IPerformanceClient } from "../telemetry/performance/IPerformanceClient"; | ||
import { Logger } from "../logger/Logger.js"; | ||
import { IPerformanceClient } from "../telemetry/performance/IPerformanceClient.js"; | ||
@@ -10,0 +10,0 @@ /** |
@@ -6,8 +6,8 @@ /* | ||
import { Constants } from "./Constants"; | ||
import { ICrypto } from "../crypto/ICrypto"; | ||
import { Constants } from "./Constants.js"; | ||
import { ICrypto } from "../crypto/ICrypto.js"; | ||
import { | ||
ClientAuthErrorCodes, | ||
createClientAuthError, | ||
} from "../error/ClientAuthError"; | ||
} from "../error/ClientAuthError.js"; | ||
@@ -14,0 +14,0 @@ /** |
@@ -6,7 +6,7 @@ /* | ||
import { ServerAuthorizationCodeResponse } from "../response/ServerAuthorizationCodeResponse"; | ||
import { ServerAuthorizationCodeResponse } from "../response/ServerAuthorizationCodeResponse.js"; | ||
import { | ||
ClientAuthErrorCodes, | ||
createClientAuthError, | ||
} from "../error/ClientAuthError"; | ||
} from "../error/ClientAuthError.js"; | ||
@@ -13,0 +13,0 @@ /** |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2530534
743
44889
Yes
28