From e730017c9d1fb8275207dc48a84556f7be106632 Mon Sep 17 00:00:00 2001 From: Lalima Sharda Date: Tue, 26 May 2026 18:34:10 -0700 Subject: [PATCH 1/8] fixed ui_not_allowed type in NativeAuthError types --- .../broker/nativeBroker/NativeStatusCodes.ts | 2 +- lib/msal-browser/src/error/NativeAuthError.ts | 4 +- .../test/error/NativeAuthError.spec.ts | 6 +- lib/msal-common/apiReview/msal-common.api.md | 1247 +++++++++++++---- .../src/error/InteractionRequiredAuthError.ts | 4 +- .../InteractionRequiredAuthErrorCodes.ts | 2 +- .../InteractionRequiredAuthError.spec.ts | 2 +- 7 files changed, 965 insertions(+), 302 deletions(-) diff --git a/lib/msal-browser/src/broker/nativeBroker/NativeStatusCodes.ts b/lib/msal-browser/src/broker/nativeBroker/NativeStatusCodes.ts index 7c9601117d..4d90420b36 100644 --- a/lib/msal-browser/src/broker/nativeBroker/NativeStatusCodes.ts +++ b/lib/msal-browser/src/broker/nativeBroker/NativeStatusCodes.ts @@ -11,4 +11,4 @@ export const TRANSIENT_ERROR = "TRANSIENT_ERROR"; export const PERSISTENT_ERROR = "PERSISTENT_ERROR"; export const DISABLED = "DISABLED"; export const ACCOUNT_UNAVAILABLE = "ACCOUNT_UNAVAILABLE"; -export const UX_NOT_ALLOWED = "UX_NOT_ALLOWED"; +export const UI_NOT_ALLOWED = "UI_NOT_ALLOWED"; diff --git a/lib/msal-browser/src/error/NativeAuthError.ts b/lib/msal-browser/src/error/NativeAuthError.ts index bdeab1c52b..382e0d3a75 100644 --- a/lib/msal-browser/src/error/NativeAuthError.ts +++ b/lib/msal-browser/src/error/NativeAuthError.ts @@ -99,9 +99,9 @@ export function createNativeAuthError( return createBrowserAuthError( BrowserAuthErrorCodes.noNetworkConnectivity ); - case NativeStatusCodes.UX_NOT_ALLOWED: + case NativeStatusCodes.UI_NOT_ALLOWED: return createInteractionRequiredAuthError( - InteractionRequiredAuthErrorCodes.uxNotAllowed + InteractionRequiredAuthErrorCodes.uiNotAllowed ); } } diff --git a/lib/msal-browser/test/error/NativeAuthError.spec.ts b/lib/msal-browser/test/error/NativeAuthError.spec.ts index 6613e1628a..e13d902871 100644 --- a/lib/msal-browser/test/error/NativeAuthError.spec.ts +++ b/lib/msal-browser/test/error/NativeAuthError.spec.ts @@ -126,7 +126,7 @@ describe("NativeAuthError Unit Tests", () => { ); }); - it("translates UX_NOT_ALLOWED status into corresponding InteractionRequiredError", () => { + it("translates UI_NOT_ALLOWED status into corresponding InteractionRequiredError", () => { const error = createNativeAuthError( "interaction_required", "interaction is required", @@ -134,12 +134,12 @@ describe("NativeAuthError Unit Tests", () => { error: 1, protocol_error: "testProtocolError", properties: {}, - status: NativeStatusCode.UX_NOT_ALLOWED, + status: NativeStatusCode.UI_NOT_ALLOWED, } ); expect(error).toBeInstanceOf(InteractionRequiredAuthError); expect(error.errorCode).toBe( - InteractionRequiredAuthErrorCodes.uxNotAllowed + InteractionRequiredAuthErrorCodes.uiNotAllowed ); }); diff --git a/lib/msal-common/apiReview/msal-common.api.md b/lib/msal-common/apiReview/msal-common.api.md index 8d7cb25f56..0d49e576d2 100644 --- a/lib/msal-common/apiReview/msal-common.api.md +++ b/lib/msal-common/apiReview/msal-common.api.md @@ -3,7 +3,6 @@ > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/). ```ts - /// // Warning: (ae-missing-release-tag) "AAD_INSTANCE_DISCOVERY_ENDPT" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -90,10 +89,10 @@ declare namespace AADServerParamKeys { EAR_JWK, EAR_JWE_CRYPTO, RESOURCE, - CLI_DATA - } + CLI_DATA, + }; } -export { AADServerParamKeys } +export { AADServerParamKeys }; // Warning: (ae-missing-release-tag) "ACCESS_TOKEN" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // @@ -162,10 +161,10 @@ declare namespace AccountEntityUtils { createAccountEntity, createAccountEntityFromAccountInfo, generateHomeAccountId, - isAccountEntity - } + isAccountEntity, + }; } -export { AccountEntityUtils } +export { AccountEntityUtils }; // Warning: (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag // Warning: (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag @@ -174,7 +173,10 @@ export { AccountEntityUtils } // Warning: (ae-missing-release-tag) "AccountFilter" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public -export type AccountFilter = Omit, "idToken" | "idTokenClaims"> & { +export type AccountFilter = Omit< + Partial, + "idToken" | "idTokenClaims" +> & { realm?: string; loginHint?: string; sid?: string; @@ -195,7 +197,13 @@ export type AccountInfo = { upn?: string; idToken?: string; idTokenClaims?: TokenClaims & { - [key: string]: string | number | string[] | object | undefined | unknown; + [key: string]: + | string + | number + | string[] + | object + | undefined + | unknown; }; nativeAccountId?: string; authorityType?: string; @@ -216,24 +224,37 @@ export type ActiveAccountFilters = { // Warning: (ae-missing-release-tag) "addApplicationTelemetry" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public -function addApplicationTelemetry(parameters: Map, appTelemetry: ApplicationTelemetry): void; +function addApplicationTelemetry( + parameters: Map, + appTelemetry: ApplicationTelemetry +): void; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (ae-missing-release-tag) "addAuthorizationCode" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public -function addAuthorizationCode(parameters: Map, code: string): void; +function addAuthorizationCode( + parameters: Map, + code: string +): void; // Warning: (ae-missing-release-tag) "addBrokerParameters" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) -function addBrokerParameters(parameters: Map, brokerClientId: string, brokerRedirectUri: string): void; +function addBrokerParameters( + parameters: Map, + brokerClientId: string, + brokerRedirectUri: string +): void; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (ae-missing-release-tag) "addCcsOid" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public -function addCcsOid(parameters: Map, clientInfo: ClientInfo): void; +function addCcsOid( + parameters: Map, + clientInfo: ClientInfo +): void; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (ae-missing-release-tag) "addCcsUpn" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -244,7 +265,12 @@ function addCcsUpn(parameters: Map, loginHint: string): void; // Warning: (ae-missing-release-tag) "addClaims" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public -function addClaims(parameters: Map, claims?: string, clientCapabilities?: Array, skipBrokerClaims?: boolean): void; +function addClaims( + parameters: Map, + claims?: string, + clientCapabilities?: Array, + skipBrokerClaims?: boolean +): void; // Warning: (ae-missing-release-tag) "addCliData" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // @@ -255,18 +281,27 @@ function addCliData(parameters: Map): void; // Warning: (ae-missing-release-tag) "addClientAssertion" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public -function addClientAssertion(parameters: Map, clientAssertion: string): void; +function addClientAssertion( + parameters: Map, + clientAssertion: string +): void; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (ae-missing-release-tag) "addClientAssertionType" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public -function addClientAssertionType(parameters: Map, clientAssertionType: string): void; +function addClientAssertionType( + parameters: Map, + clientAssertionType: string +): void; // Warning: (ae-missing-release-tag) "addClientCapabilitiesToClaims" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) -function addClientCapabilitiesToClaims(claims?: string, clientCapabilities?: Array): string; +function addClientCapabilitiesToClaims( + claims?: string, + clientCapabilities?: Array +): string; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (ae-missing-release-tag) "addClientId" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -283,26 +318,39 @@ function addClientInfo(parameters: Map): void; // Warning: (ae-missing-release-tag) "addClientSecret" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public -function addClientSecret(parameters: Map, clientSecret: string): void; +function addClientSecret( + parameters: Map, + clientSecret: string +): void; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (ae-missing-release-tag) "addCodeChallengeParams" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public -function addCodeChallengeParams(parameters: Map, codeChallenge?: string, codeChallengeMethod?: string): void; +function addCodeChallengeParams( + parameters: Map, + codeChallenge?: string, + codeChallengeMethod?: string +): void; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (ae-missing-release-tag) "addCodeVerifier" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public -function addCodeVerifier(parameters: Map, codeVerifier: string): void; +function addCodeVerifier( + parameters: Map, + codeVerifier: string +): void; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (ae-missing-release-tag) "addCorrelationId" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public -function addCorrelationId(parameters: Map, correlationId: string): void; +function addCorrelationId( + parameters: Map, + correlationId: string +): void; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (ae-missing-release-tag) "addDeviceCode" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -314,7 +362,10 @@ function addDeviceCode(parameters: Map, code: string): void; // Warning: (ae-missing-release-tag) "addDomainHint" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public -function addDomainHint(parameters: Map, domainHint: string): void; +function addDomainHint( + parameters: Map, + domainHint: string +): void; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen @@ -326,7 +377,10 @@ function addEARParameters(parameters: Map, jwk: string): void; // Warning: (ae-missing-release-tag) "addExtraParameters" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public -function addExtraParameters(parameters: Map, extraParams: StringDict): void; +function addExtraParameters( + parameters: Map, + extraParams: StringDict +): void; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (ae-missing-release-tag) "addGrantType" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -338,7 +392,10 @@ function addGrantType(parameters: Map, grantType: string): void; // Warning: (ae-missing-release-tag) "addIdTokenHint" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public -function addIdTokenHint(parameters: Map, idTokenHint: string): void; +function addIdTokenHint( + parameters: Map, + idTokenHint: string +): void; // Warning: (ae-missing-release-tag) "addInstanceAware" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // @@ -350,7 +407,10 @@ function addInstanceAware(parameters: Map): void; // Warning: (ae-missing-release-tag) "addLibraryInfo" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public -function addLibraryInfo(parameters: Map, libraryInfo: LibraryInfo): void; +function addLibraryInfo( + parameters: Map, + libraryInfo: LibraryInfo +): void; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (ae-missing-release-tag) "addLoginHint" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -361,7 +421,10 @@ function addLoginHint(parameters: Map, loginHint: string): void; // Warning: (ae-missing-release-tag) "addLogoutHint" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public -function addLogoutHint(parameters: Map, logoutHint: string): void; +function addLogoutHint( + parameters: Map, + logoutHint: string +): void; // Warning: (ae-missing-release-tag) "addNativeBroker" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // @@ -378,7 +441,10 @@ function addNonce(parameters: Map, nonce: string): void; // Warning: (ae-missing-release-tag) "addOboAssertion" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public -function addOboAssertion(parameters: Map, oboAssertion: string): void; +function addOboAssertion( + parameters: Map, + oboAssertion: string +): void; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (ae-missing-release-tag) "addPassword" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -396,7 +462,10 @@ function addPopToken(parameters: Map, cnfString: string): void; // Warning: (ae-missing-release-tag) "addPostLogoutRedirectUri" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public -function addPostLogoutRedirectUri(parameters: Map, redirectUri: string): void; +function addPostLogoutRedirectUri( + parameters: Map, + redirectUri: string +): void; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (ae-missing-release-tag) "addPrompt" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -408,19 +477,28 @@ function addPrompt(parameters: Map, prompt: string): void; // Warning: (ae-missing-release-tag) "addRedirectUri" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public -function addRedirectUri(parameters: Map, redirectUri: string): void; +function addRedirectUri( + parameters: Map, + redirectUri: string +): void; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (ae-missing-release-tag) "addRefreshToken" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public -function addRefreshToken(parameters: Map, refreshToken: string): void; +function addRefreshToken( + parameters: Map, + refreshToken: string +): void; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (ae-missing-release-tag) "addRequestTokenUse" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public -function addRequestTokenUse(parameters: Map, tokenUse: string): void; +function addRequestTokenUse( + parameters: Map, + tokenUse: string +): void; // Warning: (ae-missing-release-tag) "addResource" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // @@ -432,21 +510,32 @@ function addResource(parameters: Map, resource?: string): void; // Warning: (ae-missing-release-tag) "addResponseMode" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public -function addResponseMode(parameters: Map, responseMode?: Constants_2.ResponseMode): void; +function addResponseMode( + parameters: Map, + responseMode?: Constants_2.ResponseMode +): void; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (ae-missing-release-tag) "addResponseType" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public -function addResponseType(parameters: Map, responseType: Constants_2.OAuthResponseType): void; +function addResponseType( + parameters: Map, + responseType: Constants_2.OAuthResponseType +): void; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (ae-missing-release-tag) "addScopes" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public -function addScopes(parameters: Map, scopes: string[], addOidcScopes?: boolean, defaultScopes?: Array): void; +function addScopes( + parameters: Map, + scopes: string[], + addOidcScopes?: boolean, + defaultScopes?: Array +): void; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (ae-incompatible-release-tags) The symbol "addServerTelemetry" is marked as @public, but its signature references "ServerTelemetryManager" which is marked as @internal @@ -454,7 +543,10 @@ function addScopes(parameters: Map, scopes: string[], addOidcSco // Warning: (ae-missing-release-tag) "addServerTelemetry" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public -function addServerTelemetry(parameters: Map, serverTelemetryManager: ServerTelemetryManager): void; +function addServerTelemetry( + parameters: Map, + serverTelemetryManager: ServerTelemetryManager +): void; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (ae-missing-release-tag) "addSid" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -592,7 +684,8 @@ const AuthenticationScheme: { }; // @public (undocumented) -type AuthenticationScheme = (typeof AuthenticationScheme)[keyof typeof AuthenticationScheme]; +type AuthenticationScheme = + (typeof AuthenticationScheme)[keyof typeof AuthenticationScheme]; // Warning: (ae-missing-release-tag) "AuthError" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // @@ -609,12 +702,9 @@ export class AuthError extends Error { } declare namespace AuthErrorCodes { - export { - unexpectedError, - postRequestFailed - } + export { unexpectedError, postRequestFailed }; } -export { AuthErrorCodes } +export { AuthErrorCodes }; // Warning: (ae-internal-missing-underscore) The name "AuthOptions" should be prefixed with an underscore because the declaration is marked as @internal // @@ -633,13 +723,26 @@ export type AuthOptions = { // // @internal export class Authority { - constructor(authority: string, networkInterface: INetworkModule, cacheManager: ICacheManager, authorityOptions: AuthorityOptions, logger: Logger, correlationId: string, performanceClient: IPerformanceClient, managedIdentity?: boolean); + constructor( + authority: string, + networkInterface: INetworkModule, + cacheManager: ICacheManager, + authorityOptions: AuthorityOptions, + logger: Logger, + correlationId: string, + performanceClient: IPerformanceClient, + managedIdentity?: boolean + ); // (undocumented) get authorityType(): AuthorityType; get authorizationEndpoint(): string; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen - static buildRegionalAuthorityString(host: string, region: string, queryString?: string): string; + static buildRegionalAuthorityString( + host: string, + region: string, + queryString?: string + ): string; // Warning: (ae-forgotten-export) The symbol "ICacheManager" needs to be exported by the entry point index.d.ts // // (undocumented) @@ -652,7 +755,9 @@ export class Authority { protected correlationId: string; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (ae-forgotten-export) The symbol "CloudDiscoveryMetadata" needs to be exported by the entry point index.d.ts - static createCloudDiscoveryMetadataFromHost(host: string): CloudDiscoveryMetadata; + static createCloudDiscoveryMetadataFromHost( + host: string + ): CloudDiscoveryMetadata; protected get defaultOpenIdConfigurationEndpoint(): string; // (undocumented) get deviceCodeEndpoint(): string; @@ -660,7 +765,10 @@ export class Authority { get endSessionEndpoint(): string; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen - static generateAuthority(authorityString: string, azureCloudOptions?: AzureCloudOptions): string; + static generateAuthority( + authorityString: string, + azureCloudOptions?: AzureCloudOptions + ): string; getPreferredCache(): string; get hostnameAndPort(): string; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen @@ -683,7 +791,10 @@ export class Authority { // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (ae-forgotten-export) The symbol "OpenIdConfigResponse" needs to be exported by the entry point index.d.ts - static replaceWithRegionalInformation(metadata: OpenIdConfigResponse, azureRegion: string): OpenIdConfigResponse; + static replaceWithRegionalInformation( + metadata: OpenIdConfigResponse, + azureRegion: string + ): OpenIdConfigResponse; resolveEndpointsAsync(): Promise; get selfSignedJwtAudience(): string; get tenant(): string; @@ -703,21 +814,21 @@ const AUTHORITY_METADATA_CACHE_KEY: string; const AUTHORITY_METADATA_REFRESH_TIME_SECONDS: number; declare namespace AuthorityFactory { - export { - createDiscoveredInstance - } + export { createDiscoveredInstance }; } -export { AuthorityFactory } +export { AuthorityFactory }; // Warning: (ae-missing-release-tag) "AuthorityGetCloudDiscoveryMetadataFromNetwork" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) -const AuthorityGetCloudDiscoveryMetadataFromNetwork = "authorityGetCloudDiscoveryMetadataFromNetwork"; +const AuthorityGetCloudDiscoveryMetadataFromNetwork = + "authorityGetCloudDiscoveryMetadataFromNetwork"; // Warning: (ae-missing-release-tag) "AuthorityGetEndpointMetadataFromNetwork" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) -const AuthorityGetEndpointMetadataFromNetwork = "authorityGetEndpointMetadataFromNetwork"; +const AuthorityGetEndpointMetadataFromNetwork = + "authorityGetEndpointMetadataFromNetwork"; // Warning: (ae-internal-missing-underscore) The name "AuthorityMetadataEntity" should be prefixed with an underscore because the declaration is marked as @internal // @@ -749,7 +860,8 @@ const AuthorityMetadataSource: { }; // @public (undocumented) -type AuthorityMetadataSource = (typeof AuthorityMetadataSource)[keyof typeof AuthorityMetadataSource]; +type AuthorityMetadataSource = + (typeof AuthorityMetadataSource)[keyof typeof AuthorityMetadataSource]; // Warning: (ae-missing-release-tag) "authorityMismatch" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // @@ -791,7 +903,8 @@ export type AuthorityType = (typeof AuthorityType)[keyof typeof AuthorityType]; // Warning: (ae-missing-release-tag) "AuthorityUpdateCloudDiscoveryMetadata" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) -const AuthorityUpdateCloudDiscoveryMetadata = "authorityUpdateCloudDiscoveryMetadata"; +const AuthorityUpdateCloudDiscoveryMetadata = + "authorityUpdateCloudDiscoveryMetadata"; // Warning: (ae-missing-release-tag) "AuthorityUpdateEndpointMetadata" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // @@ -801,7 +914,8 @@ const AuthorityUpdateEndpointMetadata = "authorityUpdateEndpointMetadata"; // Warning: (ae-missing-release-tag) "AuthorityUpdateMetadataWithRegionalInformation" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) -const AuthorityUpdateMetadataWithRegionalInformation = "authorityUpdateMetadataWithRegionalInformation"; +const AuthorityUpdateMetadataWithRegionalInformation = + "authorityUpdateMetadataWithRegionalInformation"; // Warning: (ae-missing-release-tag) "authorityUriInsecure" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // @@ -817,10 +931,17 @@ const AUTHORIZATION_PENDING = "authorization_pending"; // // @internal export class AuthorizationCodeClient { - constructor(configuration: ClientConfiguration, performanceClient: IPerformanceClient); + constructor( + configuration: ClientConfiguration, + performanceClient: IPerformanceClient + ); // Warning: (tsdoc-code-span-missing-delimiter) The code span is missing its closing backtick // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen - acquireToken(request: CommonAuthorizationCodeRequest, apiId: number, authCodePayload?: AuthorizationCodePayload): Promise; + acquireToken( + request: CommonAuthorizationCodeRequest, + apiId: number, + authCodePayload?: AuthorizationCodePayload + ): Promise; // (undocumented) authority: Authority; // (undocumented) @@ -846,12 +967,14 @@ export class AuthorizationCodeClient { // Warning: (ae-missing-release-tag) "AuthorizationCodeClientExecutePostToTokenEndpoint" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) -const AuthorizationCodeClientExecutePostToTokenEndpoint = "authorizationCodeClientExecutePostToTokenEndpoint"; +const AuthorizationCodeClientExecutePostToTokenEndpoint = + "authorizationCodeClientExecutePostToTokenEndpoint"; // Warning: (ae-missing-release-tag) "authorizationCodeMissingFromServerResponse" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) -const authorizationCodeMissingFromServerResponse = "authorization_code_missing_from_server_response"; +const authorizationCodeMissingFromServerResponse = + "authorization_code_missing_from_server_response"; // Warning: (ae-missing-release-tag) "AuthorizationCodePayload" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // @@ -872,8 +995,8 @@ declare namespace AuthorizeProtocol { getStandardAuthorizeRequestParameters, getAuthorizeUrl, getAuthorizationCodePayload, - validateAuthorizationResponse - } + validateAuthorizationResponse, + }; } // Warning: (ae-missing-release-tag) "AuthorizeResponse" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -906,14 +1029,9 @@ export type AuthorizeResponse = { const authTimeNotFound = "auth_time_not_found"; declare namespace AuthToken { - export { - extractTokenClaims, - isKmsi, - getJWSPayload, - checkMaxAge - } + export { extractTokenClaims, isKmsi, getJWSPayload, checkMaxAge }; } -export { AuthToken } +export { AuthToken }; // Warning: (ae-missing-release-tag) "AZURE_REGION_AUTO_DISCOVER_FLAG" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // @@ -934,7 +1052,8 @@ export const AzureCloudInstance: { }; // @public (undocumented) -export type AzureCloudInstance = (typeof AzureCloudInstance)[keyof typeof AzureCloudInstance]; +export type AzureCloudInstance = + (typeof AzureCloudInstance)[keyof typeof AzureCloudInstance]; // Warning: (ae-missing-release-tag) "AzureCloudOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // @@ -1010,37 +1129,65 @@ const BROKER_REDIRECT_URI = "brk_redirect_uri"; // Warning: (ae-missing-release-tag) "buildAccountToCache" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) -export function buildAccountToCache(cacheStorage: CacheManager, authority: Authority, homeAccountId: string, base64Decode: (input: string) => string, correlationId: string, idTokenClaims?: TokenClaims, clientInfo?: string, environment?: string, claimsTenantId?: string | null, authCodePayload?: AuthorizationCodePayload, nativeAccountId?: string, logger?: Logger, performanceClient?: IPerformanceClient): AccountEntity; +export function buildAccountToCache( + cacheStorage: CacheManager, + authority: Authority, + homeAccountId: string, + base64Decode: (input: string) => string, + correlationId: string, + idTokenClaims?: TokenClaims, + clientInfo?: string, + environment?: string, + claimsTenantId?: string | null, + authCodePayload?: AuthorizationCodePayload, + nativeAccountId?: string, + logger?: Logger, + performanceClient?: IPerformanceClient +): AccountEntity; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (ae-incompatible-release-tags) The symbol "buildClientConfiguration" is marked as @public, but its signature references "ClientConfiguration" which is marked as @internal // Warning: (ae-missing-release-tag) "buildClientConfiguration" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public -export function buildClientConfiguration(input: ClientConfiguration): CommonClientConfiguration; +export function buildClientConfiguration( + input: ClientConfiguration +): CommonClientConfiguration; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (ae-missing-release-tag) "buildClientInfo" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public -export function buildClientInfo(rawClientInfo: string, base64Decode: (input: string) => string): ClientInfo; +export function buildClientInfo( + rawClientInfo: string, + base64Decode: (input: string) => string +): ClientInfo; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (ae-missing-release-tag) "buildClientInfoFromHomeAccountId" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public -export function buildClientInfoFromHomeAccountId(homeAccountId: string): ClientInfo; +export function buildClientInfoFromHomeAccountId( + homeAccountId: string +): ClientInfo; // Warning: (ae-missing-release-tag) "buildStaticAuthorityOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) -export function buildStaticAuthorityOptions(authOptions: Partial): StaticAuthorityOptions; +export function buildStaticAuthorityOptions( + authOptions: Partial +): StaticAuthorityOptions; // Warning: (ae-missing-release-tag) "buildTenantProfile" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public -export function buildTenantProfile(homeAccountId: string, localAccountId: string, tenantId: string, idTokenClaims?: TokenClaims): TenantProfile; +export function buildTenantProfile( + homeAccountId: string, + localAccountId: string, + tenantId: string, + idTokenClaims?: TokenClaims +): TenantProfile; // Warning: (ae-missing-release-tag) "CACHE_ACCOUNT_TYPE_ADFS" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // @@ -1077,12 +1224,9 @@ export class CacheError extends Error { } declare namespace CacheErrorCodes { - export { - cacheQuotaExceeded, - cacheErrorUnknown - } + export { cacheQuotaExceeded, cacheErrorUnknown }; } -export { CacheErrorCodes } +export { CacheErrorCodes }; // Warning: (ae-missing-release-tag) "cacheErrorUnknown" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // @@ -1106,26 +1250,40 @@ declare namespace CacheHelpers { generateAuthorityMetadataExpiresAt, updateAuthorityEndpointMetadata, updateCloudDiscoveryMetadata, - isAuthorityMetadataExpired - } + isAuthorityMetadataExpired, + }; } -export { CacheHelpers } +export { CacheHelpers }; // Warning: (ae-internal-missing-underscore) The name "CacheManager" should be prefixed with an underscore because the declaration is marked as @internal // // @internal export abstract class CacheManager implements ICacheManager { - constructor(clientId: string, cryptoImpl: ICrypto, logger: Logger, performanceClient: IPerformanceClient, staticAuthorityOptions?: StaticAuthorityOptions); + constructor( + clientId: string, + cryptoImpl: ICrypto, + logger: Logger, + performanceClient: IPerformanceClient, + staticAuthorityOptions?: StaticAuthorityOptions + ); // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen - accessTokenKeyMatchesFilter(inputKey: string, filter: CredentialFilter, keyMustContainAllScopes: boolean): boolean; + accessTokenKeyMatchesFilter( + inputKey: string, + filter: CredentialFilter, + keyMustContainAllScopes: boolean + ): boolean; // (undocumented) protected clientId: string; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen - credentialMatchesFilter(entity: ValidCredentialType, filter: CredentialFilter, correlationId: string): boolean; + credentialMatchesFilter( + entity: ValidCredentialType, + filter: CredentialFilter, + correlationId: string + ): boolean; // (undocumented) protected cryptoImpl: ICrypto; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen @@ -1141,34 +1299,72 @@ export abstract class CacheManager implements ICacheManager { // Warning: (tsdoc-param-tag-with-invalid-type) The @param block should not include a JSDoc-style '{type}' // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (tsdoc-param-tag-with-invalid-type) The @param block should not include a JSDoc-style '{type}' - getAccessToken(account: AccountInfo, request: BaseAuthRequest, tokenKeys?: TokenKeys, targetRealm?: string): AccessTokenEntity | null; - // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen - abstract getAccessTokenCredential(accessTokenKey: string, correlationId: string): AccessTokenEntity | null; - // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen - getAccessTokensByFilter(filter: CredentialFilter, correlationId: string): AccessTokenEntity[]; - // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen - abstract getAccount(accountKey: string, correlationId: string): AccountEntity | null; - getAccountInfoFilteredBy(accountFilter: AccountFilter, correlationId: string): AccountInfo | null; + getAccessToken( + account: AccountInfo, + request: BaseAuthRequest, + tokenKeys?: TokenKeys, + targetRealm?: string + ): AccessTokenEntity | null; + // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen + abstract getAccessTokenCredential( + accessTokenKey: string, + correlationId: string + ): AccessTokenEntity | null; + // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen + getAccessTokensByFilter( + filter: CredentialFilter, + correlationId: string + ): AccessTokenEntity[]; + // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen + abstract getAccount( + accountKey: string, + correlationId: string + ): AccountEntity | null; + getAccountInfoFilteredBy( + accountFilter: AccountFilter, + correlationId: string + ): AccountInfo | null; abstract getAccountKeys(): string[]; - getAccountsFilteredBy(accountFilter: AccountFilter, correlationId: string): AccountEntity[]; - getAllAccounts(accountFilter: AccountFilter | undefined, correlationId: string): AccountInfo[]; + getAccountsFilteredBy( + accountFilter: AccountFilter, + correlationId: string + ): AccountEntity[]; + getAllAccounts( + accountFilter: AccountFilter | undefined, + correlationId: string + ): AccountInfo[]; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen - abstract getAppMetadata(appMetadataKey: string, correlationId: string): AppMetadataEntity | null; + abstract getAppMetadata( + appMetadataKey: string, + correlationId: string + ): AppMetadataEntity | null; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (ae-forgotten-export) The symbol "AppMetadataFilter" needs to be exported by the entry point index.d.ts - getAppMetadataFilteredBy(filter: AppMetadataFilter, correlationId: string): AppMetadataCache; + getAppMetadataFilteredBy( + filter: AppMetadataFilter, + correlationId: string + ): AppMetadataCache; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen - abstract getAuthorityMetadata(key: string, correlationId: string): AuthorityMetadataEntity | null; + abstract getAuthorityMetadata( + key: string, + correlationId: string + ): AuthorityMetadataEntity | null; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen - getAuthorityMetadataByAlias(host: string, correlationId: string): AuthorityMetadataEntity | null; + getAuthorityMetadataByAlias( + host: string, + correlationId: string + ): AuthorityMetadataEntity | null; // (undocumented) abstract getAuthorityMetadataKeys(): Array; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen - getBaseAccountInfo(accountFilter: AccountFilter, correlationId: string): AccountInfo | null; + getBaseAccountInfo( + accountFilter: AccountFilter, + correlationId: string + ): AccountInfo | null; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (tsdoc-param-tag-with-invalid-type) The @param block should not include a JSDoc-style '{type}' // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen @@ -1179,11 +1375,23 @@ export abstract class CacheManager implements ICacheManager { // Warning: (tsdoc-param-tag-with-invalid-type) The @param block should not include a JSDoc-style '{type}' // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (tsdoc-param-tag-with-invalid-type) The @param block should not include a JSDoc-style '{type}' - getIdToken(account: AccountInfo, correlationId: string, tokenKeys?: TokenKeys, targetRealm?: string): IdTokenEntity | null; - // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen - abstract getIdTokenCredential(idTokenKey: string, correlationId: string): IdTokenEntity | null; - // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen - getIdTokensByFilter(filter: CredentialFilter, correlationId: string, tokenKeys?: TokenKeys): Map; + getIdToken( + account: AccountInfo, + correlationId: string, + tokenKeys?: TokenKeys, + targetRealm?: string + ): IdTokenEntity | null; + // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen + abstract getIdTokenCredential( + idTokenKey: string, + correlationId: string + ): IdTokenEntity | null; + // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen + getIdTokensByFilter( + filter: CredentialFilter, + correlationId: string, + tokenKeys?: TokenKeys + ): Map; abstract getKeys(): string[]; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (tsdoc-param-tag-with-invalid-type) The @param block should not include a JSDoc-style '{type}' @@ -1195,19 +1403,36 @@ export abstract class CacheManager implements ICacheManager { // Warning: (tsdoc-param-tag-with-invalid-type) The @param block should not include a JSDoc-style '{type}' // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (tsdoc-param-tag-with-invalid-type) The @param block should not include a JSDoc-style '{type}' - getRefreshToken(account: AccountInfo, familyRT: boolean, correlationId: string, tokenKeys?: TokenKeys): RefreshTokenEntity | null; + getRefreshToken( + account: AccountInfo, + familyRT: boolean, + correlationId: string, + tokenKeys?: TokenKeys + ): RefreshTokenEntity | null; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen - abstract getRefreshTokenCredential(refreshTokenKey: string, correlationId: string): RefreshTokenEntity | null; + abstract getRefreshTokenCredential( + refreshTokenKey: string, + correlationId: string + ): RefreshTokenEntity | null; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen - abstract getServerTelemetry(serverTelemetryKey: string, correlationId: string): ServerTelemetryEntity | null; + abstract getServerTelemetry( + serverTelemetryKey: string, + correlationId: string + ): ServerTelemetryEntity | null; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen - abstract getThrottlingCache(throttlingCacheKey: string, correlationId: string): ThrottlingEntity | null; + abstract getThrottlingCache( + throttlingCacheKey: string, + correlationId: string + ): ThrottlingEntity | null; abstract getTokenKeys(): TokenKeys; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen - idTokenKeyMatchesFilter(inputKey: string, filter: CredentialFilter): boolean; + idTokenKeyMatchesFilter( + inputKey: string, + filter: CredentialFilter + ): boolean; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen isAppMetadataFOCI(environment: string, correlationId: string): boolean; @@ -1215,10 +1440,16 @@ export abstract class CacheManager implements ICacheManager { protected isAuthorityMetadata(key: string): boolean; // (undocumented) protected performanceClient: IPerformanceClient; - readAppMetadataFromCache(environment: string, correlationId: string): AppMetadataEntity | null; + readAppMetadataFromCache( + environment: string, + correlationId: string + ): AppMetadataEntity | null; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen - refreshTokenKeyMatchesFilter(inputKey: string, filter: CredentialFilter): boolean; + refreshTokenKeyMatchesFilter( + inputKey: string, + filter: CredentialFilter + ): boolean; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen removeAccessToken(key: string, correlationId: string): void; @@ -1240,32 +1471,70 @@ export abstract class CacheManager implements ICacheManager { // Warning: (tsdoc-param-tag-with-invalid-type) The @param block should not include a JSDoc-style '{type}' // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (tsdoc-param-tag-with-invalid-type) The @param block should not include a JSDoc-style '{type}' - saveCacheRecord(cacheRecord: CacheRecord, correlationId: string, kmsi: boolean, apiId: number, storeInCache?: StoreInCache): Promise; + saveCacheRecord( + cacheRecord: CacheRecord, + correlationId: string, + kmsi: boolean, + apiId: number, + storeInCache?: StoreInCache + ): Promise; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen - abstract setAccessTokenCredential(accessToken: AccessTokenEntity, correlationId: string, kmsi: boolean): Promise; + abstract setAccessTokenCredential( + accessToken: AccessTokenEntity, + correlationId: string, + kmsi: boolean + ): Promise; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen - abstract setAccount(account: AccountEntity, correlationId: string, kmsi: boolean, apiId: number): Promise; + abstract setAccount( + account: AccountEntity, + correlationId: string, + kmsi: boolean, + apiId: number + ): Promise; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen - abstract setAppMetadata(appMetadata: AppMetadataEntity, correlationId: string): void; + abstract setAppMetadata( + appMetadata: AppMetadataEntity, + correlationId: string + ): void; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen - abstract setAuthorityMetadata(key: string, value: AuthorityMetadataEntity, correlationId: string): void; + abstract setAuthorityMetadata( + key: string, + value: AuthorityMetadataEntity, + correlationId: string + ): void; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen - abstract setIdTokenCredential(idToken: IdTokenEntity, correlationId: string, kmsi: boolean): Promise; + abstract setIdTokenCredential( + idToken: IdTokenEntity, + correlationId: string, + kmsi: boolean + ): Promise; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen - abstract setRefreshTokenCredential(refreshToken: RefreshTokenEntity, correlationId: string, kmsi: boolean): Promise; + abstract setRefreshTokenCredential( + refreshToken: RefreshTokenEntity, + correlationId: string, + kmsi: boolean + ): Promise; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen - abstract setServerTelemetry(serverTelemetryKey: string, serverTelemetry: ServerTelemetryEntity, correlationId: string): void; + abstract setServerTelemetry( + serverTelemetryKey: string, + serverTelemetry: ServerTelemetryEntity, + correlationId: string + ): void; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen - abstract setThrottlingCache(throttlingCacheKey: string, throttlingCache: ThrottlingEntity, correlationId: string): void; + abstract setThrottlingCache( + throttlingCacheKey: string, + throttlingCache: ThrottlingEntity, + correlationId: string + ): void; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen static toObject(obj: T, json: object): T; @@ -1369,7 +1638,8 @@ export const CcsCredentialType: { }; // @public (undocumented) -export type CcsCredentialType = (typeof CcsCredentialType)[keyof typeof CcsCredentialType]; +export type CcsCredentialType = + (typeof CcsCredentialType)[keyof typeof CcsCredentialType]; // Warning: (ae-missing-release-tag) "checkMaxAge" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // @@ -1396,7 +1666,8 @@ const ClaimsRequestKeys: { }; // @public (undocumented) -type ClaimsRequestKeys = (typeof ClaimsRequestKeys)[keyof typeof ClaimsRequestKeys]; +type ClaimsRequestKeys = + (typeof ClaimsRequestKeys)[keyof typeof ClaimsRequestKeys]; // Warning: (ae-missing-release-tag) "claimsRequestParsingError" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // @@ -1464,7 +1735,9 @@ export type ClientAssertion = { // Warning: (ae-missing-release-tag) "ClientAssertionCallback" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) -export type ClientAssertionCallback = (config: ClientAssertionConfig) => Promise; +export type ClientAssertionCallback = ( + config: ClientAssertionConfig +) => Promise; // Warning: (ae-missing-release-tag) "ClientAssertionConfig" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // @@ -1475,11 +1748,9 @@ export type ClientAssertionConfig = { }; declare namespace ClientAssertionUtils { - export { - getClientAssertion - } + export { getClientAssertion }; } -export { ClientAssertionUtils } +export { ClientAssertionUtils }; // Warning: (ae-missing-release-tag) "ClientAuthError" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // @@ -1528,10 +1799,10 @@ declare namespace ClientAuthErrorCodes { nestedAppAuthBridgeDisabled, platformBrokerError, resourceParameterRequired, - misplacedResourceParam - } + misplacedResourceParam, + }; } -export { ClientAuthErrorCodes } +export { ClientAuthErrorCodes }; // Warning: (ae-internal-missing-underscore) The name "ClientConfiguration" should be prefixed with an underscore because the declaration is marked as @internal // @@ -1583,10 +1854,10 @@ declare namespace ClientConfigurationErrorCodes { authorityMismatch, invalidRequestMethodForEAR, invalidPlatformBrokerConfiguration, - issuerValidationFailed - } + issuerValidationFailed, + }; } -export { ClientConfigurationErrorCodes } +export { ClientConfigurationErrorCodes }; // Warning: (ae-missing-release-tag) "ClientInfo" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // @@ -1827,8 +2098,8 @@ declare namespace Constants { JsonWebTokenTypes, ONE_DAY_IN_MS, DEFAULT_TOKEN_RENEWAL_OFFSET_SEC, - EncodingTypes - } + EncodingTypes, + }; } // Warning: (ae-missing-release-tag) "CONSUMER_UTID" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -1847,7 +2118,21 @@ const CONSUMER_UTID = "9188040d-6c67-4c5b-b112-36a304b66dad"; // Warning: (ae-missing-release-tag) "createAccessTokenEntity" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public -function createAccessTokenEntity(homeAccountId: string, environment: string, accessToken: string, clientId: string, tenantId: string, scopes: string, expiresOn: number, extExpiresOn: number, base64Decode: (input: string) => string, refreshOn?: number, tokenType?: Constants_2.AuthenticationScheme, userAssertionHash?: string, keyId?: string): AccessTokenEntity; +function createAccessTokenEntity( + homeAccountId: string, + environment: string, + accessToken: string, + clientId: string, + tenantId: string, + scopes: string, + expiresOn: number, + extExpiresOn: number, + base64Decode: (input: string) => string, + refreshOn?: number, + tokenType?: Constants_2.AuthenticationScheme, + userAssertionHash?: string, + keyId?: string +): AccessTokenEntity; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (ae-incompatible-release-tags) The symbol "createAccountEntity" is marked as @public, but its signature references "Authority" which is marked as @internal @@ -1857,16 +2142,20 @@ function createAccessTokenEntity(homeAccountId: string, environment: string, acc // Warning: (ae-missing-release-tag) "createAccountEntity" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public -function createAccountEntity(accountDetails: { - homeAccountId: string; - idTokenClaims?: TokenClaims; - clientInfo?: string; - cloudGraphHostName?: string; - msGraphHost?: string; - environment?: string; - nativeAccountId?: string; - tenantProfiles?: Array; -}, authority: Authority, base64Decode?: (input: string) => string): AccountEntity; +function createAccountEntity( + accountDetails: { + homeAccountId: string; + idTokenClaims?: TokenClaims; + clientInfo?: string; + cloudGraphHostName?: string; + msGraphHost?: string; + environment?: string; + nativeAccountId?: string; + tenantProfiles?: Array; + }, + authority: Authority, + base64Decode?: (input: string) => string +): AccountEntity; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen @@ -1876,12 +2165,19 @@ function createAccountEntity(accountDetails: { // Warning: (ae-missing-release-tag) "createAccountEntityFromAccountInfo" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public -function createAccountEntityFromAccountInfo(accountInfo: AccountInfo, cloudGraphHostName?: string, msGraphHost?: string): AccountEntity; +function createAccountEntityFromAccountInfo( + accountInfo: AccountInfo, + cloudGraphHostName?: string, + msGraphHost?: string +): AccountEntity; // Warning: (ae-missing-release-tag) "createAuthError" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) -export function createAuthError(code: string, additionalMessage?: string): AuthError; +export function createAuthError( + code: string, + additionalMessage?: string +): AuthError; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (ae-missing-release-tag) "createCacheError" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -1892,12 +2188,17 @@ export function createCacheError(e: unknown): CacheError; // Warning: (ae-missing-release-tag) "createClientAuthError" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) -export function createClientAuthError(errorCode: string, additionalMessage?: string): ClientAuthError; +export function createClientAuthError( + errorCode: string, + additionalMessage?: string +): ClientAuthError; // Warning: (ae-missing-release-tag) "createClientConfigurationError" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) -export function createClientConfigurationError(errorCode: string): ClientConfigurationError; +export function createClientConfigurationError( + errorCode: string +): ClientConfigurationError; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen @@ -1908,7 +2209,15 @@ export function createClientConfigurationError(errorCode: string): ClientConfigu // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // // @internal -function createDiscoveredInstance(authorityUri: string, networkClient: INetworkModule, cacheManager: ICacheManager, authorityOptions: AuthorityOptions, logger: Logger, correlationId: string, performanceClient: IPerformanceClient): Promise; +function createDiscoveredInstance( + authorityUri: string, + networkClient: INetworkModule, + cacheManager: ICacheManager, + authorityOptions: AuthorityOptions, + logger: Logger, + correlationId: string, + performanceClient: IPerformanceClient +): Promise; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen @@ -1917,17 +2226,31 @@ function createDiscoveredInstance(authorityUri: string, networkClient: INetworkM // Warning: (ae-missing-release-tag) "createIdTokenEntity" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public -function createIdTokenEntity(homeAccountId: string, environment: string, idToken: string, clientId: string, tenantId: string): IdTokenEntity; +function createIdTokenEntity( + homeAccountId: string, + environment: string, + idToken: string, + clientId: string, + tenantId: string +): IdTokenEntity; // Warning: (ae-missing-release-tag) "createInteractionRequiredAuthError" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public -export function createInteractionRequiredAuthError(errorCode: string, errorMessage?: string): InteractionRequiredAuthError; +export function createInteractionRequiredAuthError( + errorCode: string, + errorMessage?: string +): InteractionRequiredAuthError; // Warning: (ae-missing-release-tag) "createNetworkError" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public -export function createNetworkError(error: AuthError, httpStatus?: number, responseHeaders?: Record, additionalError?: Error): NetworkError; +export function createNetworkError( + error: AuthError, + httpStatus?: number, + responseHeaders?: Record, + additionalError?: Error +): NetworkError; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen @@ -1936,18 +2259,35 @@ export function createNetworkError(error: AuthError, httpStatus?: number, respon // Warning: (ae-missing-release-tag) "createRefreshTokenEntity" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public -function createRefreshTokenEntity(homeAccountId: string, environment: string, refreshToken: string, clientId: string, familyId?: string, userAssertionHash?: string, expiresOn?: number): RefreshTokenEntity; +function createRefreshTokenEntity( + homeAccountId: string, + environment: string, + refreshToken: string, + clientId: string, + familyId?: string, + userAssertionHash?: string, + expiresOn?: number +): RefreshTokenEntity; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (ae-missing-release-tag) "createTokenQueryParameters" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public -function createTokenQueryParameters(request: BaseAuthRequest, clientId: string, redirectUri: string, performanceClient: IPerformanceClient): string; +function createTokenQueryParameters( + request: BaseAuthRequest, + clientId: string, + redirectUri: string, + performanceClient: IPerformanceClient +): string; // Warning: (ae-missing-release-tag) "createTokenRequestHeaders" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public -function createTokenRequestHeaders(logger: Logger, preventCorsPreflight: boolean, ccsCred?: CcsCredential): Record; +function createTokenRequestHeaders( + logger: Logger, + preventCorsPreflight: boolean, + ccsCred?: CcsCredential +): Record; // Warning: (ae-missing-release-tag) "CredentialEntity" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // @@ -2186,7 +2526,10 @@ const endSessionEndpointNotSupported = "end_session_endpoint_not_supported"; // Warning: (ae-missing-release-tag) "enforceResourceParameter" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public -export function enforceResourceParameter(isMcp: boolean, request: Partial): void; +export function enforceResourceParameter( + isMcp: boolean, + request: Partial +): void; // Warning: (ae-missing-release-tag) "ERROR" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // @@ -2209,7 +2552,18 @@ const ERROR_DESCRIPTION = "error_description"; // Warning: (ae-missing-release-tag) "executePostToTokenEndpoint" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public -function executePostToTokenEndpoint(tokenEndpoint: string, queryString: string, headers: Record, thumbprint: RequestThumbprint, correlationId: string, cacheManager: CacheManager, networkClient: INetworkModule, logger: Logger, performanceClient: IPerformanceClient, serverTelemetryManager: ServerTelemetryManager | null): Promise>; +function executePostToTokenEndpoint( + tokenEndpoint: string, + queryString: string, + headers: Record, + thumbprint: RequestThumbprint, + correlationId: string, + cacheManager: CacheManager, + networkClient: INetworkModule, + logger: Logger, + performanceClient: IPerformanceClient, + serverTelemetryManager: ServerTelemetryManager | null +): Promise>; // Warning: (ae-missing-release-tag) "EXPIRES_IN" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // @@ -2219,7 +2573,17 @@ const EXPIRES_IN = "expires_in"; // Warning: (ae-missing-release-tag) "ExternalTokenResponse" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public -export type ExternalTokenResponse = Pick & { +export type ExternalTokenResponse = Pick< + ServerAuthorizationTokenResponse, + | "token_type" + | "scope" + | "expires_in" + | "ext_expires_in" + | "id_token" + | "refresh_token" + | "refresh_token_expires_in" + | "foci" +> & { access_token?: string; client_info?: string; }; @@ -2228,7 +2592,10 @@ export type ExternalTokenResponse = Pick string): TokenClaims; +function extractTokenClaims( + encodedToken: string, + base64Decode: (input: string) => string +): TokenClaims; // Warning: (ae-missing-release-tag) "FOCI" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // @@ -2271,14 +2638,24 @@ function generateAuthorityMetadataExpiresAt(): number; // Warning: (ae-missing-release-tag) "generateHomeAccountId" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public -function generateHomeAccountId(serverClientInfo: string, authType: AuthorityType, logger: Logger, cryptoObj: ICrypto, correlationId: string, idTokenClaims?: TokenClaims): string; +function generateHomeAccountId( + serverClientInfo: string, + authType: AuthorityType, + logger: Logger, + cryptoObj: ICrypto, + correlationId: string, + idTokenClaims?: TokenClaims +): string; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (ae-missing-release-tag) "generateLibraryState" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public -function generateLibraryState(cryptoObj: ICrypto, meta?: Record): string; +function generateLibraryState( + cryptoObj: ICrypto, + meta?: Record +): string; // Warning: (ae-incompatible-release-tags) The symbol "getAccountInfo" is marked as @public, but its signature references "AccountEntity" which is marked as @internal // Warning: (ae-incompatible-release-tags) The symbol "getAccountInfo" is marked as @public, but its signature references "AccountEntity" which is marked as @internal @@ -2297,7 +2674,10 @@ const GetAuthCodeUrl = "getAuthCodeUrl"; // Warning: (ae-missing-release-tag) "getAuthorizationCodePayload" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public -function getAuthorizationCodePayload(serverParams: AuthorizeResponse, cachedState: string): AuthorizationCodePayload; +function getAuthorizationCodePayload( + serverParams: AuthorizeResponse, + cachedState: string +): AuthorizationCodePayload; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen @@ -2306,17 +2686,26 @@ function getAuthorizationCodePayload(serverParams: AuthorizeResponse, cachedStat // Warning: (ae-missing-release-tag) "getAuthorizeUrl" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public -function getAuthorizeUrl(authority: Authority, requestParameters: Map): string; +function getAuthorizeUrl( + authority: Authority, + requestParameters: Map +): string; // Warning: (ae-missing-release-tag) "getClientAssertion" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) -export function getClientAssertion(clientAssertion: string | ClientAssertionCallback, clientId: string, tokenEndpoint?: string): Promise; +export function getClientAssertion( + clientAssertion: string | ClientAssertionCallback, + clientId: string, + tokenEndpoint?: string +): Promise; // Warning: (ae-missing-release-tag) "getDeserializedResponse" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public -function getDeserializedResponse(responseString: string): AuthorizeResponse | null; +function getDeserializedResponse( + responseString: string +): AuthorizeResponse | null; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (ae-missing-release-tag) "getJWSPayload" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -2327,7 +2716,11 @@ function getJWSPayload(authToken: string): string; // Warning: (ae-missing-release-tag) "getRequestThumbprint" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) -export function getRequestThumbprint(clientId: string, request: BaseAuthRequest, homeAccountId?: string): RequestThumbprint; +export function getRequestThumbprint( + clientId: string, + request: BaseAuthRequest, + homeAccountId?: string +): RequestThumbprint; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen @@ -2338,13 +2731,20 @@ export function getRequestThumbprint(clientId: string, request: BaseAuthRequest, // Warning: (ae-missing-release-tag) "getStandardAuthorizeRequestParameters" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public -function getStandardAuthorizeRequestParameters(authOptions: AuthOptions, request: CommonAuthorizationUrlRequest, logger: Logger, performanceClient?: IPerformanceClient): Map; +function getStandardAuthorizeRequestParameters( + authOptions: AuthOptions, + request: CommonAuthorizationUrlRequest, + logger: Logger, + performanceClient?: IPerformanceClient +): Map; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (ae-missing-release-tag) "getTenantIdFromIdTokenClaims" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public -export function getTenantIdFromIdTokenClaims(idTokenClaims?: TokenClaims): string | null; +export function getTenantIdFromIdTokenClaims( + idTokenClaims?: TokenClaims +): string | null; // Warning: (ae-missing-release-tag) "GRANT_TYPE" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // @@ -2513,7 +2913,9 @@ type HttpMethod = (typeof HttpMethod)[keyof typeof HttpMethod]; // @public export interface IAppTokenProvider { // (undocumented) - (appTokenProviderParameters: AppTokenProviderParameters): Promise; + ( + appTokenProviderParameters: AppTokenProviderParameters + ): Promise; } // Warning: (ae-missing-release-tag) "ICachePlugin" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -2541,14 +2943,21 @@ export interface ICrypto { // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen encodeKid(inputKid: string): string; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen - getPublicKeyThumbprint(request: SignedHttpRequestParameters): Promise; + getPublicKeyThumbprint( + request: SignedHttpRequestParameters + ): Promise; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen hashString(plainText: string): Promise; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen removeTokenBindingKey(kid: string, correlationId: string): Promise; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen - signJwt(payload: SignedHttpRequest, kid: string, shrOptions?: ShrOptions, correlationId?: string): Promise; + signJwt( + payload: SignedHttpRequest, + kid: string, + shrOptions?: ShrOptions, + correlationId?: string + ): Promise; } // Warning: (ae-missing-release-tag) "ID_TOKEN" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -2594,7 +3003,8 @@ export interface ILoggerCallback { // Warning: (ae-missing-release-tag) "IMDS_ENDPOINT" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) -const IMDS_ENDPOINT = "http://169.254.169.254/metadata/instance/compute/location"; +const IMDS_ENDPOINT = + "http://169.254.169.254/metadata/instance/compute/location"; // Warning: (ae-missing-release-tag) "IMDS_TIMEOUT" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // @@ -2611,13 +3021,22 @@ const IMDS_VERSION = "2020-06-01"; // @public (undocumented) export interface INativeBrokerPlugin { // (undocumented) - acquireTokenInteractive(request: NativeRequest, windowHandle?: Buffer): Promise; + acquireTokenInteractive( + request: NativeRequest, + windowHandle?: Buffer + ): Promise; // (undocumented) acquireTokenSilent(request: NativeRequest): Promise; // (undocumented) - getAccountById(accountId: string, correlationId: string): Promise; + getAccountById( + accountId: string, + correlationId: string + ): Promise; // (undocumented) - getAllAccounts(clientId: string, correlationId: string): Promise; + getAllAccounts( + clientId: string, + correlationId: string + ): Promise; // (undocumented) isBrokerAvailable: boolean; // (undocumented) @@ -2633,23 +3052,30 @@ export interface INativeBrokerPlugin { export interface INetworkModule { // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen - sendGetRequestAsync(url: string, options?: NetworkRequestOptions, timeout?: number): Promise>; + sendGetRequestAsync( + url: string, + options?: NetworkRequestOptions, + timeout?: number + ): Promise>; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen - sendPostRequestAsync(url: string, options?: NetworkRequestOptions): Promise>; + sendPostRequestAsync( + url: string, + options?: NetworkRequestOptions + ): Promise>; } // Warning: (ae-missing-release-tag) "InProgressPerformanceEvent" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) export type InProgressPerformanceEvent = { - end: (event?: Partial, error?: unknown, account?: AccountInfo) => PerformanceEvent | null; + end: ( + event?: Partial, + error?: unknown, + account?: AccountInfo + ) => PerformanceEvent | null; discard: () => void; - add: (fields: { - [key: string]: {} | undefined; - }) => void; - increment: (fields: { - [key: string]: number | undefined; - }) => void; + add: (fields: { [key: string]: {} | undefined }) => void; + increment: (fields: { [key: string]: number | undefined }) => void; event: PerformanceEvent; }; @@ -2661,7 +3087,11 @@ const INSTANCE_AWARE = "instance_aware"; // Warning: (ae-missing-release-tag) "instrumentBrokerParams" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) -function instrumentBrokerParams(parameters: Map, correlationId?: string, performanceClient?: IPerformanceClient): void; +function instrumentBrokerParams( + parameters: Map, + correlationId?: string, + performanceClient?: IPerformanceClient +): void; // @public const interactionRequired = "interaction_required"; @@ -2670,7 +3100,16 @@ const interactionRequired = "interaction_required"; // // @public export class InteractionRequiredAuthError extends AuthError { - constructor(errorCode?: string, errorMessage?: string, subError?: string, timestamp?: string, traceId?: string, correlationId?: string, claims?: string, errorNo?: string); + constructor( + errorCode?: string, + errorMessage?: string, + subError?: string, + timestamp?: string, + traceId?: string, + correlationId?: string, + claims?: string, + errorNo?: string + ); claims: string; readonly errorNo?: string; timestamp: string; @@ -2682,15 +3121,15 @@ declare namespace InteractionRequiredAuthErrorCodes { noTokensFound, nativeAccountUnavailable, refreshTokenExpired, - uxNotAllowed, + uiNotAllowed, interactionRequired, consentRequired, loginRequired, badToken, - interruptedUser - } + interruptedUser, + }; } -export { InteractionRequiredAuthErrorCodes } +export { InteractionRequiredAuthErrorCodes }; // @public const interruptedUser = "interrupted_user"; @@ -2748,7 +3187,8 @@ const invalidCodeChallengeMethod = "invalid_code_challenge_method"; // Warning: (ae-missing-release-tag) "invalidPlatformBrokerConfiguration" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) -const invalidPlatformBrokerConfiguration = "invalid_platform_broker_configuration"; +const invalidPlatformBrokerConfiguration = + "invalid_platform_broker_configuration"; // Warning: (ae-missing-release-tag) "invalidRequestMethodForEAR" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // @@ -2768,7 +3208,13 @@ const invalidState = "invalid_state"; // Warning: (ae-internal-missing-underscore) The name "invoke" should be prefixed with an underscore because the declaration is marked as @internal // // @internal -export const invoke: (callback: (...args: T) => U, eventName: string, logger: Logger, telemetryClient: IPerformanceClient, correlationId: string) => (...args: T) => U; +export const invoke: ( + callback: (...args: T) => U, + eventName: string, + logger: Logger, + telemetryClient: IPerformanceClient, + correlationId: string +) => (...args: T) => U; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen @@ -2778,16 +3224,25 @@ export const invoke: (callback: (...args: T) => U, eventName // Warning: (ae-internal-missing-underscore) The name "invokeAsync" should be prefixed with an underscore because the declaration is marked as @internal // // @internal -export const invokeAsync: (callback: (...args: T) => Promise, eventName: string, logger: Logger, telemetryClient: IPerformanceClient, correlationId: string) => (...args: T) => Promise; +export const invokeAsync: ( + callback: (...args: T) => Promise, + eventName: string, + logger: Logger, + telemetryClient: IPerformanceClient, + correlationId: string +) => (...args: T) => Promise; // Warning: (ae-missing-release-tag) "IPerformanceClient" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) export interface IPerformanceClient { // (undocumented) - addFields(fields: { - [key: string]: {} | undefined; - }, correlationId: string): void; + addFields( + fields: { + [key: string]: {} | undefined; + }, + correlationId: string + ): void; // (undocumented) addPerformanceCallback(callback: PerformanceCallbackFunction): string; // (undocumented) @@ -2799,13 +3254,19 @@ export interface IPerformanceClient { // (undocumented) generateId(): string; // (undocumented) - incrementFields(fields: { - [key: string]: number | undefined; - }, correlationId: string): void; + incrementFields( + fields: { + [key: string]: number | undefined; + }, + correlationId: string + ): void; // (undocumented) removePerformanceCallback(callbackId: string): boolean; // (undocumented) - startMeasurement(measureName: string, correlationId?: string): InProgressPerformanceEvent; + startMeasurement( + measureName: string, + correlationId?: string + ): InProgressPerformanceEvent; } // Warning: (ae-missing-release-tag) "IPerformanceMeasurement" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -2857,7 +3318,10 @@ function isAuthorityMetadataExpired(metadata: AuthorityMetadataEntity): boolean; // Warning: (ae-missing-release-tag) "isCacheExpired" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public -function isCacheExpired(lastUpdatedAt: string, cacheRetentionDays: number): boolean; +function isCacheExpired( + lastUpdatedAt: string, + cacheRetentionDays: number +): boolean; // Warning: (ae-missing-release-tag) "isCredentialEntity" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // @@ -2975,7 +3439,8 @@ const JsonWebTokenTypes: { }; // @public (undocumented) -type JsonWebTokenTypes = (typeof JsonWebTokenTypes)[keyof typeof JsonWebTokenTypes]; +type JsonWebTokenTypes = + (typeof JsonWebTokenTypes)[keyof typeof JsonWebTokenTypes]; // Warning: (ae-missing-release-tag) "keyIdMissing" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // @@ -2999,11 +3464,19 @@ export type LibraryStateObject = { // // @public export class Logger { - constructor(loggerOptions: LoggerOptions, packageName?: string, packageVersion?: string); + constructor( + loggerOptions: LoggerOptions, + packageName?: string, + packageVersion?: string + ); clone(packageName: string, packageVersion: string): Logger; error(message: string, correlationId: string): void; errorPii(message: string, correlationId: string): void; - executeCallback(level: LogLevel, message: string, containsPii: boolean): void; + executeCallback( + level: LogLevel, + message: string, + containsPii: boolean + ): void; info(message: string, correlationId: string): void; infoPii(message: string, correlationId: string): void; isPiiLoggingEnabled(): boolean; @@ -3046,7 +3519,7 @@ export enum LogLevel { // (undocumented) Verbose = 3, // (undocumented) - Warning = 1 + Warning = 1, } // Warning: (ae-missing-release-tag) "LOGOUT_HINT" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -3158,7 +3631,11 @@ const NetworkClientSendPostRequestAsync = "networkClientSendPostRequestAsync"; // // @public export class NetworkError extends AuthError { - constructor(error: AuthError, httpStatus?: number, responseHeaders?: Record); + constructor( + error: AuthError, + httpStatus?: number, + responseHeaders?: Record + ); // (undocumented) error: AuthError; // (undocumented) @@ -3258,7 +3735,8 @@ const OAuthResponseType: { }; // @public (undocumented) -type OAuthResponseType = (typeof OAuthResponseType)[keyof typeof OAuthResponseType]; +type OAuthResponseType = + (typeof OAuthResponseType)[keyof typeof OAuthResponseType]; // Warning: (ae-missing-release-tag) "OBO_ASSERTION" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // @@ -3313,7 +3791,10 @@ const openIdConfigError = "openid_config_error"; // Warning: (ae-missing-release-tag) "parseRequestState" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public -function parseRequestState(base64Decode: (input: string) => string, state: string): RequestStateObject; +function parseRequestState( + base64Decode: (input: string) => string, + state: string +): RequestStateObject; // Warning: (ae-missing-release-tag) "PasswordGrantConstants" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // Warning: (ae-missing-release-tag) "PasswordGrantConstants" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -3325,7 +3806,8 @@ const PasswordGrantConstants: { }; // @public (undocumented) -type PasswordGrantConstants = (typeof PasswordGrantConstants)[keyof typeof PasswordGrantConstants]; +type PasswordGrantConstants = + (typeof PasswordGrantConstants)[keyof typeof PasswordGrantConstants]; // Warning: (ae-missing-release-tag) "PerformanceCallbackFunction" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // @@ -3351,12 +3833,23 @@ export abstract class PerformanceClient implements IPerformanceClient { // Warning: (tsdoc-param-tag-with-invalid-type) The @param block should not include a JSDoc-style '{type}' // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (tsdoc-param-tag-with-invalid-type) The @param block should not include a JSDoc-style '{type}' - constructor(clientId: string, authority: string, logger: Logger, libraryName: string, libraryVersion: string, applicationTelemetry: ApplicationTelemetry, intFields?: Set); - // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen - // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen - addFields(fields: { - [key: string]: {} | undefined; - }, correlationId: string): void; + constructor( + clientId: string, + authority: string, + logger: Logger, + libraryName: string, + libraryVersion: string, + applicationTelemetry: ApplicationTelemetry, + intFields?: Set + ); + // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen + // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen + addFields( + fields: { + [key: string]: {} | undefined; + }, + correlationId: string + ): void; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (tsdoc-param-tag-with-invalid-type) The @param block should not include a JSDoc-style '{type}' // Warning: (tsdoc-escape-right-brace) The "}" character should be escaped using a backslash to avoid confusion with a TSDoc inline tag @@ -3391,7 +3884,11 @@ export abstract class PerformanceClient implements IPerformanceClient { // Warning: (tsdoc-param-tag-with-invalid-type) The @param block should not include a JSDoc-style '{type}' // Warning: (tsdoc-escape-right-brace) The "}" character should be escaped using a backslash to avoid confusion with a TSDoc inline tag // Warning: (tsdoc-malformed-inline-tag) Expecting a TSDoc tag starting with "{@" - endMeasurement(event: PerformanceEvent, error?: unknown, account?: AccountInfo): PerformanceEvent | null; + endMeasurement( + event: PerformanceEvent, + error?: unknown, + account?: AccountInfo + ): PerformanceEvent | null; // Warning: (tsdoc-undefined-tag) The TSDoc tag "@protected" is not defined in this configuration // Warning: (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag // Warning: (tsdoc-escape-right-brace) The "}" character should be escaped using a backslash to avoid confusion with a TSDoc inline tag @@ -3410,9 +3907,12 @@ export abstract class PerformanceClient implements IPerformanceClient { // Warning: (tsdoc-param-tag-with-invalid-type) The @param block should not include a JSDoc-style '{type}' // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (tsdoc-param-tag-with-invalid-type) The @param block should not include a JSDoc-style '{type}' - incrementFields(fields: { - [key: string]: number | undefined; - }, correlationId: string): void; + incrementFields( + fields: { + [key: string]: number | undefined; + }, + correlationId: string + ): void; // (undocumented) protected intFields: Set; // (undocumented) @@ -3433,7 +3933,10 @@ export abstract class PerformanceClient implements IPerformanceClient { // Warning: (tsdoc-param-tag-with-invalid-type) The @param block should not include a JSDoc-style '{type}' // Warning: (tsdoc-escape-right-brace) The "}" character should be escaped using a backslash to avoid confusion with a TSDoc inline tag // Warning: (tsdoc-malformed-inline-tag) Expecting a TSDoc tag starting with "{@" - startMeasurement(measureName: string, correlationId?: string): InProgressPerformanceEvent; + startMeasurement( + measureName: string, + correlationId?: string + ): InProgressPerformanceEvent; } // Warning: (tsdoc-undefined-tag) The TSDoc tag "@export" is not defined in this configuration @@ -3616,8 +4119,8 @@ declare namespace PerformanceEvents { RegionDiscoveryGetRegionFromIMDS, RegionDiscoveryGetCurrentVersion, CacheManagerGetRefreshToken, - SetUserData - } + SetUserData, + }; } // Warning: (tsdoc-undefined-tag) The TSDoc tag "@export" is not defined in this configuration @@ -3635,7 +4138,8 @@ export const PerformanceEventStatus: { }; // @public (undocumented) -export type PerformanceEventStatus = (typeof PerformanceEventStatus)[keyof typeof PerformanceEventStatus]; +export type PerformanceEventStatus = + (typeof PerformanceEventStatus)[keyof typeof PerformanceEventStatus]; // Warning: (ae-missing-release-tag) "PersistentCacheKeys" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // Warning: (ae-missing-release-tag) "PersistentCacheKeys" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -3646,7 +4150,8 @@ const PersistentCacheKeys: { }; // @public (undocumented) -type PersistentCacheKeys = (typeof PersistentCacheKeys)[keyof typeof PersistentCacheKeys]; +type PersistentCacheKeys = + (typeof PersistentCacheKeys)[keyof typeof PersistentCacheKeys]; // Warning: (ae-missing-release-tag) "PkceCodes" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // @@ -3665,7 +4170,12 @@ const pkceParamsMissing = "pkce_params_missing"; // // @public export class PlatformBrokerError extends AuthError { - constructor(errorStatus: string, errorContext: string, errorCode: number, errorTag: number); + constructor( + errorStatus: string, + errorContext: string, + errorCode: number, + errorTag: number + ); statusCode: number; tag: string; } @@ -3687,7 +4197,10 @@ export class PopTokenGenerator { constructor(cryptoUtils: ICrypto, performanceClient: IPerformanceClient); // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (ae-forgotten-export) The symbol "ReqCnfData" needs to be exported by the entry point index.d.ts - generateCnf(request: SignedHttpRequestParameters, logger: Logger): Promise; + generateCnf( + request: SignedHttpRequestParameters, + logger: Logger + ): Promise; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (ae-forgotten-export) The symbol "ReqCnf" needs to be exported by the entry point index.d.ts generateKid(request: SignedHttpRequestParameters): Promise; @@ -3695,10 +4208,19 @@ export class PopTokenGenerator { // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen - signPayload(payload: string, keyId: string, request: SignedHttpRequestParameters, claims?: object): Promise; + signPayload( + payload: string, + keyId: string, + request: SignedHttpRequestParameters, + claims?: object + ): Promise; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen - signPopToken(accessToken: string, keyId: string, request: SignedHttpRequestParameters): Promise; + signPopToken( + accessToken: string, + keyId: string, + request: SignedHttpRequestParameters + ): Promise; } // Warning: (ae-missing-release-tag) "POST_LOGOUT_URI" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -3747,11 +4269,7 @@ export const ProtocolMode: { export type ProtocolMode = (typeof ProtocolMode)[keyof typeof ProtocolMode]; declare namespace ProtocolUtils { - export { - setRequestState, - generateLibraryState, - parseRequestState - } + export { setRequestState, generateLibraryState, parseRequestState }; } // Warning: (ae-missing-release-tag) "REDIRECT_URI" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -3783,11 +4301,20 @@ export type RefreshTokenCache = Record; // // @internal export class RefreshTokenClient { - constructor(configuration: ClientConfiguration, performanceClient: IPerformanceClient); + constructor( + configuration: ClientConfiguration, + performanceClient: IPerformanceClient + ); // (undocumented) - acquireToken(request: CommonRefreshTokenRequest, apiId: number): Promise; + acquireToken( + request: CommonRefreshTokenRequest, + apiId: number + ): Promise; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen - acquireTokenByRefreshToken(request: CommonSilentFlowRequest, apiId: number): Promise; + acquireTokenByRefreshToken( + request: CommonSilentFlowRequest, + apiId: number + ): Promise; // (undocumented) authority: Authority; // (undocumented) @@ -3814,22 +4341,26 @@ const RefreshTokenClientAcquireToken = "refreshTokenClientAcquireToken"; // Warning: (ae-missing-release-tag) "RefreshTokenClientAcquireTokenWithCachedRefreshToken" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public -const RefreshTokenClientAcquireTokenWithCachedRefreshToken = "refreshTokenClientAcquireTokenWithCachedRefreshToken"; +const RefreshTokenClientAcquireTokenWithCachedRefreshToken = + "refreshTokenClientAcquireTokenWithCachedRefreshToken"; // Warning: (ae-missing-release-tag) "RefreshTokenClientCreateTokenRequestBody" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public -const RefreshTokenClientCreateTokenRequestBody = "refreshTokenClientCreateTokenRequestBody"; +const RefreshTokenClientCreateTokenRequestBody = + "refreshTokenClientCreateTokenRequestBody"; // Warning: (ae-missing-release-tag) "RefreshTokenClientExecutePostToTokenEndpoint" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) -const RefreshTokenClientExecutePostToTokenEndpoint = "refreshTokenClientExecutePostToTokenEndpoint"; +const RefreshTokenClientExecutePostToTokenEndpoint = + "refreshTokenClientExecutePostToTokenEndpoint"; // Warning: (ae-missing-release-tag) "RefreshTokenClientExecuteTokenRequest" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public -const RefreshTokenClientExecuteTokenRequest = "refreshTokenClientExecuteTokenRequest"; +const RefreshTokenClientExecuteTokenRequest = + "refreshTokenClientExecuteTokenRequest"; // Warning: (ae-missing-release-tag) "RefreshTokenEntity" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // @@ -3874,7 +4405,8 @@ const RegionDiscoveryOutcomes: { }; // @public (undocumented) -type RegionDiscoveryOutcomes = (typeof RegionDiscoveryOutcomes)[keyof typeof RegionDiscoveryOutcomes]; +type RegionDiscoveryOutcomes = + (typeof RegionDiscoveryOutcomes)[keyof typeof RegionDiscoveryOutcomes]; // Warning: (ae-missing-release-tag) "RegionDiscoverySources" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // Warning: (ae-missing-release-tag) "RegionDiscoverySources" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -3888,7 +4420,8 @@ const RegionDiscoverySources: { }; // @public (undocumented) -type RegionDiscoverySources = (typeof RegionDiscoverySources)[keyof typeof RegionDiscoverySources]; +type RegionDiscoverySources = + (typeof RegionDiscoverySources)[keyof typeof RegionDiscoverySources]; // Warning: (ae-missing-release-tag) "REQ_CNF" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // @@ -3953,8 +4486,8 @@ declare namespace RequestParameterBuilder { addLogoutHint, addBrokerParameters, addEARParameters, - addResource - } + addResource, + }; } // Warning: (ae-missing-release-tag) "RequestStateObject" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -4012,7 +4545,15 @@ const RESPONSE_TYPE = "response_type"; // // @internal export class ResponseHandler { - constructor(clientId: string, cacheStorage: CacheManager, cryptoObj: ICrypto, logger: Logger, performanceClient: IPerformanceClient, serializableCache: ISerializableTokenCache | null, persistencePlugin: ICachePlugin | null); + constructor( + clientId: string, + cacheStorage: CacheManager, + cryptoObj: ICrypto, + logger: Logger, + performanceClient: IPerformanceClient, + serializableCache: ISerializableTokenCache | null, + persistencePlugin: ICachePlugin | null + ); // Warning: (tsdoc-undefined-tag) The TSDoc tag "@AuthenticationResult" is not defined in this configuration // Warning: (tsdoc-undefined-tag) The TSDoc tag "@CacheRecord" is not defined in this configuration // Warning: (tsdoc-undefined-tag) The TSDoc tag "@IdToken" is not defined in this configuration @@ -4020,14 +4561,40 @@ export class ResponseHandler { // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen - static generateAuthenticationResult(cryptoObj: ICrypto, authority: Authority, cacheRecord: CacheRecord, fromTokenCache: boolean, request: BaseAuthRequest, performanceClient: IPerformanceClient, idTokenClaims?: TokenClaims, requestState?: RequestStateObject, serverTokenResponse?: ServerAuthorizationTokenResponse, requestId?: string): Promise; + static generateAuthenticationResult( + cryptoObj: ICrypto, + authority: Authority, + cacheRecord: CacheRecord, + fromTokenCache: boolean, + request: BaseAuthRequest, + performanceClient: IPerformanceClient, + idTokenClaims?: TokenClaims, + requestState?: RequestStateObject, + serverTokenResponse?: ServerAuthorizationTokenResponse, + requestId?: string + ): Promise; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen - handleServerTokenResponse(serverTokenResponse: ServerAuthorizationTokenResponse, authority: Authority, reqTimestamp: number, request: BaseAuthRequest, apiId: number, authCodePayload?: AuthorizationCodePayload, userAssertionHash?: string, handlingRefreshTokenResponse?: boolean, forceCacheRefreshTokenResponse?: boolean, serverRequestId?: string): Promise; + handleServerTokenResponse( + serverTokenResponse: ServerAuthorizationTokenResponse, + authority: Authority, + reqTimestamp: number, + request: BaseAuthRequest, + apiId: number, + authCodePayload?: AuthorizationCodePayload, + userAssertionHash?: string, + handlingRefreshTokenResponse?: boolean, + forceCacheRefreshTokenResponse?: boolean, + serverRequestId?: string + ): Promise; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen - validateTokenResponse(serverResponse: ServerAuthorizationTokenResponse, correlationId: string, refreshAccessToken?: boolean): void; + validateTokenResponse( + serverResponse: ServerAuthorizationTokenResponse, + correlationId: string, + refreshAccessToken?: boolean + ): void; } // Warning: (ae-missing-release-tag) "ResponseMode" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -4096,7 +4663,16 @@ export class ScopeSet { // Warning: (ae-missing-release-tag) "sendPostRequest" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public -function sendPostRequest(thumbprint: RequestThumbprint, tokenEndpoint: string, options: NetworkRequestOptions, correlationId: string, cacheManager: CacheManager, networkClient: INetworkModule, logger: Logger, performanceClient: IPerformanceClient): Promise>; +function sendPostRequest( + thumbprint: RequestThumbprint, + tokenEndpoint: string, + options: NetworkRequestOptions, + correlationId: string, + cacheManager: CacheManager, + networkClient: INetworkModule, + logger: Logger, + performanceClient: IPerformanceClient +): Promise>; // Warning: (ae-missing-release-tag) "SERVER_TELEM_CACHE_KEY" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // @@ -4193,7 +4769,13 @@ export type ServerDeviceCodeResponse = { // // @public export class ServerError extends AuthError { - constructor(errorCode?: string, errorMessage?: string, subError?: string, errorNo?: string, status?: number); + constructor( + errorCode?: string, + errorMessage?: string, + subError?: string, + errorNo?: string, + status?: number + ); readonly errorNo?: string; readonly status?: number; } @@ -4212,7 +4794,10 @@ export type ServerTelemetryEntity = { // // @internal (undocumented) export class ServerTelemetryManager { - constructor(telemetryRequest: ServerTelemetryRequest, cacheManager: CacheManager); + constructor( + telemetryRequest: ServerTelemetryRequest, + cacheManager: CacheManager + ); // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen cacheFailedRequest(error: unknown): void; // (undocumented) @@ -4230,12 +4815,16 @@ export class ServerTelemetryManager { // (undocumented) static makeExtraSkuString(params: SkuParams): string; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen - static maxErrorsToSend(serverTelemetryEntity: ServerTelemetryEntity): number; + static maxErrorsToSend( + serverTelemetryEntity: ServerTelemetryEntity + ): number; setCacheOutcome(cacheOutcome: Constants_2.CacheOutcome): void; // (undocumented) setNativeBrokerErrorCode(errorCode: string): void; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen - updateRegionDiscoveryMetadata(regionDiscoveryMetadata: RegionDiscoveryMetadata): void; + updateRegionDiscoveryMetadata( + regionDiscoveryMetadata: RegionDiscoveryMetadata + ): void; } // Warning: (ae-missing-release-tag) "ServerTelemetryRequest" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -4261,7 +4850,11 @@ const SESSION_STATE = "session_state"; // Warning: (ae-missing-release-tag) "setRequestState" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public -function setRequestState(cryptoObj: ICrypto, userState?: string, meta?: Record): string; +function setRequestState( + cryptoObj: ICrypto, + userState?: string, + meta?: Record +): string; // Warning: (ae-missing-release-tag) "SetUserData" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // @@ -4303,7 +4896,14 @@ export type SignedHttpRequest = { // Warning: (ae-missing-release-tag) "SignedHttpRequestParameters" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) -export type SignedHttpRequestParameters = Pick & { +export type SignedHttpRequestParameters = Pick< + BaseAuthRequest, + | "resourceRequestMethod" + | "resourceRequestUri" + | "shrClaims" + | "shrNonce" + | "shrOptions" +> & { correlationId: string; }; @@ -4311,9 +4911,14 @@ export type SignedHttpRequestParameters = Pick; + acquireCachedToken( + request: CommonSilentFlowRequest + ): Promise<[AuthenticationResult, CacheOutcome]>; // (undocumented) authority: Authority; // (undocumented) @@ -4335,7 +4940,8 @@ export class SilentFlowClient { // Warning: (ae-missing-release-tag) "SilentFlowClientGenerateResultFromCacheRecord" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) -const SilentFlowClientGenerateResultFromCacheRecord = "silentFlowClientGenerateResultFromCacheRecord"; +const SilentFlowClientGenerateResultFromCacheRecord = + "silentFlowClientGenerateResultFromCacheRecord"; // Warning: (ae-missing-release-tag) "SKU" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // @@ -4360,7 +4966,9 @@ const stateNotFound = "state_not_found"; // Warning: (ae-missing-release-tag) "StaticAuthorityOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) -export type StaticAuthorityOptions = Partial> & { +export type StaticAuthorityOptions = Partial< + Pick +> & { canonicalAuthority?: string; cloudDiscoveryMetadata?: CloudInstanceDiscoveryResponse; }; @@ -4436,7 +5044,10 @@ export class StubPerformanceClient implements IPerformanceClient { // (undocumented) removePerformanceCallback(): boolean; // (undocumented) - startMeasurement(measureName: string, correlationId?: string | undefined): InProgressPerformanceEvent; + startMeasurement( + measureName: string, + correlationId?: string | undefined + ): InProgressPerformanceEvent; } // Warning: (ae-missing-release-tag) "SubMeasurement" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -4460,12 +5071,18 @@ export type SystemOptions = { // Warning: (ae-missing-release-tag) "tenantIdMatchesHomeTenant" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public -export function tenantIdMatchesHomeTenant(tenantId?: string, homeAccountId?: string): boolean; +export function tenantIdMatchesHomeTenant( + tenantId?: string, + homeAccountId?: string +): boolean; // Warning: (ae-missing-release-tag) "TenantProfile" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public -export type TenantProfile = Pick & { +export type TenantProfile = Pick< + AccountInfo, + "tenantId" | "localAccountId" | "name" | "username" | "loginHint" | "upn" +> & { isHomeTenant?: boolean; }; @@ -4497,20 +5114,38 @@ export class ThrottlingUtils { // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen static calculateThrottleTime(throttleTime: number): number; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen - static checkResponseForRetryAfter(response: NetworkResponse): boolean; + static checkResponseForRetryAfter( + response: NetworkResponse + ): boolean; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen - static checkResponseStatus(response: NetworkResponse): boolean; + static checkResponseStatus( + response: NetworkResponse + ): boolean; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen static generateThrottlingStorageKey(thumbprint: RequestThumbprint): string; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen - static postProcess(cacheManager: CacheManager, thumbprint: RequestThumbprint, response: NetworkResponse, correlationId: string): void; + static postProcess( + cacheManager: CacheManager, + thumbprint: RequestThumbprint, + response: NetworkResponse, + correlationId: string + ): void; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen - static preProcess(cacheManager: CacheManager, thumbprint: RequestThumbprint, correlationId: string): void; + static preProcess( + cacheManager: CacheManager, + thumbprint: RequestThumbprint, + correlationId: string + ): void; // (undocumented) - static removeThrottle(cacheManager: CacheManager, clientId: string, request: BaseAuthRequest, homeAccountIdentifier?: string): void; + static removeThrottle( + cacheManager: CacheManager, + clientId: string, + request: BaseAuthRequest, + homeAccountIdentifier?: string + ): void; } declare namespace TimeUtils { @@ -4521,10 +5156,10 @@ declare namespace TimeUtils { isTokenExpired, isCacheExpired, wasClockTurnedBack, - delay - } + delay, + }; } -export { TimeUtils } +export { TimeUtils }; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (ae-missing-release-tag) "toDateFromSeconds" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -4589,13 +5224,14 @@ type TokenClaims = { tenant_region_scope?: string; tenant_region_sub_scope?: string; }; -export { TokenClaims as IdTokenClaims } -export { TokenClaims } +export { TokenClaims as IdTokenClaims }; +export { TokenClaims }; // Warning: (ae-missing-release-tag) "tokenClaimsCnfRequiredForSignedJwt" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) -const tokenClaimsCnfRequiredForSignedJwt = "token_claims_cnf_required_for_signedjwt"; +const tokenClaimsCnfRequiredForSignedJwt = + "token_claims_cnf_required_for_signedjwt"; // Warning: (ae-missing-release-tag) "TokenKeys" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // @@ -4616,8 +5252,8 @@ declare namespace TokenProtocol { createTokenRequestHeaders, createTokenQueryParameters, executePostToTokenEndpoint, - sendPostRequest - } + sendPostRequest, + }; } // Warning: (ae-missing-release-tag) "tokenRefreshRequired" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -4636,6 +5272,9 @@ const tokenRequestEmpty = "token_request_empty"; // @public function toSecondsFromDate(date: Date): number; +// @public +const uiNotAllowed = "ui_not_allowed"; + // Warning: (ae-missing-release-tag) "unexpectedCredentialType" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) @@ -4656,21 +5295,34 @@ const untrustedAuthority = "untrusted_authority"; // Warning: (ae-missing-release-tag) "updateAccountTenantProfileData" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public -export function updateAccountTenantProfileData(baseAccountInfo: AccountInfo, tenantProfile?: TenantProfile, idTokenClaims?: TokenClaims, idTokenSecret?: string): AccountInfo; +export function updateAccountTenantProfileData( + baseAccountInfo: AccountInfo, + tenantProfile?: TenantProfile, + idTokenClaims?: TokenClaims, + idTokenSecret?: string +): AccountInfo; // Warning: (ae-incompatible-release-tags) The symbol "updateAuthorityEndpointMetadata" is marked as @public, but its signature references "AuthorityMetadataEntity" which is marked as @internal // Warning: (ae-incompatible-release-tags) The symbol "updateAuthorityEndpointMetadata" is marked as @public, but its signature references "AuthorityMetadataEntity" which is marked as @internal // Warning: (ae-missing-release-tag) "updateAuthorityEndpointMetadata" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) -function updateAuthorityEndpointMetadata(authorityMetadata: AuthorityMetadataEntity, updatedValues: OpenIdConfigResponse, fromNetwork: boolean): void; +function updateAuthorityEndpointMetadata( + authorityMetadata: AuthorityMetadataEntity, + updatedValues: OpenIdConfigResponse, + fromNetwork: boolean +): void; // Warning: (ae-incompatible-release-tags) The symbol "updateCloudDiscoveryMetadata" is marked as @public, but its signature references "AuthorityMetadataEntity" which is marked as @internal // Warning: (ae-incompatible-release-tags) The symbol "updateCloudDiscoveryMetadata" is marked as @public, but its signature references "AuthorityMetadataEntity" which is marked as @internal // Warning: (ae-missing-release-tag) "updateCloudDiscoveryMetadata" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) -function updateCloudDiscoveryMetadata(authorityMetadata: AuthorityMetadataEntity, updatedValues: CloudDiscoveryMetadata, fromNetwork: boolean): void; +function updateCloudDiscoveryMetadata( + authorityMetadata: AuthorityMetadataEntity, + updatedValues: CloudDiscoveryMetadata, + fromNetwork: boolean +): void; // Warning: (ae-missing-release-tag) "UpdateTokenEndpointAuthority" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // @@ -4724,35 +5376,47 @@ declare namespace UrlUtils { stripLeadingHashOrQuery, getDeserializedResponse, mapToQueryString, - normalizeUrlForComparison - } + normalizeUrlForComparison, + }; } -export { UrlUtils } +export { UrlUtils }; // Warning: (ae-missing-release-tag) "userCanceled" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) const userCanceled = "user_canceled"; -// @public -const uxNotAllowed = "ux_not_allowed"; - // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (ae-missing-release-tag) "validateAuthorizationResponse" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public -function validateAuthorizationResponse(serverResponse: AuthorizeResponse, requestState: string): void; +function validateAuthorizationResponse( + serverResponse: AuthorizeResponse, + requestState: string +): void; // Warning: (ae-internal-missing-underscore) The name "ValidCacheType" should be prefixed with an underscore because the declaration is marked as @internal // // @internal -export type ValidCacheType = AccountEntity | IdTokenEntity | AccessTokenEntity | RefreshTokenEntity | AppMetadataEntity | AuthorityMetadataEntity | ServerTelemetryEntity | ThrottlingEntity | string; +export type ValidCacheType = + | AccountEntity + | IdTokenEntity + | AccessTokenEntity + | RefreshTokenEntity + | AppMetadataEntity + | AuthorityMetadataEntity + | ServerTelemetryEntity + | ThrottlingEntity + | string; // Warning: (ae-internal-missing-underscore) The name "ValidCredentialType" should be prefixed with an underscore because the declaration is marked as @internal // // @internal -export type ValidCredentialType = IdTokenEntity | AccessTokenEntity | RefreshTokenEntity; +export type ValidCredentialType = + | IdTokenEntity + | AccessTokenEntity + | RefreshTokenEntity; // Warning: (ae-missing-release-tag) "version" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // @@ -4990,5 +5654,4 @@ const X_MS_LIB_CAPABILITY_VALUE: string; // src/telemetry/performance/PerformanceEvent.ts:418:22 - (tsdoc-escape-right-brace) The "}" character should be escaped using a backslash to avoid confusion with a TSDoc inline tag // src/telemetry/performance/PerformanceEvent.ts:418:14 - (tsdoc-malformed-inline-tag) Expecting a TSDoc tag starting with "{@" // src/telemetry/performance/PerformanceEvent.ts:418:8 - (tsdoc-undefined-tag) The TSDoc tag "@type" is not defined in this configuration - ``` diff --git a/lib/msal-common/src/error/InteractionRequiredAuthError.ts b/lib/msal-common/src/error/InteractionRequiredAuthError.ts index 33e6fc2a62..7601279459 100644 --- a/lib/msal-common/src/error/InteractionRequiredAuthError.ts +++ b/lib/msal-common/src/error/InteractionRequiredAuthError.ts @@ -15,7 +15,7 @@ export const InteractionRequiredServerErrorMessage = [ InteractionRequiredAuthErrorCodes.consentRequired, InteractionRequiredAuthErrorCodes.loginRequired, InteractionRequiredAuthErrorCodes.badToken, - InteractionRequiredAuthErrorCodes.uxNotAllowed, + InteractionRequiredAuthErrorCodes.uiNotAllowed, InteractionRequiredAuthErrorCodes.interruptedUser, ]; @@ -26,7 +26,7 @@ export const InteractionRequiredAuthSubErrorMessage = [ "user_password_expired", "consent_required", "bad_token", - "ux_not_allowed", + "ui_not_allowed", "interrupted_user", ]; diff --git a/lib/msal-common/src/error/InteractionRequiredAuthErrorCodes.ts b/lib/msal-common/src/error/InteractionRequiredAuthErrorCodes.ts index f63d5af24c..0d0656eb67 100644 --- a/lib/msal-common/src/error/InteractionRequiredAuthErrorCodes.ts +++ b/lib/msal-common/src/error/InteractionRequiredAuthErrorCodes.ts @@ -22,7 +22,7 @@ export const refreshTokenExpired = "refresh_token_expired"; * MSAL-defined error code indicating UI/UX is not allowed (e.g., blocked by policy), requiring alternate interaction. * @public */ -export const uxNotAllowed = "ux_not_allowed"; +export const uiNotAllowed = "ui_not_allowed"; /** * Server-originated error code indicating interaction is required to complete the request. diff --git a/lib/msal-common/test/error/InteractionRequiredAuthError.spec.ts b/lib/msal-common/test/error/InteractionRequiredAuthError.spec.ts index 37e4901836..acc805e346 100644 --- a/lib/msal-common/test/error/InteractionRequiredAuthError.spec.ts +++ b/lib/msal-common/test/error/InteractionRequiredAuthError.spec.ts @@ -105,7 +105,7 @@ describe("InteractionRequiredAuthError.ts Class Unit Tests", () => { InteractionRequiredAuthErrorCodes.nativeAccountUnavailable, InteractionRequiredAuthErrorCodes.refreshTokenExpired, InteractionRequiredAuthErrorCodes.badToken, - InteractionRequiredAuthErrorCodes.uxNotAllowed, + InteractionRequiredAuthErrorCodes.uiNotAllowed, InteractionRequiredAuthErrorCodes.interruptedUser, ]; From 5eea8630baa25926ce1c0950c3325178ab40a858 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 27 May 2026 16:28:31 +0000 Subject: [PATCH 2/8] Deprecate uxNotAllowed alias in favor of uiNotAllowed --- docs/errors.md | 5 ++++- lib/msal-common/apiReview/msal-common.api.md | 4 ++++ lib/msal-common/src/error/InteractionRequiredAuthError.ts | 2 ++ .../src/error/InteractionRequiredAuthErrorCodes.ts | 6 ++++++ .../test/error/InteractionRequiredAuthError.spec.ts | 1 + 5 files changed, 17 insertions(+), 1 deletion(-) diff --git a/docs/errors.md b/docs/errors.md index efb22b4cf3..8995b73e32 100644 --- a/docs/errors.md +++ b/docs/errors.md @@ -305,10 +305,13 @@ This error occurs when MSAL.js surpasses the allotted storage limit when attempt - Identity provider returned bad_token due to an expired or invalid refresh token. Please invoke an interactive API to resolve. -### `ux_not_allowed` +### `ui_not_allowed` - `canShowUI` flag in Edge was set to false. User interaction required on web page. Please invoke an interactive API to resolve. +### `ux_not_allowed` + +- Deprecated alias for `ui_not_allowed`. ### `interrupted_user` diff --git a/lib/msal-common/apiReview/msal-common.api.md b/lib/msal-common/apiReview/msal-common.api.md index 0d49e576d2..0674b4e315 100644 --- a/lib/msal-common/apiReview/msal-common.api.md +++ b/lib/msal-common/apiReview/msal-common.api.md @@ -3122,6 +3122,7 @@ declare namespace InteractionRequiredAuthErrorCodes { nativeAccountUnavailable, refreshTokenExpired, uiNotAllowed, + uxNotAllowed, interactionRequired, consentRequired, loginRequired, @@ -5275,6 +5276,9 @@ function toSecondsFromDate(date: Date): number; // @public const uiNotAllowed = "ui_not_allowed"; +// @public +const uxNotAllowed = "ux_not_allowed"; + // Warning: (ae-missing-release-tag) "unexpectedCredentialType" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) diff --git a/lib/msal-common/src/error/InteractionRequiredAuthError.ts b/lib/msal-common/src/error/InteractionRequiredAuthError.ts index 7601279459..e540f405c7 100644 --- a/lib/msal-common/src/error/InteractionRequiredAuthError.ts +++ b/lib/msal-common/src/error/InteractionRequiredAuthError.ts @@ -16,6 +16,7 @@ export const InteractionRequiredServerErrorMessage = [ InteractionRequiredAuthErrorCodes.loginRequired, InteractionRequiredAuthErrorCodes.badToken, InteractionRequiredAuthErrorCodes.uiNotAllowed, + InteractionRequiredAuthErrorCodes.uxNotAllowed, InteractionRequiredAuthErrorCodes.interruptedUser, ]; @@ -27,6 +28,7 @@ export const InteractionRequiredAuthSubErrorMessage = [ "consent_required", "bad_token", "ui_not_allowed", + "ux_not_allowed", "interrupted_user", ]; diff --git a/lib/msal-common/src/error/InteractionRequiredAuthErrorCodes.ts b/lib/msal-common/src/error/InteractionRequiredAuthErrorCodes.ts index 0d0656eb67..dad55218c1 100644 --- a/lib/msal-common/src/error/InteractionRequiredAuthErrorCodes.ts +++ b/lib/msal-common/src/error/InteractionRequiredAuthErrorCodes.ts @@ -23,6 +23,12 @@ export const refreshTokenExpired = "refresh_token_expired"; * @public */ export const uiNotAllowed = "ui_not_allowed"; +/** + * Deprecated alias for {@link uiNotAllowed}. UI/UX is not allowed (e.g., blocked by policy), requiring alternate interaction. + * @deprecated Please use {@link uiNotAllowed}. + * @public + */ +export const uxNotAllowed = "ux_not_allowed"; /** * Server-originated error code indicating interaction is required to complete the request. diff --git a/lib/msal-common/test/error/InteractionRequiredAuthError.spec.ts b/lib/msal-common/test/error/InteractionRequiredAuthError.spec.ts index acc805e346..d0a2237cc1 100644 --- a/lib/msal-common/test/error/InteractionRequiredAuthError.spec.ts +++ b/lib/msal-common/test/error/InteractionRequiredAuthError.spec.ts @@ -106,6 +106,7 @@ describe("InteractionRequiredAuthError.ts Class Unit Tests", () => { InteractionRequiredAuthErrorCodes.refreshTokenExpired, InteractionRequiredAuthErrorCodes.badToken, InteractionRequiredAuthErrorCodes.uiNotAllowed, + InteractionRequiredAuthErrorCodes.uxNotAllowed, InteractionRequiredAuthErrorCodes.interruptedUser, ]; From 846370f70d48ee4be21864285b4b82407aee339d Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 27 May 2026 16:37:26 +0000 Subject: [PATCH 3/8] Change files --- ...-msal-browser-57c391dc-e3ce-424d-9c05-d8ce12a0fd11.json | 7 +++++++ ...e-msal-common-8f93ce80-7488-4e50-a898-2edc8e5dd1b6.json | 7 +++++++ 2 files changed, 14 insertions(+) create mode 100644 change/@azure-msal-browser-57c391dc-e3ce-424d-9c05-d8ce12a0fd11.json create mode 100644 change/@azure-msal-common-8f93ce80-7488-4e50-a898-2edc8e5dd1b6.json diff --git a/change/@azure-msal-browser-57c391dc-e3ce-424d-9c05-d8ce12a0fd11.json b/change/@azure-msal-browser-57c391dc-e3ce-424d-9c05-d8ce12a0fd11.json new file mode 100644 index 0000000000..d5e6340bac --- /dev/null +++ b/change/@azure-msal-browser-57c391dc-e3ce-424d-9c05-d8ce12a0fd11.json @@ -0,0 +1,7 @@ +{ + "type": "patch", + "comment": "Deprecate uxNotAllowed alias in favor of uiNotAllowed", + "packageName": "@azure/msal-browser", + "email": "198982749+Copilot@users.noreply.github.com", + "dependentChangeType": "patch" +} diff --git a/change/@azure-msal-common-8f93ce80-7488-4e50-a898-2edc8e5dd1b6.json b/change/@azure-msal-common-8f93ce80-7488-4e50-a898-2edc8e5dd1b6.json new file mode 100644 index 0000000000..524735678c --- /dev/null +++ b/change/@azure-msal-common-8f93ce80-7488-4e50-a898-2edc8e5dd1b6.json @@ -0,0 +1,7 @@ +{ + "type": "patch", + "comment": "Deprecate uxNotAllowed alias in favor of uiNotAllowed", + "packageName": "@azure/msal-common", + "email": "198982749+Copilot@users.noreply.github.com", + "dependentChangeType": "patch" +} From 7d2f650167ece919c9ba6b960c6bc9e49d78d70c Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 27 May 2026 16:39:00 +0000 Subject: [PATCH 4/8] chore: add PR link to beachball change file comments --- ...azure-msal-browser-57c391dc-e3ce-424d-9c05-d8ce12a0fd11.json | 2 +- ...@azure-msal-common-8f93ce80-7488-4e50-a898-2edc8e5dd1b6.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/change/@azure-msal-browser-57c391dc-e3ce-424d-9c05-d8ce12a0fd11.json b/change/@azure-msal-browser-57c391dc-e3ce-424d-9c05-d8ce12a0fd11.json index d5e6340bac..0609b94278 100644 --- a/change/@azure-msal-browser-57c391dc-e3ce-424d-9c05-d8ce12a0fd11.json +++ b/change/@azure-msal-browser-57c391dc-e3ce-424d-9c05-d8ce12a0fd11.json @@ -1,6 +1,6 @@ { "type": "patch", - "comment": "Deprecate uxNotAllowed alias in favor of uiNotAllowed", + "comment": "Deprecate uxNotAllowed alias in favor of uiNotAllowed [#8608](https://github.com/AzureAD/microsoft-authentication-library-for-js/pull/8608)", "packageName": "@azure/msal-browser", "email": "198982749+Copilot@users.noreply.github.com", "dependentChangeType": "patch" diff --git a/change/@azure-msal-common-8f93ce80-7488-4e50-a898-2edc8e5dd1b6.json b/change/@azure-msal-common-8f93ce80-7488-4e50-a898-2edc8e5dd1b6.json index 524735678c..b8bee4be88 100644 --- a/change/@azure-msal-common-8f93ce80-7488-4e50-a898-2edc8e5dd1b6.json +++ b/change/@azure-msal-common-8f93ce80-7488-4e50-a898-2edc8e5dd1b6.json @@ -1,6 +1,6 @@ { "type": "patch", - "comment": "Deprecate uxNotAllowed alias in favor of uiNotAllowed", + "comment": "Deprecate uxNotAllowed alias in favor of uiNotAllowed [#8608](https://github.com/AzureAD/microsoft-authentication-library-for-js/pull/8608)", "packageName": "@azure/msal-common", "email": "198982749+Copilot@users.noreply.github.com", "dependentChangeType": "patch" From 8bcb834b459a048efb5935d310ed447b079a4983 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 27 May 2026 18:15:00 +0000 Subject: [PATCH 5/8] Handle legacy UX_NOT_ALLOWED native status mapping --- .../broker/nativeBroker/NativeStatusCodes.ts | 1 + lib/msal-browser/src/error/NativeAuthError.ts | 1 + .../test/error/NativeAuthError.spec.ts | 17 +++++++++++++++++ 3 files changed, 19 insertions(+) diff --git a/lib/msal-browser/src/broker/nativeBroker/NativeStatusCodes.ts b/lib/msal-browser/src/broker/nativeBroker/NativeStatusCodes.ts index 4d90420b36..2ee75ef643 100644 --- a/lib/msal-browser/src/broker/nativeBroker/NativeStatusCodes.ts +++ b/lib/msal-browser/src/broker/nativeBroker/NativeStatusCodes.ts @@ -12,3 +12,4 @@ export const PERSISTENT_ERROR = "PERSISTENT_ERROR"; export const DISABLED = "DISABLED"; export const ACCOUNT_UNAVAILABLE = "ACCOUNT_UNAVAILABLE"; export const UI_NOT_ALLOWED = "UI_NOT_ALLOWED"; +export const UX_NOT_ALLOWED = "UX_NOT_ALLOWED"; diff --git a/lib/msal-browser/src/error/NativeAuthError.ts b/lib/msal-browser/src/error/NativeAuthError.ts index 382e0d3a75..201283455b 100644 --- a/lib/msal-browser/src/error/NativeAuthError.ts +++ b/lib/msal-browser/src/error/NativeAuthError.ts @@ -100,6 +100,7 @@ export function createNativeAuthError( BrowserAuthErrorCodes.noNetworkConnectivity ); case NativeStatusCodes.UI_NOT_ALLOWED: + case NativeStatusCodes.UX_NOT_ALLOWED: return createInteractionRequiredAuthError( InteractionRequiredAuthErrorCodes.uiNotAllowed ); diff --git a/lib/msal-browser/test/error/NativeAuthError.spec.ts b/lib/msal-browser/test/error/NativeAuthError.spec.ts index e13d902871..9114659814 100644 --- a/lib/msal-browser/test/error/NativeAuthError.spec.ts +++ b/lib/msal-browser/test/error/NativeAuthError.spec.ts @@ -143,6 +143,23 @@ describe("NativeAuthError Unit Tests", () => { ); }); + it("translates UX_NOT_ALLOWED status into corresponding InteractionRequiredError", () => { + const error = createNativeAuthError( + "interaction_required", + "interaction is required", + { + error: 1, + protocol_error: "testProtocolError", + properties: {}, + status: NativeStatusCode.UX_NOT_ALLOWED, + } + ); + expect(error).toBeInstanceOf(InteractionRequiredAuthError); + expect(error.errorCode).toBe( + InteractionRequiredAuthErrorCodes.uiNotAllowed + ); + }); + it("translates USER_CANCEL status into corresponding BrowserAuthError", () => { const error = createNativeAuthError( "user_cancel", From c5bc3b8d02469f5d7b21eafd9ced9777bd562616 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 29 May 2026 22:07:20 +0000 Subject: [PATCH 6/8] chore: regenerate msal-common api review with apiExtractor --- lib/msal-common/apiReview/msal-common.api.md | 1248 +++++------------- 1 file changed, 294 insertions(+), 954 deletions(-) diff --git a/lib/msal-common/apiReview/msal-common.api.md b/lib/msal-common/apiReview/msal-common.api.md index c0e24ab643..e5d527a350 100644 --- a/lib/msal-common/apiReview/msal-common.api.md +++ b/lib/msal-common/apiReview/msal-common.api.md @@ -3,6 +3,7 @@ > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/). ```ts + /// // Warning: (ae-missing-release-tag) "AAD_INSTANCE_DISCOVERY_ENDPT" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -89,10 +90,10 @@ declare namespace AADServerParamKeys { EAR_JWK, EAR_JWE_CRYPTO, RESOURCE, - CLI_DATA, - }; + CLI_DATA + } } -export { AADServerParamKeys }; +export { AADServerParamKeys } // Warning: (ae-missing-release-tag) "ACCESS_TOKEN" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // @@ -161,10 +162,10 @@ declare namespace AccountEntityUtils { createAccountEntity, createAccountEntityFromAccountInfo, generateHomeAccountId, - isAccountEntity, - }; + isAccountEntity + } } -export { AccountEntityUtils }; +export { AccountEntityUtils } // Warning: (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag // Warning: (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag @@ -173,10 +174,7 @@ export { AccountEntityUtils }; // Warning: (ae-missing-release-tag) "AccountFilter" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public -export type AccountFilter = Omit< - Partial, - "idToken" | "idTokenClaims" -> & { +export type AccountFilter = Omit, "idToken" | "idTokenClaims"> & { realm?: string; loginHint?: string; sid?: string; @@ -197,13 +195,7 @@ export type AccountInfo = { upn?: string; idToken?: string; idTokenClaims?: TokenClaims & { - [key: string]: - | string - | number - | string[] - | object - | undefined - | unknown; + [key: string]: string | number | string[] | object | undefined | unknown; }; nativeAccountId?: string; authorityType?: string; @@ -224,37 +216,24 @@ export type ActiveAccountFilters = { // Warning: (ae-missing-release-tag) "addApplicationTelemetry" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public -function addApplicationTelemetry( - parameters: Map, - appTelemetry: ApplicationTelemetry -): void; +function addApplicationTelemetry(parameters: Map, appTelemetry: ApplicationTelemetry): void; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (ae-missing-release-tag) "addAuthorizationCode" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public -function addAuthorizationCode( - parameters: Map, - code: string -): void; +function addAuthorizationCode(parameters: Map, code: string): void; // Warning: (ae-missing-release-tag) "addBrokerParameters" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) -function addBrokerParameters( - parameters: Map, - brokerClientId: string, - brokerRedirectUri: string -): void; +function addBrokerParameters(parameters: Map, brokerClientId: string, brokerRedirectUri: string): void; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (ae-missing-release-tag) "addCcsOid" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public -function addCcsOid( - parameters: Map, - clientInfo: ClientInfo -): void; +function addCcsOid(parameters: Map, clientInfo: ClientInfo): void; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (ae-missing-release-tag) "addCcsUpn" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -265,12 +244,7 @@ function addCcsUpn(parameters: Map, loginHint: string): void; // Warning: (ae-missing-release-tag) "addClaims" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public -function addClaims( - parameters: Map, - claims?: string, - clientCapabilities?: Array, - skipBrokerClaims?: boolean -): void; +function addClaims(parameters: Map, claims?: string, clientCapabilities?: Array, skipBrokerClaims?: boolean): void; // Warning: (ae-missing-release-tag) "addCliData" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // @@ -281,27 +255,18 @@ function addCliData(parameters: Map): void; // Warning: (ae-missing-release-tag) "addClientAssertion" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public -function addClientAssertion( - parameters: Map, - clientAssertion: string -): void; +function addClientAssertion(parameters: Map, clientAssertion: string): void; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (ae-missing-release-tag) "addClientAssertionType" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public -function addClientAssertionType( - parameters: Map, - clientAssertionType: string -): void; +function addClientAssertionType(parameters: Map, clientAssertionType: string): void; // Warning: (ae-missing-release-tag) "addClientCapabilitiesToClaims" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) -function addClientCapabilitiesToClaims( - claims?: string, - clientCapabilities?: Array -): string; +function addClientCapabilitiesToClaims(claims?: string, clientCapabilities?: Array): string; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (ae-missing-release-tag) "addClientId" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -318,39 +283,26 @@ function addClientInfo(parameters: Map): void; // Warning: (ae-missing-release-tag) "addClientSecret" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public -function addClientSecret( - parameters: Map, - clientSecret: string -): void; +function addClientSecret(parameters: Map, clientSecret: string): void; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (ae-missing-release-tag) "addCodeChallengeParams" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public -function addCodeChallengeParams( - parameters: Map, - codeChallenge?: string, - codeChallengeMethod?: string -): void; +function addCodeChallengeParams(parameters: Map, codeChallenge?: string, codeChallengeMethod?: string): void; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (ae-missing-release-tag) "addCodeVerifier" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public -function addCodeVerifier( - parameters: Map, - codeVerifier: string -): void; +function addCodeVerifier(parameters: Map, codeVerifier: string): void; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (ae-missing-release-tag) "addCorrelationId" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public -function addCorrelationId( - parameters: Map, - correlationId: string -): void; +function addCorrelationId(parameters: Map, correlationId: string): void; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (ae-missing-release-tag) "addDeviceCode" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -362,10 +314,7 @@ function addDeviceCode(parameters: Map, code: string): void; // Warning: (ae-missing-release-tag) "addDomainHint" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public -function addDomainHint( - parameters: Map, - domainHint: string -): void; +function addDomainHint(parameters: Map, domainHint: string): void; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen @@ -377,10 +326,7 @@ function addEARParameters(parameters: Map, jwk: string): void; // Warning: (ae-missing-release-tag) "addExtraParameters" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public -function addExtraParameters( - parameters: Map, - extraParams: StringDict -): void; +function addExtraParameters(parameters: Map, extraParams: StringDict): void; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (ae-missing-release-tag) "addGrantType" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -392,10 +338,7 @@ function addGrantType(parameters: Map, grantType: string): void; // Warning: (ae-missing-release-tag) "addIdTokenHint" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public -function addIdTokenHint( - parameters: Map, - idTokenHint: string -): void; +function addIdTokenHint(parameters: Map, idTokenHint: string): void; // Warning: (ae-missing-release-tag) "addInstanceAware" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // @@ -407,10 +350,7 @@ function addInstanceAware(parameters: Map): void; // Warning: (ae-missing-release-tag) "addLibraryInfo" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public -function addLibraryInfo( - parameters: Map, - libraryInfo: LibraryInfo -): void; +function addLibraryInfo(parameters: Map, libraryInfo: LibraryInfo): void; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (ae-missing-release-tag) "addLoginHint" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -421,10 +361,7 @@ function addLoginHint(parameters: Map, loginHint: string): void; // Warning: (ae-missing-release-tag) "addLogoutHint" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public -function addLogoutHint( - parameters: Map, - logoutHint: string -): void; +function addLogoutHint(parameters: Map, logoutHint: string): void; // Warning: (ae-missing-release-tag) "addNativeBroker" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // @@ -441,10 +378,7 @@ function addNonce(parameters: Map, nonce: string): void; // Warning: (ae-missing-release-tag) "addOboAssertion" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public -function addOboAssertion( - parameters: Map, - oboAssertion: string -): void; +function addOboAssertion(parameters: Map, oboAssertion: string): void; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (ae-missing-release-tag) "addPassword" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -462,10 +396,7 @@ function addPopToken(parameters: Map, cnfString: string): void; // Warning: (ae-missing-release-tag) "addPostLogoutRedirectUri" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public -function addPostLogoutRedirectUri( - parameters: Map, - redirectUri: string -): void; +function addPostLogoutRedirectUri(parameters: Map, redirectUri: string): void; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (ae-missing-release-tag) "addPrompt" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -477,28 +408,19 @@ function addPrompt(parameters: Map, prompt: string): void; // Warning: (ae-missing-release-tag) "addRedirectUri" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public -function addRedirectUri( - parameters: Map, - redirectUri: string -): void; +function addRedirectUri(parameters: Map, redirectUri: string): void; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (ae-missing-release-tag) "addRefreshToken" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public -function addRefreshToken( - parameters: Map, - refreshToken: string -): void; +function addRefreshToken(parameters: Map, refreshToken: string): void; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (ae-missing-release-tag) "addRequestTokenUse" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public -function addRequestTokenUse( - parameters: Map, - tokenUse: string -): void; +function addRequestTokenUse(parameters: Map, tokenUse: string): void; // Warning: (ae-missing-release-tag) "addResource" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // @@ -510,32 +432,21 @@ function addResource(parameters: Map, resource?: string): void; // Warning: (ae-missing-release-tag) "addResponseMode" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public -function addResponseMode( - parameters: Map, - responseMode?: Constants_2.ResponseMode -): void; +function addResponseMode(parameters: Map, responseMode?: Constants_2.ResponseMode): void; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (ae-missing-release-tag) "addResponseType" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public -function addResponseType( - parameters: Map, - responseType: Constants_2.OAuthResponseType -): void; +function addResponseType(parameters: Map, responseType: Constants_2.OAuthResponseType): void; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (ae-missing-release-tag) "addScopes" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public -function addScopes( - parameters: Map, - scopes: string[], - addOidcScopes?: boolean, - defaultScopes?: Array -): void; +function addScopes(parameters: Map, scopes: string[], addOidcScopes?: boolean, defaultScopes?: Array): void; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (ae-incompatible-release-tags) The symbol "addServerTelemetry" is marked as @public, but its signature references "ServerTelemetryManager" which is marked as @internal @@ -543,10 +454,7 @@ function addScopes( // Warning: (ae-missing-release-tag) "addServerTelemetry" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public -function addServerTelemetry( - parameters: Map, - serverTelemetryManager: ServerTelemetryManager -): void; +function addServerTelemetry(parameters: Map, serverTelemetryManager: ServerTelemetryManager): void; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (ae-missing-release-tag) "addSid" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -684,8 +592,7 @@ const AuthenticationScheme: { }; // @public (undocumented) -type AuthenticationScheme = - (typeof AuthenticationScheme)[keyof typeof AuthenticationScheme]; +type AuthenticationScheme = (typeof AuthenticationScheme)[keyof typeof AuthenticationScheme]; // Warning: (ae-missing-release-tag) "AuthError" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // @@ -702,9 +609,12 @@ export class AuthError extends Error { } declare namespace AuthErrorCodes { - export { unexpectedError, postRequestFailed }; + export { + unexpectedError, + postRequestFailed + } } -export { AuthErrorCodes }; +export { AuthErrorCodes } // Warning: (ae-internal-missing-underscore) The name "AuthOptions" should be prefixed with an underscore because the declaration is marked as @internal // @@ -723,26 +633,13 @@ export type AuthOptions = { // // @internal export class Authority { - constructor( - authority: string, - networkInterface: INetworkModule, - cacheManager: ICacheManager, - authorityOptions: AuthorityOptions, - logger: Logger, - correlationId: string, - performanceClient: IPerformanceClient, - managedIdentity?: boolean - ); + constructor(authority: string, networkInterface: INetworkModule, cacheManager: ICacheManager, authorityOptions: AuthorityOptions, logger: Logger, correlationId: string, performanceClient: IPerformanceClient, managedIdentity?: boolean); // (undocumented) get authorityType(): AuthorityType; get authorizationEndpoint(): string; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen - static buildRegionalAuthorityString( - host: string, - region: string, - queryString?: string - ): string; + static buildRegionalAuthorityString(host: string, region: string, queryString?: string): string; // Warning: (ae-forgotten-export) The symbol "ICacheManager" needs to be exported by the entry point index.d.ts // // (undocumented) @@ -755,9 +652,7 @@ export class Authority { protected correlationId: string; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (ae-forgotten-export) The symbol "CloudDiscoveryMetadata" needs to be exported by the entry point index.d.ts - static createCloudDiscoveryMetadataFromHost( - host: string - ): CloudDiscoveryMetadata; + static createCloudDiscoveryMetadataFromHost(host: string): CloudDiscoveryMetadata; protected get defaultOpenIdConfigurationEndpoint(): string; // (undocumented) get deviceCodeEndpoint(): string; @@ -765,10 +660,7 @@ export class Authority { get endSessionEndpoint(): string; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen - static generateAuthority( - authorityString: string, - azureCloudOptions?: AzureCloudOptions - ): string; + static generateAuthority(authorityString: string, azureCloudOptions?: AzureCloudOptions): string; getPreferredCache(): string; get hostnameAndPort(): string; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen @@ -791,10 +683,7 @@ export class Authority { // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (ae-forgotten-export) The symbol "OpenIdConfigResponse" needs to be exported by the entry point index.d.ts - static replaceWithRegionalInformation( - metadata: OpenIdConfigResponse, - azureRegion: string - ): OpenIdConfigResponse; + static replaceWithRegionalInformation(metadata: OpenIdConfigResponse, azureRegion: string): OpenIdConfigResponse; resolveEndpointsAsync(): Promise; get selfSignedJwtAudience(): string; get tenant(): string; @@ -814,21 +703,21 @@ const AUTHORITY_METADATA_CACHE_KEY: string; const AUTHORITY_METADATA_REFRESH_TIME_SECONDS: number; declare namespace AuthorityFactory { - export { createDiscoveredInstance }; + export { + createDiscoveredInstance + } } -export { AuthorityFactory }; +export { AuthorityFactory } // Warning: (ae-missing-release-tag) "AuthorityGetCloudDiscoveryMetadataFromNetwork" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) -const AuthorityGetCloudDiscoveryMetadataFromNetwork = - "authorityGetCloudDiscoveryMetadataFromNetwork"; +const AuthorityGetCloudDiscoveryMetadataFromNetwork = "authorityGetCloudDiscoveryMetadataFromNetwork"; // Warning: (ae-missing-release-tag) "AuthorityGetEndpointMetadataFromNetwork" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) -const AuthorityGetEndpointMetadataFromNetwork = - "authorityGetEndpointMetadataFromNetwork"; +const AuthorityGetEndpointMetadataFromNetwork = "authorityGetEndpointMetadataFromNetwork"; // Warning: (ae-internal-missing-underscore) The name "AuthorityMetadataEntity" should be prefixed with an underscore because the declaration is marked as @internal // @@ -860,8 +749,7 @@ const AuthorityMetadataSource: { }; // @public (undocumented) -type AuthorityMetadataSource = - (typeof AuthorityMetadataSource)[keyof typeof AuthorityMetadataSource]; +type AuthorityMetadataSource = (typeof AuthorityMetadataSource)[keyof typeof AuthorityMetadataSource]; // Warning: (ae-missing-release-tag) "authorityMismatch" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // @@ -903,8 +791,7 @@ export type AuthorityType = (typeof AuthorityType)[keyof typeof AuthorityType]; // Warning: (ae-missing-release-tag) "AuthorityUpdateCloudDiscoveryMetadata" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) -const AuthorityUpdateCloudDiscoveryMetadata = - "authorityUpdateCloudDiscoveryMetadata"; +const AuthorityUpdateCloudDiscoveryMetadata = "authorityUpdateCloudDiscoveryMetadata"; // Warning: (ae-missing-release-tag) "AuthorityUpdateEndpointMetadata" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // @@ -914,8 +801,7 @@ const AuthorityUpdateEndpointMetadata = "authorityUpdateEndpointMetadata"; // Warning: (ae-missing-release-tag) "AuthorityUpdateMetadataWithRegionalInformation" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) -const AuthorityUpdateMetadataWithRegionalInformation = - "authorityUpdateMetadataWithRegionalInformation"; +const AuthorityUpdateMetadataWithRegionalInformation = "authorityUpdateMetadataWithRegionalInformation"; // Warning: (ae-missing-release-tag) "authorityUriInsecure" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // @@ -931,17 +817,10 @@ const AUTHORIZATION_PENDING = "authorization_pending"; // // @internal export class AuthorizationCodeClient { - constructor( - configuration: ClientConfiguration, - performanceClient: IPerformanceClient - ); + constructor(configuration: ClientConfiguration, performanceClient: IPerformanceClient); // Warning: (tsdoc-code-span-missing-delimiter) The code span is missing its closing backtick // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen - acquireToken( - request: CommonAuthorizationCodeRequest, - apiId: number, - authCodePayload?: AuthorizationCodePayload - ): Promise; + acquireToken(request: CommonAuthorizationCodeRequest, apiId: number, authCodePayload?: AuthorizationCodePayload): Promise; // (undocumented) authority: Authority; // (undocumented) @@ -967,14 +846,12 @@ export class AuthorizationCodeClient { // Warning: (ae-missing-release-tag) "AuthorizationCodeClientExecutePostToTokenEndpoint" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) -const AuthorizationCodeClientExecutePostToTokenEndpoint = - "authorizationCodeClientExecutePostToTokenEndpoint"; +const AuthorizationCodeClientExecutePostToTokenEndpoint = "authorizationCodeClientExecutePostToTokenEndpoint"; // Warning: (ae-missing-release-tag) "authorizationCodeMissingFromServerResponse" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) -const authorizationCodeMissingFromServerResponse = - "authorization_code_missing_from_server_response"; +const authorizationCodeMissingFromServerResponse = "authorization_code_missing_from_server_response"; // Warning: (ae-missing-release-tag) "AuthorizationCodePayload" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // @@ -995,8 +872,8 @@ declare namespace AuthorizeProtocol { getStandardAuthorizeRequestParameters, getAuthorizeUrl, getAuthorizationCodePayload, - validateAuthorizationResponse, - }; + validateAuthorizationResponse + } } // Warning: (ae-missing-release-tag) "AuthorizeResponse" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -1029,9 +906,14 @@ export type AuthorizeResponse = { const authTimeNotFound = "auth_time_not_found"; declare namespace AuthToken { - export { extractTokenClaims, isKmsi, getJWSPayload, checkMaxAge }; + export { + extractTokenClaims, + isKmsi, + getJWSPayload, + checkMaxAge + } } -export { AuthToken }; +export { AuthToken } // Warning: (ae-missing-release-tag) "AZURE_REGION_AUTO_DISCOVER_FLAG" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // @@ -1052,8 +934,7 @@ export const AzureCloudInstance: { }; // @public (undocumented) -export type AzureCloudInstance = - (typeof AzureCloudInstance)[keyof typeof AzureCloudInstance]; +export type AzureCloudInstance = (typeof AzureCloudInstance)[keyof typeof AzureCloudInstance]; // Warning: (ae-missing-release-tag) "AzureCloudOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // @@ -1129,65 +1010,37 @@ const BROKER_REDIRECT_URI = "brk_redirect_uri"; // Warning: (ae-missing-release-tag) "buildAccountToCache" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) -export function buildAccountToCache( - cacheStorage: CacheManager, - authority: Authority, - homeAccountId: string, - base64Decode: (input: string) => string, - correlationId: string, - idTokenClaims?: TokenClaims, - clientInfo?: string, - environment?: string, - claimsTenantId?: string | null, - authCodePayload?: AuthorizationCodePayload, - nativeAccountId?: string, - logger?: Logger, - performanceClient?: IPerformanceClient -): AccountEntity; +export function buildAccountToCache(cacheStorage: CacheManager, authority: Authority, homeAccountId: string, base64Decode: (input: string) => string, correlationId: string, idTokenClaims?: TokenClaims, clientInfo?: string, environment?: string, claimsTenantId?: string | null, authCodePayload?: AuthorizationCodePayload, nativeAccountId?: string, logger?: Logger, performanceClient?: IPerformanceClient): AccountEntity; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (ae-incompatible-release-tags) The symbol "buildClientConfiguration" is marked as @public, but its signature references "ClientConfiguration" which is marked as @internal // Warning: (ae-missing-release-tag) "buildClientConfiguration" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public -export function buildClientConfiguration( - input: ClientConfiguration -): CommonClientConfiguration; +export function buildClientConfiguration(input: ClientConfiguration): CommonClientConfiguration; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (ae-missing-release-tag) "buildClientInfo" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public -export function buildClientInfo( - rawClientInfo: string, - base64Decode: (input: string) => string -): ClientInfo; +export function buildClientInfo(rawClientInfo: string, base64Decode: (input: string) => string): ClientInfo; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (ae-missing-release-tag) "buildClientInfoFromHomeAccountId" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public -export function buildClientInfoFromHomeAccountId( - homeAccountId: string -): ClientInfo; +export function buildClientInfoFromHomeAccountId(homeAccountId: string): ClientInfo; // Warning: (ae-missing-release-tag) "buildStaticAuthorityOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) -export function buildStaticAuthorityOptions( - authOptions: Partial -): StaticAuthorityOptions; +export function buildStaticAuthorityOptions(authOptions: Partial): StaticAuthorityOptions; // Warning: (ae-missing-release-tag) "buildTenantProfile" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public -export function buildTenantProfile( - homeAccountId: string, - localAccountId: string, - tenantId: string, - idTokenClaims?: TokenClaims -): TenantProfile; +export function buildTenantProfile(homeAccountId: string, localAccountId: string, tenantId: string, idTokenClaims?: TokenClaims): TenantProfile; // Warning: (ae-missing-release-tag) "CACHE_ACCOUNT_TYPE_ADFS" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // @@ -1224,9 +1077,12 @@ export class CacheError extends Error { } declare namespace CacheErrorCodes { - export { cacheQuotaExceeded, cacheErrorUnknown }; + export { + cacheQuotaExceeded, + cacheErrorUnknown + } } -export { CacheErrorCodes }; +export { CacheErrorCodes } // Warning: (ae-missing-release-tag) "cacheErrorUnknown" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // @@ -1250,40 +1106,26 @@ declare namespace CacheHelpers { generateAuthorityMetadataExpiresAt, updateAuthorityEndpointMetadata, updateCloudDiscoveryMetadata, - isAuthorityMetadataExpired, - }; + isAuthorityMetadataExpired + } } -export { CacheHelpers }; +export { CacheHelpers } // Warning: (ae-internal-missing-underscore) The name "CacheManager" should be prefixed with an underscore because the declaration is marked as @internal // // @internal export abstract class CacheManager implements ICacheManager { - constructor( - clientId: string, - cryptoImpl: ICrypto, - logger: Logger, - performanceClient: IPerformanceClient, - staticAuthorityOptions?: StaticAuthorityOptions - ); + constructor(clientId: string, cryptoImpl: ICrypto, logger: Logger, performanceClient: IPerformanceClient, staticAuthorityOptions?: StaticAuthorityOptions); // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen - accessTokenKeyMatchesFilter( - inputKey: string, - filter: CredentialFilter, - keyMustContainAllScopes: boolean - ): boolean; + accessTokenKeyMatchesFilter(inputKey: string, filter: CredentialFilter, keyMustContainAllScopes: boolean): boolean; // (undocumented) protected clientId: string; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen - credentialMatchesFilter( - entity: ValidCredentialType, - filter: CredentialFilter, - correlationId: string - ): boolean; + credentialMatchesFilter(entity: ValidCredentialType, filter: CredentialFilter, correlationId: string): boolean; // (undocumented) protected cryptoImpl: ICrypto; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen @@ -1299,72 +1141,34 @@ export abstract class CacheManager implements ICacheManager { // Warning: (tsdoc-param-tag-with-invalid-type) The @param block should not include a JSDoc-style '{type}' // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (tsdoc-param-tag-with-invalid-type) The @param block should not include a JSDoc-style '{type}' - getAccessToken( - account: AccountInfo, - request: BaseAuthRequest, - tokenKeys?: TokenKeys, - targetRealm?: string - ): AccessTokenEntity | null; - // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen - abstract getAccessTokenCredential( - accessTokenKey: string, - correlationId: string - ): AccessTokenEntity | null; - // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen - getAccessTokensByFilter( - filter: CredentialFilter, - correlationId: string - ): AccessTokenEntity[]; - // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen - abstract getAccount( - accountKey: string, - correlationId: string - ): AccountEntity | null; - getAccountInfoFilteredBy( - accountFilter: AccountFilter, - correlationId: string - ): AccountInfo | null; + getAccessToken(account: AccountInfo, request: BaseAuthRequest, tokenKeys?: TokenKeys, targetRealm?: string): AccessTokenEntity | null; + // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen + abstract getAccessTokenCredential(accessTokenKey: string, correlationId: string): AccessTokenEntity | null; + // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen + getAccessTokensByFilter(filter: CredentialFilter, correlationId: string): AccessTokenEntity[]; + // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen + abstract getAccount(accountKey: string, correlationId: string): AccountEntity | null; + getAccountInfoFilteredBy(accountFilter: AccountFilter, correlationId: string): AccountInfo | null; abstract getAccountKeys(): string[]; - getAccountsFilteredBy( - accountFilter: AccountFilter, - correlationId: string - ): AccountEntity[]; - getAllAccounts( - accountFilter: AccountFilter | undefined, - correlationId: string - ): AccountInfo[]; + getAccountsFilteredBy(accountFilter: AccountFilter, correlationId: string): AccountEntity[]; + getAllAccounts(accountFilter: AccountFilter | undefined, correlationId: string): AccountInfo[]; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen - abstract getAppMetadata( - appMetadataKey: string, - correlationId: string - ): AppMetadataEntity | null; + abstract getAppMetadata(appMetadataKey: string, correlationId: string): AppMetadataEntity | null; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (ae-forgotten-export) The symbol "AppMetadataFilter" needs to be exported by the entry point index.d.ts - getAppMetadataFilteredBy( - filter: AppMetadataFilter, - correlationId: string - ): AppMetadataCache; + getAppMetadataFilteredBy(filter: AppMetadataFilter, correlationId: string): AppMetadataCache; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen - abstract getAuthorityMetadata( - key: string, - correlationId: string - ): AuthorityMetadataEntity | null; + abstract getAuthorityMetadata(key: string, correlationId: string): AuthorityMetadataEntity | null; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen - getAuthorityMetadataByAlias( - host: string, - correlationId: string - ): AuthorityMetadataEntity | null; + getAuthorityMetadataByAlias(host: string, correlationId: string): AuthorityMetadataEntity | null; // (undocumented) abstract getAuthorityMetadataKeys(): Array; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen - getBaseAccountInfo( - accountFilter: AccountFilter, - correlationId: string - ): AccountInfo | null; + getBaseAccountInfo(accountFilter: AccountFilter, correlationId: string): AccountInfo | null; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (tsdoc-param-tag-with-invalid-type) The @param block should not include a JSDoc-style '{type}' // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen @@ -1375,23 +1179,11 @@ export abstract class CacheManager implements ICacheManager { // Warning: (tsdoc-param-tag-with-invalid-type) The @param block should not include a JSDoc-style '{type}' // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (tsdoc-param-tag-with-invalid-type) The @param block should not include a JSDoc-style '{type}' - getIdToken( - account: AccountInfo, - correlationId: string, - tokenKeys?: TokenKeys, - targetRealm?: string - ): IdTokenEntity | null; - // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen - abstract getIdTokenCredential( - idTokenKey: string, - correlationId: string - ): IdTokenEntity | null; - // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen - getIdTokensByFilter( - filter: CredentialFilter, - correlationId: string, - tokenKeys?: TokenKeys - ): Map; + getIdToken(account: AccountInfo, correlationId: string, tokenKeys?: TokenKeys, targetRealm?: string): IdTokenEntity | null; + // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen + abstract getIdTokenCredential(idTokenKey: string, correlationId: string): IdTokenEntity | null; + // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen + getIdTokensByFilter(filter: CredentialFilter, correlationId: string, tokenKeys?: TokenKeys): Map; abstract getKeys(): string[]; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (tsdoc-param-tag-with-invalid-type) The @param block should not include a JSDoc-style '{type}' @@ -1403,36 +1195,19 @@ export abstract class CacheManager implements ICacheManager { // Warning: (tsdoc-param-tag-with-invalid-type) The @param block should not include a JSDoc-style '{type}' // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (tsdoc-param-tag-with-invalid-type) The @param block should not include a JSDoc-style '{type}' - getRefreshToken( - account: AccountInfo, - familyRT: boolean, - correlationId: string, - tokenKeys?: TokenKeys - ): RefreshTokenEntity | null; + getRefreshToken(account: AccountInfo, familyRT: boolean, correlationId: string, tokenKeys?: TokenKeys): RefreshTokenEntity | null; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen - abstract getRefreshTokenCredential( - refreshTokenKey: string, - correlationId: string - ): RefreshTokenEntity | null; + abstract getRefreshTokenCredential(refreshTokenKey: string, correlationId: string): RefreshTokenEntity | null; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen - abstract getServerTelemetry( - serverTelemetryKey: string, - correlationId: string - ): ServerTelemetryEntity | null; + abstract getServerTelemetry(serverTelemetryKey: string, correlationId: string): ServerTelemetryEntity | null; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen - abstract getThrottlingCache( - throttlingCacheKey: string, - correlationId: string - ): ThrottlingEntity | null; + abstract getThrottlingCache(throttlingCacheKey: string, correlationId: string): ThrottlingEntity | null; abstract getTokenKeys(): TokenKeys; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen - idTokenKeyMatchesFilter( - inputKey: string, - filter: CredentialFilter - ): boolean; + idTokenKeyMatchesFilter(inputKey: string, filter: CredentialFilter): boolean; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen isAppMetadataFOCI(environment: string, correlationId: string): boolean; @@ -1440,16 +1215,10 @@ export abstract class CacheManager implements ICacheManager { protected isAuthorityMetadata(key: string): boolean; // (undocumented) protected performanceClient: IPerformanceClient; - readAppMetadataFromCache( - environment: string, - correlationId: string - ): AppMetadataEntity | null; + readAppMetadataFromCache(environment: string, correlationId: string): AppMetadataEntity | null; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen - refreshTokenKeyMatchesFilter( - inputKey: string, - filter: CredentialFilter - ): boolean; + refreshTokenKeyMatchesFilter(inputKey: string, filter: CredentialFilter): boolean; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen removeAccessToken(key: string, correlationId: string): void; @@ -1471,70 +1240,32 @@ export abstract class CacheManager implements ICacheManager { // Warning: (tsdoc-param-tag-with-invalid-type) The @param block should not include a JSDoc-style '{type}' // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (tsdoc-param-tag-with-invalid-type) The @param block should not include a JSDoc-style '{type}' - saveCacheRecord( - cacheRecord: CacheRecord, - correlationId: string, - kmsi: boolean, - apiId: number, - storeInCache?: StoreInCache - ): Promise; + saveCacheRecord(cacheRecord: CacheRecord, correlationId: string, kmsi: boolean, apiId: number, storeInCache?: StoreInCache): Promise; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen - abstract setAccessTokenCredential( - accessToken: AccessTokenEntity, - correlationId: string, - kmsi: boolean - ): Promise; + abstract setAccessTokenCredential(accessToken: AccessTokenEntity, correlationId: string, kmsi: boolean): Promise; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen - abstract setAccount( - account: AccountEntity, - correlationId: string, - kmsi: boolean, - apiId: number - ): Promise; + abstract setAccount(account: AccountEntity, correlationId: string, kmsi: boolean, apiId: number): Promise; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen - abstract setAppMetadata( - appMetadata: AppMetadataEntity, - correlationId: string - ): void; + abstract setAppMetadata(appMetadata: AppMetadataEntity, correlationId: string): void; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen - abstract setAuthorityMetadata( - key: string, - value: AuthorityMetadataEntity, - correlationId: string - ): void; + abstract setAuthorityMetadata(key: string, value: AuthorityMetadataEntity, correlationId: string): void; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen - abstract setIdTokenCredential( - idToken: IdTokenEntity, - correlationId: string, - kmsi: boolean - ): Promise; + abstract setIdTokenCredential(idToken: IdTokenEntity, correlationId: string, kmsi: boolean): Promise; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen - abstract setRefreshTokenCredential( - refreshToken: RefreshTokenEntity, - correlationId: string, - kmsi: boolean - ): Promise; + abstract setRefreshTokenCredential(refreshToken: RefreshTokenEntity, correlationId: string, kmsi: boolean): Promise; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen - abstract setServerTelemetry( - serverTelemetryKey: string, - serverTelemetry: ServerTelemetryEntity, - correlationId: string - ): void; + abstract setServerTelemetry(serverTelemetryKey: string, serverTelemetry: ServerTelemetryEntity, correlationId: string): void; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen - abstract setThrottlingCache( - throttlingCacheKey: string, - throttlingCache: ThrottlingEntity, - correlationId: string - ): void; + abstract setThrottlingCache(throttlingCacheKey: string, throttlingCache: ThrottlingEntity, correlationId: string): void; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen static toObject(obj: T, json: object): T; @@ -1638,8 +1369,7 @@ export const CcsCredentialType: { }; // @public (undocumented) -export type CcsCredentialType = - (typeof CcsCredentialType)[keyof typeof CcsCredentialType]; +export type CcsCredentialType = (typeof CcsCredentialType)[keyof typeof CcsCredentialType]; // Warning: (ae-missing-release-tag) "checkMaxAge" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // @@ -1666,8 +1396,7 @@ const ClaimsRequestKeys: { }; // @public (undocumented) -type ClaimsRequestKeys = - (typeof ClaimsRequestKeys)[keyof typeof ClaimsRequestKeys]; +type ClaimsRequestKeys = (typeof ClaimsRequestKeys)[keyof typeof ClaimsRequestKeys]; // Warning: (ae-missing-release-tag) "claimsRequestParsingError" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // @@ -1735,9 +1464,7 @@ export type ClientAssertion = { // Warning: (ae-missing-release-tag) "ClientAssertionCallback" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) -export type ClientAssertionCallback = ( - config: ClientAssertionConfig -) => Promise; +export type ClientAssertionCallback = (config: ClientAssertionConfig) => Promise; // Warning: (ae-missing-release-tag) "ClientAssertionConfig" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // @@ -1748,9 +1475,11 @@ export type ClientAssertionConfig = { }; declare namespace ClientAssertionUtils { - export { getClientAssertion }; + export { + getClientAssertion + } } -export { ClientAssertionUtils }; +export { ClientAssertionUtils } // Warning: (ae-missing-release-tag) "ClientAuthError" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // @@ -1799,10 +1528,10 @@ declare namespace ClientAuthErrorCodes { nestedAppAuthBridgeDisabled, platformBrokerError, resourceParameterRequired, - misplacedResourceParam, - }; + misplacedResourceParam + } } -export { ClientAuthErrorCodes }; +export { ClientAuthErrorCodes } // Warning: (ae-internal-missing-underscore) The name "ClientConfiguration" should be prefixed with an underscore because the declaration is marked as @internal // @@ -1854,10 +1583,10 @@ declare namespace ClientConfigurationErrorCodes { authorityMismatch, invalidRequestMethodForEAR, invalidPlatformBrokerConfiguration, - issuerValidationFailed, - }; + issuerValidationFailed + } } -export { ClientConfigurationErrorCodes }; +export { ClientConfigurationErrorCodes } // Warning: (ae-missing-release-tag) "ClientInfo" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // @@ -2098,8 +1827,8 @@ declare namespace Constants { JsonWebTokenTypes, ONE_DAY_IN_MS, DEFAULT_TOKEN_RENEWAL_OFFSET_SEC, - EncodingTypes, - }; + EncodingTypes + } } // Warning: (ae-missing-release-tag) "CONSUMER_UTID" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -2118,21 +1847,7 @@ const CONSUMER_UTID = "9188040d-6c67-4c5b-b112-36a304b66dad"; // Warning: (ae-missing-release-tag) "createAccessTokenEntity" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public -function createAccessTokenEntity( - homeAccountId: string, - environment: string, - accessToken: string, - clientId: string, - tenantId: string, - scopes: string, - expiresOn: number, - extExpiresOn: number, - base64Decode: (input: string) => string, - refreshOn?: number, - tokenType?: Constants_2.AuthenticationScheme, - userAssertionHash?: string, - keyId?: string -): AccessTokenEntity; +function createAccessTokenEntity(homeAccountId: string, environment: string, accessToken: string, clientId: string, tenantId: string, scopes: string, expiresOn: number, extExpiresOn: number, base64Decode: (input: string) => string, refreshOn?: number, tokenType?: Constants_2.AuthenticationScheme, userAssertionHash?: string, keyId?: string): AccessTokenEntity; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (ae-incompatible-release-tags) The symbol "createAccountEntity" is marked as @public, but its signature references "Authority" which is marked as @internal @@ -2142,20 +1857,16 @@ function createAccessTokenEntity( // Warning: (ae-missing-release-tag) "createAccountEntity" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public -function createAccountEntity( - accountDetails: { - homeAccountId: string; - idTokenClaims?: TokenClaims; - clientInfo?: string; - cloudGraphHostName?: string; - msGraphHost?: string; - environment?: string; - nativeAccountId?: string; - tenantProfiles?: Array; - }, - authority: Authority, - base64Decode?: (input: string) => string -): AccountEntity; +function createAccountEntity(accountDetails: { + homeAccountId: string; + idTokenClaims?: TokenClaims; + clientInfo?: string; + cloudGraphHostName?: string; + msGraphHost?: string; + environment?: string; + nativeAccountId?: string; + tenantProfiles?: Array; +}, authority: Authority, base64Decode?: (input: string) => string): AccountEntity; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen @@ -2165,19 +1876,12 @@ function createAccountEntity( // Warning: (ae-missing-release-tag) "createAccountEntityFromAccountInfo" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public -function createAccountEntityFromAccountInfo( - accountInfo: AccountInfo, - cloudGraphHostName?: string, - msGraphHost?: string -): AccountEntity; +function createAccountEntityFromAccountInfo(accountInfo: AccountInfo, cloudGraphHostName?: string, msGraphHost?: string): AccountEntity; // Warning: (ae-missing-release-tag) "createAuthError" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) -export function createAuthError( - code: string, - additionalMessage?: string -): AuthError; +export function createAuthError(code: string, additionalMessage?: string): AuthError; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (ae-missing-release-tag) "createCacheError" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -2188,17 +1892,12 @@ export function createCacheError(e: unknown): CacheError; // Warning: (ae-missing-release-tag) "createClientAuthError" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) -export function createClientAuthError( - errorCode: string, - additionalMessage?: string -): ClientAuthError; +export function createClientAuthError(errorCode: string, additionalMessage?: string): ClientAuthError; // Warning: (ae-missing-release-tag) "createClientConfigurationError" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) -export function createClientConfigurationError( - errorCode: string -): ClientConfigurationError; +export function createClientConfigurationError(errorCode: string): ClientConfigurationError; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen @@ -2209,15 +1908,7 @@ export function createClientConfigurationError( // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // // @internal -function createDiscoveredInstance( - authorityUri: string, - networkClient: INetworkModule, - cacheManager: ICacheManager, - authorityOptions: AuthorityOptions, - logger: Logger, - correlationId: string, - performanceClient: IPerformanceClient -): Promise; +function createDiscoveredInstance(authorityUri: string, networkClient: INetworkModule, cacheManager: ICacheManager, authorityOptions: AuthorityOptions, logger: Logger, correlationId: string, performanceClient: IPerformanceClient): Promise; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen @@ -2226,31 +1917,17 @@ function createDiscoveredInstance( // Warning: (ae-missing-release-tag) "createIdTokenEntity" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public -function createIdTokenEntity( - homeAccountId: string, - environment: string, - idToken: string, - clientId: string, - tenantId: string -): IdTokenEntity; +function createIdTokenEntity(homeAccountId: string, environment: string, idToken: string, clientId: string, tenantId: string): IdTokenEntity; // Warning: (ae-missing-release-tag) "createInteractionRequiredAuthError" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public -export function createInteractionRequiredAuthError( - errorCode: string, - errorMessage?: string -): InteractionRequiredAuthError; +export function createInteractionRequiredAuthError(errorCode: string, errorMessage?: string): InteractionRequiredAuthError; // Warning: (ae-missing-release-tag) "createNetworkError" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public -export function createNetworkError( - error: AuthError, - httpStatus?: number, - responseHeaders?: Record, - additionalError?: Error -): NetworkError; +export function createNetworkError(error: AuthError, httpStatus?: number, responseHeaders?: Record, additionalError?: Error): NetworkError; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen @@ -2259,35 +1936,18 @@ export function createNetworkError( // Warning: (ae-missing-release-tag) "createRefreshTokenEntity" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public -function createRefreshTokenEntity( - homeAccountId: string, - environment: string, - refreshToken: string, - clientId: string, - familyId?: string, - userAssertionHash?: string, - expiresOn?: number -): RefreshTokenEntity; +function createRefreshTokenEntity(homeAccountId: string, environment: string, refreshToken: string, clientId: string, familyId?: string, userAssertionHash?: string, expiresOn?: number): RefreshTokenEntity; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (ae-missing-release-tag) "createTokenQueryParameters" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public -function createTokenQueryParameters( - request: BaseAuthRequest, - clientId: string, - redirectUri: string, - performanceClient: IPerformanceClient -): string; +function createTokenQueryParameters(request: BaseAuthRequest, clientId: string, redirectUri: string, performanceClient: IPerformanceClient): string; // Warning: (ae-missing-release-tag) "createTokenRequestHeaders" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public -function createTokenRequestHeaders( - logger: Logger, - preventCorsPreflight: boolean, - ccsCred?: CcsCredential -): Record; +function createTokenRequestHeaders(logger: Logger, preventCorsPreflight: boolean, ccsCred?: CcsCredential): Record; // Warning: (ae-missing-release-tag) "CredentialEntity" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // @@ -2526,10 +2186,7 @@ const endSessionEndpointNotSupported = "end_session_endpoint_not_supported"; // Warning: (ae-missing-release-tag) "enforceResourceParameter" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public -export function enforceResourceParameter( - isMcp: boolean, - request: Partial -): void; +export function enforceResourceParameter(isMcp: boolean, request: Partial): void; // Warning: (ae-missing-release-tag) "ERROR" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // @@ -2552,18 +2209,7 @@ const ERROR_DESCRIPTION = "error_description"; // Warning: (ae-missing-release-tag) "executePostToTokenEndpoint" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public -function executePostToTokenEndpoint( - tokenEndpoint: string, - queryString: string, - headers: Record, - thumbprint: RequestThumbprint, - correlationId: string, - cacheManager: CacheManager, - networkClient: INetworkModule, - logger: Logger, - performanceClient: IPerformanceClient, - serverTelemetryManager: ServerTelemetryManager | null -): Promise>; +function executePostToTokenEndpoint(tokenEndpoint: string, queryString: string, headers: Record, thumbprint: RequestThumbprint, correlationId: string, cacheManager: CacheManager, networkClient: INetworkModule, logger: Logger, performanceClient: IPerformanceClient, serverTelemetryManager: ServerTelemetryManager | null): Promise>; // Warning: (ae-missing-release-tag) "EXPIRES_IN" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // @@ -2573,17 +2219,7 @@ const EXPIRES_IN = "expires_in"; // Warning: (ae-missing-release-tag) "ExternalTokenResponse" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public -export type ExternalTokenResponse = Pick< - ServerAuthorizationTokenResponse, - | "token_type" - | "scope" - | "expires_in" - | "ext_expires_in" - | "id_token" - | "refresh_token" - | "refresh_token_expires_in" - | "foci" -> & { +export type ExternalTokenResponse = Pick & { access_token?: string; client_info?: string; }; @@ -2592,10 +2228,7 @@ export type ExternalTokenResponse = Pick< // Warning: (ae-missing-release-tag) "extractTokenClaims" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public -function extractTokenClaims( - encodedToken: string, - base64Decode: (input: string) => string -): TokenClaims; +function extractTokenClaims(encodedToken: string, base64Decode: (input: string) => string): TokenClaims; // Warning: (ae-missing-release-tag) "FOCI" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // @@ -2638,24 +2271,14 @@ function generateAuthorityMetadataExpiresAt(): number; // Warning: (ae-missing-release-tag) "generateHomeAccountId" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public -function generateHomeAccountId( - serverClientInfo: string, - authType: AuthorityType, - logger: Logger, - cryptoObj: ICrypto, - correlationId: string, - idTokenClaims?: TokenClaims -): string; +function generateHomeAccountId(serverClientInfo: string, authType: AuthorityType, logger: Logger, cryptoObj: ICrypto, correlationId: string, idTokenClaims?: TokenClaims): string; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (ae-missing-release-tag) "generateLibraryState" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public -function generateLibraryState( - cryptoObj: ICrypto, - meta?: Record -): string; +function generateLibraryState(cryptoObj: ICrypto, meta?: Record): string; // Warning: (ae-incompatible-release-tags) The symbol "getAccountInfo" is marked as @public, but its signature references "AccountEntity" which is marked as @internal // Warning: (ae-incompatible-release-tags) The symbol "getAccountInfo" is marked as @public, but its signature references "AccountEntity" which is marked as @internal @@ -2674,10 +2297,7 @@ const GetAuthCodeUrl = "getAuthCodeUrl"; // Warning: (ae-missing-release-tag) "getAuthorizationCodePayload" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public -function getAuthorizationCodePayload( - serverParams: AuthorizeResponse, - cachedState: string -): AuthorizationCodePayload; +function getAuthorizationCodePayload(serverParams: AuthorizeResponse, cachedState: string): AuthorizationCodePayload; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen @@ -2686,26 +2306,17 @@ function getAuthorizationCodePayload( // Warning: (ae-missing-release-tag) "getAuthorizeUrl" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public -function getAuthorizeUrl( - authority: Authority, - requestParameters: Map -): string; +function getAuthorizeUrl(authority: Authority, requestParameters: Map): string; // Warning: (ae-missing-release-tag) "getClientAssertion" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) -export function getClientAssertion( - clientAssertion: string | ClientAssertionCallback, - clientId: string, - tokenEndpoint?: string -): Promise; +export function getClientAssertion(clientAssertion: string | ClientAssertionCallback, clientId: string, tokenEndpoint?: string): Promise; // Warning: (ae-missing-release-tag) "getDeserializedResponse" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public -function getDeserializedResponse( - responseString: string -): AuthorizeResponse | null; +function getDeserializedResponse(responseString: string): AuthorizeResponse | null; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (ae-missing-release-tag) "getJWSPayload" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -2716,11 +2327,7 @@ function getJWSPayload(authToken: string): string; // Warning: (ae-missing-release-tag) "getRequestThumbprint" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) -export function getRequestThumbprint( - clientId: string, - request: BaseAuthRequest, - homeAccountId?: string -): RequestThumbprint; +export function getRequestThumbprint(clientId: string, request: BaseAuthRequest, homeAccountId?: string): RequestThumbprint; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen @@ -2731,20 +2338,13 @@ export function getRequestThumbprint( // Warning: (ae-missing-release-tag) "getStandardAuthorizeRequestParameters" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public -function getStandardAuthorizeRequestParameters( - authOptions: AuthOptions, - request: CommonAuthorizationUrlRequest, - logger: Logger, - performanceClient?: IPerformanceClient -): Map; +function getStandardAuthorizeRequestParameters(authOptions: AuthOptions, request: CommonAuthorizationUrlRequest, logger: Logger, performanceClient?: IPerformanceClient): Map; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (ae-missing-release-tag) "getTenantIdFromIdTokenClaims" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public -export function getTenantIdFromIdTokenClaims( - idTokenClaims?: TokenClaims -): string | null; +export function getTenantIdFromIdTokenClaims(idTokenClaims?: TokenClaims): string | null; // Warning: (ae-missing-release-tag) "GRANT_TYPE" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // @@ -2913,9 +2513,7 @@ type HttpMethod = (typeof HttpMethod)[keyof typeof HttpMethod]; // @public export interface IAppTokenProvider { // (undocumented) - ( - appTokenProviderParameters: AppTokenProviderParameters - ): Promise; + (appTokenProviderParameters: AppTokenProviderParameters): Promise; } // Warning: (ae-missing-release-tag) "ICachePlugin" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -2943,21 +2541,14 @@ export interface ICrypto { // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen encodeKid(inputKid: string): string; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen - getPublicKeyThumbprint( - request: SignedHttpRequestParameters - ): Promise; + getPublicKeyThumbprint(request: SignedHttpRequestParameters): Promise; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen hashString(plainText: string): Promise; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen removeTokenBindingKey(kid: string, correlationId: string): Promise; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen - signJwt( - payload: SignedHttpRequest, - kid: string, - shrOptions?: ShrOptions, - correlationId?: string - ): Promise; + signJwt(payload: SignedHttpRequest, kid: string, shrOptions?: ShrOptions, correlationId?: string): Promise; } // Warning: (ae-missing-release-tag) "ID_TOKEN" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -3003,8 +2594,7 @@ export interface ILoggerCallback { // Warning: (ae-missing-release-tag) "IMDS_ENDPOINT" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) -const IMDS_ENDPOINT = - "http://169.254.169.254/metadata/instance/compute/location"; +const IMDS_ENDPOINT = "http://169.254.169.254/metadata/instance/compute/location"; // Warning: (ae-missing-release-tag) "IMDS_TIMEOUT" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // @@ -3021,22 +2611,13 @@ const IMDS_VERSION = "2020-06-01"; // @public (undocumented) export interface INativeBrokerPlugin { // (undocumented) - acquireTokenInteractive( - request: NativeRequest, - windowHandle?: Buffer - ): Promise; + acquireTokenInteractive(request: NativeRequest, windowHandle?: Buffer): Promise; // (undocumented) acquireTokenSilent(request: NativeRequest): Promise; // (undocumented) - getAccountById( - accountId: string, - correlationId: string - ): Promise; + getAccountById(accountId: string, correlationId: string): Promise; // (undocumented) - getAllAccounts( - clientId: string, - correlationId: string - ): Promise; + getAllAccounts(clientId: string, correlationId: string): Promise; // (undocumented) isBrokerAvailable: boolean; // (undocumented) @@ -3052,30 +2633,23 @@ export interface INativeBrokerPlugin { export interface INetworkModule { // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen - sendGetRequestAsync( - url: string, - options?: NetworkRequestOptions, - timeout?: number - ): Promise>; + sendGetRequestAsync(url: string, options?: NetworkRequestOptions, timeout?: number): Promise>; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen - sendPostRequestAsync( - url: string, - options?: NetworkRequestOptions - ): Promise>; + sendPostRequestAsync(url: string, options?: NetworkRequestOptions): Promise>; } // Warning: (ae-missing-release-tag) "InProgressPerformanceEvent" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) export type InProgressPerformanceEvent = { - end: ( - event?: Partial, - error?: unknown, - account?: AccountInfo - ) => PerformanceEvent | null; + end: (event?: Partial, error?: unknown, account?: AccountInfo) => PerformanceEvent | null; discard: () => void; - add: (fields: { [key: string]: {} | undefined }) => void; - increment: (fields: { [key: string]: number | undefined }) => void; + add: (fields: { + [key: string]: {} | undefined; + }) => void; + increment: (fields: { + [key: string]: number | undefined; + }) => void; event: PerformanceEvent; }; @@ -3087,11 +2661,7 @@ const INSTANCE_AWARE = "instance_aware"; // Warning: (ae-missing-release-tag) "instrumentBrokerParams" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) -function instrumentBrokerParams( - parameters: Map, - correlationId?: string, - performanceClient?: IPerformanceClient -): void; +function instrumentBrokerParams(parameters: Map, correlationId?: string, performanceClient?: IPerformanceClient): void; // @public const interactionRequired = "interaction_required"; @@ -3100,16 +2670,7 @@ const interactionRequired = "interaction_required"; // // @public export class InteractionRequiredAuthError extends AuthError { - constructor( - errorCode?: string, - errorMessage?: string, - subError?: string, - timestamp?: string, - traceId?: string, - correlationId?: string, - claims?: string, - errorNo?: string - ); + constructor(errorCode?: string, errorMessage?: string, subError?: string, timestamp?: string, traceId?: string, correlationId?: string, claims?: string, errorNo?: string); claims: string; readonly errorNo?: string; timestamp: string; @@ -3127,10 +2688,10 @@ declare namespace InteractionRequiredAuthErrorCodes { consentRequired, loginRequired, badToken, - interruptedUser, - }; + interruptedUser + } } -export { InteractionRequiredAuthErrorCodes }; +export { InteractionRequiredAuthErrorCodes } // @public const interruptedUser = "interrupted_user"; @@ -3188,8 +2749,7 @@ const invalidCodeChallengeMethod = "invalid_code_challenge_method"; // Warning: (ae-missing-release-tag) "invalidPlatformBrokerConfiguration" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) -const invalidPlatformBrokerConfiguration = - "invalid_platform_broker_configuration"; +const invalidPlatformBrokerConfiguration = "invalid_platform_broker_configuration"; // Warning: (ae-missing-release-tag) "invalidRequestMethodForEAR" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // @@ -3209,13 +2769,7 @@ const invalidState = "invalid_state"; // Warning: (ae-internal-missing-underscore) The name "invoke" should be prefixed with an underscore because the declaration is marked as @internal // // @internal -export const invoke: ( - callback: (...args: T) => U, - eventName: string, - logger: Logger, - telemetryClient: IPerformanceClient, - correlationId: string -) => (...args: T) => U; +export const invoke: (callback: (...args: T) => U, eventName: string, logger: Logger, telemetryClient: IPerformanceClient, correlationId: string) => (...args: T) => U; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen @@ -3225,25 +2779,16 @@ export const invoke: ( // Warning: (ae-internal-missing-underscore) The name "invokeAsync" should be prefixed with an underscore because the declaration is marked as @internal // // @internal -export const invokeAsync: ( - callback: (...args: T) => Promise, - eventName: string, - logger: Logger, - telemetryClient: IPerformanceClient, - correlationId: string -) => (...args: T) => Promise; +export const invokeAsync: (callback: (...args: T) => Promise, eventName: string, logger: Logger, telemetryClient: IPerformanceClient, correlationId: string) => (...args: T) => Promise; // Warning: (ae-missing-release-tag) "IPerformanceClient" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) export interface IPerformanceClient { // (undocumented) - addFields( - fields: { - [key: string]: {} | undefined; - }, - correlationId: string - ): void; + addFields(fields: { + [key: string]: {} | undefined; + }, correlationId: string): void; // (undocumented) addPerformanceCallback(callback: PerformanceCallbackFunction): string; // (undocumented) @@ -3255,19 +2800,13 @@ export interface IPerformanceClient { // (undocumented) generateId(): string; // (undocumented) - incrementFields( - fields: { - [key: string]: number | undefined; - }, - correlationId: string - ): void; + incrementFields(fields: { + [key: string]: number | undefined; + }, correlationId: string): void; // (undocumented) removePerformanceCallback(callbackId: string): boolean; // (undocumented) - startMeasurement( - measureName: string, - correlationId?: string - ): InProgressPerformanceEvent; + startMeasurement(measureName: string, correlationId?: string): InProgressPerformanceEvent; } // Warning: (ae-missing-release-tag) "IPerformanceMeasurement" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -3319,10 +2858,7 @@ function isAuthorityMetadataExpired(metadata: AuthorityMetadataEntity): boolean; // Warning: (ae-missing-release-tag) "isCacheExpired" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public -function isCacheExpired( - lastUpdatedAt: string, - cacheRetentionDays: number -): boolean; +function isCacheExpired(lastUpdatedAt: string, cacheRetentionDays: number): boolean; // Warning: (ae-missing-release-tag) "isCredentialEntity" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // @@ -3440,8 +2976,7 @@ const JsonWebTokenTypes: { }; // @public (undocumented) -type JsonWebTokenTypes = - (typeof JsonWebTokenTypes)[keyof typeof JsonWebTokenTypes]; +type JsonWebTokenTypes = (typeof JsonWebTokenTypes)[keyof typeof JsonWebTokenTypes]; // Warning: (ae-missing-release-tag) "keyIdMissing" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // @@ -3465,19 +3000,11 @@ export type LibraryStateObject = { // // @public export class Logger { - constructor( - loggerOptions: LoggerOptions, - packageName?: string, - packageVersion?: string - ); + constructor(loggerOptions: LoggerOptions, packageName?: string, packageVersion?: string); clone(packageName: string, packageVersion: string): Logger; error(message: string, correlationId: string): void; errorPii(message: string, correlationId: string): void; - executeCallback( - level: LogLevel, - message: string, - containsPii: boolean - ): void; + executeCallback(level: LogLevel, message: string, containsPii: boolean): void; info(message: string, correlationId: string): void; infoPii(message: string, correlationId: string): void; isPiiLoggingEnabled(): boolean; @@ -3520,7 +3047,7 @@ export enum LogLevel { // (undocumented) Verbose = 3, // (undocumented) - Warning = 1, + Warning = 1 } // Warning: (ae-missing-release-tag) "LOGOUT_HINT" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -3632,11 +3159,7 @@ const NetworkClientSendPostRequestAsync = "networkClientSendPostRequestAsync"; // // @public export class NetworkError extends AuthError { - constructor( - error: AuthError, - httpStatus?: number, - responseHeaders?: Record - ); + constructor(error: AuthError, httpStatus?: number, responseHeaders?: Record); // (undocumented) error: AuthError; // (undocumented) @@ -3736,8 +3259,7 @@ const OAuthResponseType: { }; // @public (undocumented) -type OAuthResponseType = - (typeof OAuthResponseType)[keyof typeof OAuthResponseType]; +type OAuthResponseType = (typeof OAuthResponseType)[keyof typeof OAuthResponseType]; // Warning: (ae-missing-release-tag) "OBO_ASSERTION" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // @@ -3792,10 +3314,7 @@ const openIdConfigError = "openid_config_error"; // Warning: (ae-missing-release-tag) "parseRequestState" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public -function parseRequestState( - base64Decode: (input: string) => string, - state: string -): RequestStateObject; +function parseRequestState(base64Decode: (input: string) => string, state: string): RequestStateObject; // Warning: (ae-missing-release-tag) "PasswordGrantConstants" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // Warning: (ae-missing-release-tag) "PasswordGrantConstants" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -3807,8 +3326,7 @@ const PasswordGrantConstants: { }; // @public (undocumented) -type PasswordGrantConstants = - (typeof PasswordGrantConstants)[keyof typeof PasswordGrantConstants]; +type PasswordGrantConstants = (typeof PasswordGrantConstants)[keyof typeof PasswordGrantConstants]; // Warning: (ae-missing-release-tag) "PerformanceCallbackFunction" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // @@ -3834,23 +3352,12 @@ export abstract class PerformanceClient implements IPerformanceClient { // Warning: (tsdoc-param-tag-with-invalid-type) The @param block should not include a JSDoc-style '{type}' // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (tsdoc-param-tag-with-invalid-type) The @param block should not include a JSDoc-style '{type}' - constructor( - clientId: string, - authority: string, - logger: Logger, - libraryName: string, - libraryVersion: string, - applicationTelemetry: ApplicationTelemetry, - intFields?: Set - ); - // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen - // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen - addFields( - fields: { - [key: string]: {} | undefined; - }, - correlationId: string - ): void; + constructor(clientId: string, authority: string, logger: Logger, libraryName: string, libraryVersion: string, applicationTelemetry: ApplicationTelemetry, intFields?: Set); + // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen + // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen + addFields(fields: { + [key: string]: {} | undefined; + }, correlationId: string): void; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (tsdoc-param-tag-with-invalid-type) The @param block should not include a JSDoc-style '{type}' // Warning: (tsdoc-escape-right-brace) The "}" character should be escaped using a backslash to avoid confusion with a TSDoc inline tag @@ -3885,11 +3392,7 @@ export abstract class PerformanceClient implements IPerformanceClient { // Warning: (tsdoc-param-tag-with-invalid-type) The @param block should not include a JSDoc-style '{type}' // Warning: (tsdoc-escape-right-brace) The "}" character should be escaped using a backslash to avoid confusion with a TSDoc inline tag // Warning: (tsdoc-malformed-inline-tag) Expecting a TSDoc tag starting with "{@" - endMeasurement( - event: PerformanceEvent, - error?: unknown, - account?: AccountInfo - ): PerformanceEvent | null; + endMeasurement(event: PerformanceEvent, error?: unknown, account?: AccountInfo): PerformanceEvent | null; // Warning: (tsdoc-undefined-tag) The TSDoc tag "@protected" is not defined in this configuration // Warning: (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag // Warning: (tsdoc-escape-right-brace) The "}" character should be escaped using a backslash to avoid confusion with a TSDoc inline tag @@ -3908,12 +3411,9 @@ export abstract class PerformanceClient implements IPerformanceClient { // Warning: (tsdoc-param-tag-with-invalid-type) The @param block should not include a JSDoc-style '{type}' // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (tsdoc-param-tag-with-invalid-type) The @param block should not include a JSDoc-style '{type}' - incrementFields( - fields: { - [key: string]: number | undefined; - }, - correlationId: string - ): void; + incrementFields(fields: { + [key: string]: number | undefined; + }, correlationId: string): void; // (undocumented) protected intFields: Set; // (undocumented) @@ -3934,10 +3434,7 @@ export abstract class PerformanceClient implements IPerformanceClient { // Warning: (tsdoc-param-tag-with-invalid-type) The @param block should not include a JSDoc-style '{type}' // Warning: (tsdoc-escape-right-brace) The "}" character should be escaped using a backslash to avoid confusion with a TSDoc inline tag // Warning: (tsdoc-malformed-inline-tag) Expecting a TSDoc tag starting with "{@" - startMeasurement( - measureName: string, - correlationId?: string - ): InProgressPerformanceEvent; + startMeasurement(measureName: string, correlationId?: string): InProgressPerformanceEvent; } // Warning: (tsdoc-undefined-tag) The TSDoc tag "@export" is not defined in this configuration @@ -4120,8 +3617,8 @@ declare namespace PerformanceEvents { RegionDiscoveryGetRegionFromIMDS, RegionDiscoveryGetCurrentVersion, CacheManagerGetRefreshToken, - SetUserData, - }; + SetUserData + } } // Warning: (tsdoc-undefined-tag) The TSDoc tag "@export" is not defined in this configuration @@ -4139,8 +3636,7 @@ export const PerformanceEventStatus: { }; // @public (undocumented) -export type PerformanceEventStatus = - (typeof PerformanceEventStatus)[keyof typeof PerformanceEventStatus]; +export type PerformanceEventStatus = (typeof PerformanceEventStatus)[keyof typeof PerformanceEventStatus]; // Warning: (ae-missing-release-tag) "PersistentCacheKeys" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // Warning: (ae-missing-release-tag) "PersistentCacheKeys" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -4151,8 +3647,7 @@ const PersistentCacheKeys: { }; // @public (undocumented) -type PersistentCacheKeys = - (typeof PersistentCacheKeys)[keyof typeof PersistentCacheKeys]; +type PersistentCacheKeys = (typeof PersistentCacheKeys)[keyof typeof PersistentCacheKeys]; // Warning: (ae-missing-release-tag) "PkceCodes" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // @@ -4171,12 +3666,7 @@ const pkceParamsMissing = "pkce_params_missing"; // // @public export class PlatformBrokerError extends AuthError { - constructor( - errorStatus: string, - errorContext: string, - errorCode: number, - errorTag: number - ); + constructor(errorStatus: string, errorContext: string, errorCode: number, errorTag: number); statusCode: number; tag: string; } @@ -4198,10 +3688,7 @@ export class PopTokenGenerator { constructor(cryptoUtils: ICrypto, performanceClient: IPerformanceClient); // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (ae-forgotten-export) The symbol "ReqCnfData" needs to be exported by the entry point index.d.ts - generateCnf( - request: SignedHttpRequestParameters, - logger: Logger - ): Promise; + generateCnf(request: SignedHttpRequestParameters, logger: Logger): Promise; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (ae-forgotten-export) The symbol "ReqCnf" needs to be exported by the entry point index.d.ts generateKid(request: SignedHttpRequestParameters): Promise; @@ -4209,19 +3696,10 @@ export class PopTokenGenerator { // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen - signPayload( - payload: string, - keyId: string, - request: SignedHttpRequestParameters, - claims?: object - ): Promise; + signPayload(payload: string, keyId: string, request: SignedHttpRequestParameters, claims?: object): Promise; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen - signPopToken( - accessToken: string, - keyId: string, - request: SignedHttpRequestParameters - ): Promise; + signPopToken(accessToken: string, keyId: string, request: SignedHttpRequestParameters): Promise; } // Warning: (ae-missing-release-tag) "POST_LOGOUT_URI" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -4270,7 +3748,11 @@ export const ProtocolMode: { export type ProtocolMode = (typeof ProtocolMode)[keyof typeof ProtocolMode]; declare namespace ProtocolUtils { - export { setRequestState, generateLibraryState, parseRequestState }; + export { + setRequestState, + generateLibraryState, + parseRequestState + } } // Warning: (ae-missing-release-tag) "REDIRECT_URI" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -4302,20 +3784,11 @@ export type RefreshTokenCache = Record; // // @internal export class RefreshTokenClient { - constructor( - configuration: ClientConfiguration, - performanceClient: IPerformanceClient - ); + constructor(configuration: ClientConfiguration, performanceClient: IPerformanceClient); // (undocumented) - acquireToken( - request: CommonRefreshTokenRequest, - apiId: number - ): Promise; + acquireToken(request: CommonRefreshTokenRequest, apiId: number): Promise; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen - acquireTokenByRefreshToken( - request: CommonSilentFlowRequest, - apiId: number - ): Promise; + acquireTokenByRefreshToken(request: CommonSilentFlowRequest, apiId: number): Promise; // (undocumented) authority: Authority; // (undocumented) @@ -4342,26 +3815,22 @@ const RefreshTokenClientAcquireToken = "refreshTokenClientAcquireToken"; // Warning: (ae-missing-release-tag) "RefreshTokenClientAcquireTokenWithCachedRefreshToken" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public -const RefreshTokenClientAcquireTokenWithCachedRefreshToken = - "refreshTokenClientAcquireTokenWithCachedRefreshToken"; +const RefreshTokenClientAcquireTokenWithCachedRefreshToken = "refreshTokenClientAcquireTokenWithCachedRefreshToken"; // Warning: (ae-missing-release-tag) "RefreshTokenClientCreateTokenRequestBody" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public -const RefreshTokenClientCreateTokenRequestBody = - "refreshTokenClientCreateTokenRequestBody"; +const RefreshTokenClientCreateTokenRequestBody = "refreshTokenClientCreateTokenRequestBody"; // Warning: (ae-missing-release-tag) "RefreshTokenClientExecutePostToTokenEndpoint" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) -const RefreshTokenClientExecutePostToTokenEndpoint = - "refreshTokenClientExecutePostToTokenEndpoint"; +const RefreshTokenClientExecutePostToTokenEndpoint = "refreshTokenClientExecutePostToTokenEndpoint"; // Warning: (ae-missing-release-tag) "RefreshTokenClientExecuteTokenRequest" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public -const RefreshTokenClientExecuteTokenRequest = - "refreshTokenClientExecuteTokenRequest"; +const RefreshTokenClientExecuteTokenRequest = "refreshTokenClientExecuteTokenRequest"; // Warning: (ae-missing-release-tag) "RefreshTokenEntity" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // @@ -4406,8 +3875,7 @@ const RegionDiscoveryOutcomes: { }; // @public (undocumented) -type RegionDiscoveryOutcomes = - (typeof RegionDiscoveryOutcomes)[keyof typeof RegionDiscoveryOutcomes]; +type RegionDiscoveryOutcomes = (typeof RegionDiscoveryOutcomes)[keyof typeof RegionDiscoveryOutcomes]; // Warning: (ae-missing-release-tag) "RegionDiscoverySources" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // Warning: (ae-missing-release-tag) "RegionDiscoverySources" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -4421,8 +3889,7 @@ const RegionDiscoverySources: { }; // @public (undocumented) -type RegionDiscoverySources = - (typeof RegionDiscoverySources)[keyof typeof RegionDiscoverySources]; +type RegionDiscoverySources = (typeof RegionDiscoverySources)[keyof typeof RegionDiscoverySources]; // Warning: (ae-missing-release-tag) "REQ_CNF" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // @@ -4487,8 +3954,8 @@ declare namespace RequestParameterBuilder { addLogoutHint, addBrokerParameters, addEARParameters, - addResource, - }; + addResource + } } // Warning: (ae-missing-release-tag) "RequestStateObject" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -4546,15 +4013,7 @@ const RESPONSE_TYPE = "response_type"; // // @internal export class ResponseHandler { - constructor( - clientId: string, - cacheStorage: CacheManager, - cryptoObj: ICrypto, - logger: Logger, - performanceClient: IPerformanceClient, - serializableCache: ISerializableTokenCache | null, - persistencePlugin: ICachePlugin | null - ); + constructor(clientId: string, cacheStorage: CacheManager, cryptoObj: ICrypto, logger: Logger, performanceClient: IPerformanceClient, serializableCache: ISerializableTokenCache | null, persistencePlugin: ICachePlugin | null); // Warning: (tsdoc-undefined-tag) The TSDoc tag "@AuthenticationResult" is not defined in this configuration // Warning: (tsdoc-undefined-tag) The TSDoc tag "@CacheRecord" is not defined in this configuration // Warning: (tsdoc-undefined-tag) The TSDoc tag "@IdToken" is not defined in this configuration @@ -4562,40 +4021,14 @@ export class ResponseHandler { // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen - static generateAuthenticationResult( - cryptoObj: ICrypto, - authority: Authority, - cacheRecord: CacheRecord, - fromTokenCache: boolean, - request: BaseAuthRequest, - performanceClient: IPerformanceClient, - idTokenClaims?: TokenClaims, - requestState?: RequestStateObject, - serverTokenResponse?: ServerAuthorizationTokenResponse, - requestId?: string - ): Promise; + static generateAuthenticationResult(cryptoObj: ICrypto, authority: Authority, cacheRecord: CacheRecord, fromTokenCache: boolean, request: BaseAuthRequest, performanceClient: IPerformanceClient, idTokenClaims?: TokenClaims, requestState?: RequestStateObject, serverTokenResponse?: ServerAuthorizationTokenResponse, requestId?: string): Promise; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen - handleServerTokenResponse( - serverTokenResponse: ServerAuthorizationTokenResponse, - authority: Authority, - reqTimestamp: number, - request: BaseAuthRequest, - apiId: number, - authCodePayload?: AuthorizationCodePayload, - userAssertionHash?: string, - handlingRefreshTokenResponse?: boolean, - forceCacheRefreshTokenResponse?: boolean, - serverRequestId?: string - ): Promise; + handleServerTokenResponse(serverTokenResponse: ServerAuthorizationTokenResponse, authority: Authority, reqTimestamp: number, request: BaseAuthRequest, apiId: number, authCodePayload?: AuthorizationCodePayload, userAssertionHash?: string, handlingRefreshTokenResponse?: boolean, forceCacheRefreshTokenResponse?: boolean, serverRequestId?: string): Promise; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen - validateTokenResponse( - serverResponse: ServerAuthorizationTokenResponse, - correlationId: string, - refreshAccessToken?: boolean - ): void; + validateTokenResponse(serverResponse: ServerAuthorizationTokenResponse, correlationId: string, refreshAccessToken?: boolean): void; } // Warning: (ae-missing-release-tag) "ResponseMode" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -4664,16 +4097,7 @@ export class ScopeSet { // Warning: (ae-missing-release-tag) "sendPostRequest" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public -function sendPostRequest( - thumbprint: RequestThumbprint, - tokenEndpoint: string, - options: NetworkRequestOptions, - correlationId: string, - cacheManager: CacheManager, - networkClient: INetworkModule, - logger: Logger, - performanceClient: IPerformanceClient -): Promise>; +function sendPostRequest(thumbprint: RequestThumbprint, tokenEndpoint: string, options: NetworkRequestOptions, correlationId: string, cacheManager: CacheManager, networkClient: INetworkModule, logger: Logger, performanceClient: IPerformanceClient): Promise>; // Warning: (ae-missing-release-tag) "SERVER_TELEM_CACHE_KEY" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // @@ -4770,13 +4194,7 @@ export type ServerDeviceCodeResponse = { // // @public export class ServerError extends AuthError { - constructor( - errorCode?: string, - errorMessage?: string, - subError?: string, - errorNo?: string, - status?: number - ); + constructor(errorCode?: string, errorMessage?: string, subError?: string, errorNo?: string, status?: number); readonly errorNo?: string; readonly status?: number; } @@ -4795,10 +4213,7 @@ export type ServerTelemetryEntity = { // // @internal (undocumented) export class ServerTelemetryManager { - constructor( - telemetryRequest: ServerTelemetryRequest, - cacheManager: CacheManager - ); + constructor(telemetryRequest: ServerTelemetryRequest, cacheManager: CacheManager); // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen cacheFailedRequest(error: unknown): void; // (undocumented) @@ -4816,16 +4231,12 @@ export class ServerTelemetryManager { // (undocumented) static makeExtraSkuString(params: SkuParams): string; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen - static maxErrorsToSend( - serverTelemetryEntity: ServerTelemetryEntity - ): number; + static maxErrorsToSend(serverTelemetryEntity: ServerTelemetryEntity): number; setCacheOutcome(cacheOutcome: Constants_2.CacheOutcome): void; // (undocumented) setNativeBrokerErrorCode(errorCode: string): void; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen - updateRegionDiscoveryMetadata( - regionDiscoveryMetadata: RegionDiscoveryMetadata - ): void; + updateRegionDiscoveryMetadata(regionDiscoveryMetadata: RegionDiscoveryMetadata): void; } // Warning: (ae-missing-release-tag) "ServerTelemetryRequest" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -4851,11 +4262,7 @@ const SESSION_STATE = "session_state"; // Warning: (ae-missing-release-tag) "setRequestState" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public -function setRequestState( - cryptoObj: ICrypto, - userState?: string, - meta?: Record -): string; +function setRequestState(cryptoObj: ICrypto, userState?: string, meta?: Record): string; // Warning: (ae-missing-release-tag) "SetUserData" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // @@ -4897,14 +4304,7 @@ export type SignedHttpRequest = { // Warning: (ae-missing-release-tag) "SignedHttpRequestParameters" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) -export type SignedHttpRequestParameters = Pick< - BaseAuthRequest, - | "resourceRequestMethod" - | "resourceRequestUri" - | "shrClaims" - | "shrNonce" - | "shrOptions" -> & { +export type SignedHttpRequestParameters = Pick & { correlationId: string; }; @@ -4912,14 +4312,9 @@ export type SignedHttpRequestParameters = Pick< // // @internal (undocumented) export class SilentFlowClient { - constructor( - configuration: ClientConfiguration, - performanceClient: IPerformanceClient - ); + constructor(configuration: ClientConfiguration, performanceClient: IPerformanceClient); // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen - acquireCachedToken( - request: CommonSilentFlowRequest - ): Promise<[AuthenticationResult, CacheOutcome]>; + acquireCachedToken(request: CommonSilentFlowRequest): Promise<[AuthenticationResult, CacheOutcome]>; // (undocumented) authority: Authority; // (undocumented) @@ -4941,8 +4336,7 @@ export class SilentFlowClient { // Warning: (ae-missing-release-tag) "SilentFlowClientGenerateResultFromCacheRecord" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) -const SilentFlowClientGenerateResultFromCacheRecord = - "silentFlowClientGenerateResultFromCacheRecord"; +const SilentFlowClientGenerateResultFromCacheRecord = "silentFlowClientGenerateResultFromCacheRecord"; // Warning: (ae-missing-release-tag) "SKU" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // @@ -4967,9 +4361,7 @@ const stateNotFound = "state_not_found"; // Warning: (ae-missing-release-tag) "StaticAuthorityOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) -export type StaticAuthorityOptions = Partial< - Pick -> & { +export type StaticAuthorityOptions = Partial> & { canonicalAuthority?: string; cloudDiscoveryMetadata?: CloudInstanceDiscoveryResponse; }; @@ -5045,10 +4437,7 @@ export class StubPerformanceClient implements IPerformanceClient { // (undocumented) removePerformanceCallback(): boolean; // (undocumented) - startMeasurement( - measureName: string, - correlationId?: string | undefined - ): InProgressPerformanceEvent; + startMeasurement(measureName: string, correlationId?: string | undefined): InProgressPerformanceEvent; } // Warning: (ae-missing-release-tag) "SubMeasurement" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -5072,18 +4461,12 @@ export type SystemOptions = { // Warning: (ae-missing-release-tag) "tenantIdMatchesHomeTenant" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public -export function tenantIdMatchesHomeTenant( - tenantId?: string, - homeAccountId?: string -): boolean; +export function tenantIdMatchesHomeTenant(tenantId?: string, homeAccountId?: string): boolean; // Warning: (ae-missing-release-tag) "TenantProfile" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public -export type TenantProfile = Pick< - AccountInfo, - "tenantId" | "localAccountId" | "name" | "username" | "loginHint" | "upn" -> & { +export type TenantProfile = Pick & { isHomeTenant?: boolean; }; @@ -5115,38 +4498,20 @@ export class ThrottlingUtils { // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen static calculateThrottleTime(throttleTime: number): number; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen - static checkResponseForRetryAfter( - response: NetworkResponse - ): boolean; + static checkResponseForRetryAfter(response: NetworkResponse): boolean; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen - static checkResponseStatus( - response: NetworkResponse - ): boolean; + static checkResponseStatus(response: NetworkResponse): boolean; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen static generateThrottlingStorageKey(thumbprint: RequestThumbprint): string; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen - static postProcess( - cacheManager: CacheManager, - thumbprint: RequestThumbprint, - response: NetworkResponse, - correlationId: string - ): void; + static postProcess(cacheManager: CacheManager, thumbprint: RequestThumbprint, response: NetworkResponse, correlationId: string): void; // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen - static preProcess( - cacheManager: CacheManager, - thumbprint: RequestThumbprint, - correlationId: string - ): void; + static preProcess(cacheManager: CacheManager, thumbprint: RequestThumbprint, correlationId: string): void; // (undocumented) - static removeThrottle( - cacheManager: CacheManager, - clientId: string, - request: BaseAuthRequest, - homeAccountIdentifier?: string - ): void; + static removeThrottle(cacheManager: CacheManager, clientId: string, request: BaseAuthRequest, homeAccountIdentifier?: string): void; } declare namespace TimeUtils { @@ -5157,10 +4522,10 @@ declare namespace TimeUtils { isTokenExpired, isCacheExpired, wasClockTurnedBack, - delay, - }; + delay + } } -export { TimeUtils }; +export { TimeUtils } // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (ae-missing-release-tag) "toDateFromSeconds" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -5225,14 +4590,13 @@ type TokenClaims = { tenant_region_scope?: string; tenant_region_sub_scope?: string; }; -export { TokenClaims as IdTokenClaims }; -export { TokenClaims }; +export { TokenClaims as IdTokenClaims } +export { TokenClaims } // Warning: (ae-missing-release-tag) "tokenClaimsCnfRequiredForSignedJwt" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) -const tokenClaimsCnfRequiredForSignedJwt = - "token_claims_cnf_required_for_signedjwt"; +const tokenClaimsCnfRequiredForSignedJwt = "token_claims_cnf_required_for_signedjwt"; // Warning: (ae-missing-release-tag) "TokenKeys" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // @@ -5253,8 +4617,8 @@ declare namespace TokenProtocol { createTokenRequestHeaders, createTokenQueryParameters, executePostToTokenEndpoint, - sendPostRequest, - }; + sendPostRequest + } } // Warning: (ae-missing-release-tag) "tokenRefreshRequired" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -5276,9 +4640,6 @@ function toSecondsFromDate(date: Date): number; // @public const uiNotAllowed = "ui_not_allowed"; -// @public -const uxNotAllowed = "ux_not_allowed"; - // Warning: (ae-missing-release-tag) "unexpectedCredentialType" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) @@ -5299,34 +4660,21 @@ const untrustedAuthority = "untrusted_authority"; // Warning: (ae-missing-release-tag) "updateAccountTenantProfileData" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public -export function updateAccountTenantProfileData( - baseAccountInfo: AccountInfo, - tenantProfile?: TenantProfile, - idTokenClaims?: TokenClaims, - idTokenSecret?: string -): AccountInfo; +export function updateAccountTenantProfileData(baseAccountInfo: AccountInfo, tenantProfile?: TenantProfile, idTokenClaims?: TokenClaims, idTokenSecret?: string): AccountInfo; // Warning: (ae-incompatible-release-tags) The symbol "updateAuthorityEndpointMetadata" is marked as @public, but its signature references "AuthorityMetadataEntity" which is marked as @internal // Warning: (ae-incompatible-release-tags) The symbol "updateAuthorityEndpointMetadata" is marked as @public, but its signature references "AuthorityMetadataEntity" which is marked as @internal // Warning: (ae-missing-release-tag) "updateAuthorityEndpointMetadata" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) -function updateAuthorityEndpointMetadata( - authorityMetadata: AuthorityMetadataEntity, - updatedValues: OpenIdConfigResponse, - fromNetwork: boolean -): void; +function updateAuthorityEndpointMetadata(authorityMetadata: AuthorityMetadataEntity, updatedValues: OpenIdConfigResponse, fromNetwork: boolean): void; // Warning: (ae-incompatible-release-tags) The symbol "updateCloudDiscoveryMetadata" is marked as @public, but its signature references "AuthorityMetadataEntity" which is marked as @internal // Warning: (ae-incompatible-release-tags) The symbol "updateCloudDiscoveryMetadata" is marked as @public, but its signature references "AuthorityMetadataEntity" which is marked as @internal // Warning: (ae-missing-release-tag) "updateCloudDiscoveryMetadata" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) -function updateCloudDiscoveryMetadata( - authorityMetadata: AuthorityMetadataEntity, - updatedValues: CloudDiscoveryMetadata, - fromNetwork: boolean -): void; +function updateCloudDiscoveryMetadata(authorityMetadata: AuthorityMetadataEntity, updatedValues: CloudDiscoveryMetadata, fromNetwork: boolean): void; // Warning: (ae-missing-release-tag) "UpdateTokenEndpointAuthority" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // @@ -5380,47 +4728,38 @@ declare namespace UrlUtils { stripLeadingHashOrQuery, getDeserializedResponse, mapToQueryString, - normalizeUrlForComparison, - }; + normalizeUrlForComparison + } } -export { UrlUtils }; +export { UrlUtils } // Warning: (ae-missing-release-tag) "userCanceled" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) const userCanceled = "user_canceled"; +// Warning: (ae-unresolved-link) The @link reference could not be resolved: The package "@azure/msal-common" does not have an export "uiNotAllowed" +// Warning: (ae-unresolved-link) The @link reference could not be resolved: The package "@azure/msal-common" does not have an export "uiNotAllowed" +// +// @public @deprecated +const uxNotAllowed = "ux_not_allowed"; + // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (ae-missing-release-tag) "validateAuthorizationResponse" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public -function validateAuthorizationResponse( - serverResponse: AuthorizeResponse, - requestState: string -): void; +function validateAuthorizationResponse(serverResponse: AuthorizeResponse, requestState: string): void; // Warning: (ae-internal-missing-underscore) The name "ValidCacheType" should be prefixed with an underscore because the declaration is marked as @internal // // @internal -export type ValidCacheType = - | AccountEntity - | IdTokenEntity - | AccessTokenEntity - | RefreshTokenEntity - | AppMetadataEntity - | AuthorityMetadataEntity - | ServerTelemetryEntity - | ThrottlingEntity - | string; +export type ValidCacheType = AccountEntity | IdTokenEntity | AccessTokenEntity | RefreshTokenEntity | AppMetadataEntity | AuthorityMetadataEntity | ServerTelemetryEntity | ThrottlingEntity | string; // Warning: (ae-internal-missing-underscore) The name "ValidCredentialType" should be prefixed with an underscore because the declaration is marked as @internal // // @internal -export type ValidCredentialType = - | IdTokenEntity - | AccessTokenEntity - | RefreshTokenEntity; +export type ValidCredentialType = IdTokenEntity | AccessTokenEntity | RefreshTokenEntity; // Warning: (ae-missing-release-tag) "version" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // @@ -5658,4 +4997,5 @@ const X_MS_LIB_CAPABILITY_VALUE: string; // src/telemetry/performance/PerformanceEvent.ts:418:22 - (tsdoc-escape-right-brace) The "}" character should be escaped using a backslash to avoid confusion with a TSDoc inline tag // src/telemetry/performance/PerformanceEvent.ts:418:14 - (tsdoc-malformed-inline-tag) Expecting a TSDoc tag starting with "{@" // src/telemetry/performance/PerformanceEvent.ts:418:8 - (tsdoc-undefined-tag) The TSDoc tag "@type" is not defined in this configuration + ``` From 83ad45591cdf85db014d1e572ddb86baa482187a Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 29 May 2026 22:09:08 +0000 Subject: [PATCH 7/8] docs: fix uxNotAllowed deprecation link and refresh api review --- lib/msal-common/apiReview/msal-common.api.md | 4 ++-- .../src/error/InteractionRequiredAuthErrorCodes.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/msal-common/apiReview/msal-common.api.md b/lib/msal-common/apiReview/msal-common.api.md index e5d527a350..7152738a53 100644 --- a/lib/msal-common/apiReview/msal-common.api.md +++ b/lib/msal-common/apiReview/msal-common.api.md @@ -4738,8 +4738,8 @@ export { UrlUtils } // @public (undocumented) const userCanceled = "user_canceled"; -// Warning: (ae-unresolved-link) The @link reference could not be resolved: The package "@azure/msal-common" does not have an export "uiNotAllowed" -// Warning: (ae-unresolved-link) The @link reference could not be resolved: The package "@azure/msal-common" does not have an export "uiNotAllowed" +// Warning: (ae-unresolved-link) The @link reference could not be resolved: This type of declaration is not supported yet by the resolver +// Warning: (ae-unresolved-link) The @link reference could not be resolved: This type of declaration is not supported yet by the resolver // // @public @deprecated const uxNotAllowed = "ux_not_allowed"; diff --git a/lib/msal-common/src/error/InteractionRequiredAuthErrorCodes.ts b/lib/msal-common/src/error/InteractionRequiredAuthErrorCodes.ts index dad55218c1..ddbfdbed35 100644 --- a/lib/msal-common/src/error/InteractionRequiredAuthErrorCodes.ts +++ b/lib/msal-common/src/error/InteractionRequiredAuthErrorCodes.ts @@ -24,8 +24,8 @@ export const refreshTokenExpired = "refresh_token_expired"; */ export const uiNotAllowed = "ui_not_allowed"; /** - * Deprecated alias for {@link uiNotAllowed}. UI/UX is not allowed (e.g., blocked by policy), requiring alternate interaction. - * @deprecated Please use {@link uiNotAllowed}. + * Deprecated alias for {@link InteractionRequiredAuthErrorCodes.uiNotAllowed}. UI/UX is not allowed (e.g., blocked by policy), requiring alternate interaction. + * @deprecated Please use {@link InteractionRequiredAuthErrorCodes.uiNotAllowed}. * @public */ export const uxNotAllowed = "ux_not_allowed"; From ec90f2631c35adeeb5634e2a297d1c88ab410047 Mon Sep 17 00:00:00 2001 From: Lalima Sharda Date: Fri, 5 Jun 2026 12:03:58 -0700 Subject: [PATCH 8/8] removed ux_not_allowed error type completely --- ...er-57c391dc-e3ce-424d-9c05-d8ce12a0fd11.json | 6 +++--- ...on-8f93ce80-7488-4e50-a898-2edc8e5dd1b6.json | 6 +++--- docs/errors.md | 4 ---- .../broker/nativeBroker/NativeStatusCodes.ts | 1 - lib/msal-browser/src/error/NativeAuthError.ts | 1 - .../test/error/NativeAuthError.spec.ts | 17 ----------------- lib/msal-common/apiReview/msal-common.api.md | 7 ------- .../src/error/InteractionRequiredAuthError.ts | 2 -- .../error/InteractionRequiredAuthErrorCodes.ts | 7 ------- .../error/InteractionRequiredAuthError.spec.ts | 1 - 10 files changed, 6 insertions(+), 46 deletions(-) diff --git a/change/@azure-msal-browser-57c391dc-e3ce-424d-9c05-d8ce12a0fd11.json b/change/@azure-msal-browser-57c391dc-e3ce-424d-9c05-d8ce12a0fd11.json index 0609b94278..e8e48af171 100644 --- a/change/@azure-msal-browser-57c391dc-e3ce-424d-9c05-d8ce12a0fd11.json +++ b/change/@azure-msal-browser-57c391dc-e3ce-424d-9c05-d8ce12a0fd11.json @@ -1,7 +1,7 @@ { - "type": "patch", - "comment": "Deprecate uxNotAllowed alias in favor of uiNotAllowed [#8608](https://github.com/AzureAD/microsoft-authentication-library-for-js/pull/8608)", + "type": "minor", + "comment": "Rename uxNotAllowed error code to uiNotAllowed [#8608](https://github.com/AzureAD/microsoft-authentication-library-for-js/pull/8608)", "packageName": "@azure/msal-browser", "email": "198982749+Copilot@users.noreply.github.com", "dependentChangeType": "patch" -} +} \ No newline at end of file diff --git a/change/@azure-msal-common-8f93ce80-7488-4e50-a898-2edc8e5dd1b6.json b/change/@azure-msal-common-8f93ce80-7488-4e50-a898-2edc8e5dd1b6.json index b8bee4be88..1c2da6891b 100644 --- a/change/@azure-msal-common-8f93ce80-7488-4e50-a898-2edc8e5dd1b6.json +++ b/change/@azure-msal-common-8f93ce80-7488-4e50-a898-2edc8e5dd1b6.json @@ -1,7 +1,7 @@ { - "type": "patch", - "comment": "Deprecate uxNotAllowed alias in favor of uiNotAllowed [#8608](https://github.com/AzureAD/microsoft-authentication-library-for-js/pull/8608)", + "type": "minor", + "comment": "Rename uxNotAllowed error code to uiNotAllowed [#8608](https://github.com/AzureAD/microsoft-authentication-library-for-js/pull/8608)", "packageName": "@azure/msal-common", "email": "198982749+Copilot@users.noreply.github.com", "dependentChangeType": "patch" -} +} \ No newline at end of file diff --git a/docs/errors.md b/docs/errors.md index 8995b73e32..bff43d8e35 100644 --- a/docs/errors.md +++ b/docs/errors.md @@ -309,10 +309,6 @@ This error occurs when MSAL.js surpasses the allotted storage limit when attempt - `canShowUI` flag in Edge was set to false. User interaction required on web page. Please invoke an interactive API to resolve. -### `ux_not_allowed` - -- Deprecated alias for `ui_not_allowed`. - ### `interrupted_user` - The user could not be authenticated due to an interrupted state. Please invoke an interactive API to resolve. diff --git a/lib/msal-browser/src/broker/nativeBroker/NativeStatusCodes.ts b/lib/msal-browser/src/broker/nativeBroker/NativeStatusCodes.ts index 2ee75ef643..4d90420b36 100644 --- a/lib/msal-browser/src/broker/nativeBroker/NativeStatusCodes.ts +++ b/lib/msal-browser/src/broker/nativeBroker/NativeStatusCodes.ts @@ -12,4 +12,3 @@ export const PERSISTENT_ERROR = "PERSISTENT_ERROR"; export const DISABLED = "DISABLED"; export const ACCOUNT_UNAVAILABLE = "ACCOUNT_UNAVAILABLE"; export const UI_NOT_ALLOWED = "UI_NOT_ALLOWED"; -export const UX_NOT_ALLOWED = "UX_NOT_ALLOWED"; diff --git a/lib/msal-browser/src/error/NativeAuthError.ts b/lib/msal-browser/src/error/NativeAuthError.ts index 201283455b..382e0d3a75 100644 --- a/lib/msal-browser/src/error/NativeAuthError.ts +++ b/lib/msal-browser/src/error/NativeAuthError.ts @@ -100,7 +100,6 @@ export function createNativeAuthError( BrowserAuthErrorCodes.noNetworkConnectivity ); case NativeStatusCodes.UI_NOT_ALLOWED: - case NativeStatusCodes.UX_NOT_ALLOWED: return createInteractionRequiredAuthError( InteractionRequiredAuthErrorCodes.uiNotAllowed ); diff --git a/lib/msal-browser/test/error/NativeAuthError.spec.ts b/lib/msal-browser/test/error/NativeAuthError.spec.ts index 9114659814..e13d902871 100644 --- a/lib/msal-browser/test/error/NativeAuthError.spec.ts +++ b/lib/msal-browser/test/error/NativeAuthError.spec.ts @@ -143,23 +143,6 @@ describe("NativeAuthError Unit Tests", () => { ); }); - it("translates UX_NOT_ALLOWED status into corresponding InteractionRequiredError", () => { - const error = createNativeAuthError( - "interaction_required", - "interaction is required", - { - error: 1, - protocol_error: "testProtocolError", - properties: {}, - status: NativeStatusCode.UX_NOT_ALLOWED, - } - ); - expect(error).toBeInstanceOf(InteractionRequiredAuthError); - expect(error.errorCode).toBe( - InteractionRequiredAuthErrorCodes.uiNotAllowed - ); - }); - it("translates USER_CANCEL status into corresponding BrowserAuthError", () => { const error = createNativeAuthError( "user_cancel", diff --git a/lib/msal-common/apiReview/msal-common.api.md b/lib/msal-common/apiReview/msal-common.api.md index a046535955..2a852f3843 100644 --- a/lib/msal-common/apiReview/msal-common.api.md +++ b/lib/msal-common/apiReview/msal-common.api.md @@ -2683,7 +2683,6 @@ declare namespace InteractionRequiredAuthErrorCodes { nativeAccountUnavailable, refreshTokenExpired, uiNotAllowed, - uxNotAllowed, interactionRequired, consentRequired, loginRequired, @@ -4738,12 +4737,6 @@ export { UrlUtils } // @public (undocumented) const userCanceled = "user_canceled"; -// Warning: (ae-unresolved-link) The @link reference could not be resolved: This type of declaration is not supported yet by the resolver -// Warning: (ae-unresolved-link) The @link reference could not be resolved: This type of declaration is not supported yet by the resolver -// -// @public @deprecated -const uxNotAllowed = "ux_not_allowed"; - // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen // Warning: (ae-missing-release-tag) "validateAuthorizationResponse" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) diff --git a/lib/msal-common/src/error/InteractionRequiredAuthError.ts b/lib/msal-common/src/error/InteractionRequiredAuthError.ts index e540f405c7..7601279459 100644 --- a/lib/msal-common/src/error/InteractionRequiredAuthError.ts +++ b/lib/msal-common/src/error/InteractionRequiredAuthError.ts @@ -16,7 +16,6 @@ export const InteractionRequiredServerErrorMessage = [ InteractionRequiredAuthErrorCodes.loginRequired, InteractionRequiredAuthErrorCodes.badToken, InteractionRequiredAuthErrorCodes.uiNotAllowed, - InteractionRequiredAuthErrorCodes.uxNotAllowed, InteractionRequiredAuthErrorCodes.interruptedUser, ]; @@ -28,7 +27,6 @@ export const InteractionRequiredAuthSubErrorMessage = [ "consent_required", "bad_token", "ui_not_allowed", - "ux_not_allowed", "interrupted_user", ]; diff --git a/lib/msal-common/src/error/InteractionRequiredAuthErrorCodes.ts b/lib/msal-common/src/error/InteractionRequiredAuthErrorCodes.ts index ddbfdbed35..2bf5c3ae27 100644 --- a/lib/msal-common/src/error/InteractionRequiredAuthErrorCodes.ts +++ b/lib/msal-common/src/error/InteractionRequiredAuthErrorCodes.ts @@ -23,13 +23,6 @@ export const refreshTokenExpired = "refresh_token_expired"; * @public */ export const uiNotAllowed = "ui_not_allowed"; -/** - * Deprecated alias for {@link InteractionRequiredAuthErrorCodes.uiNotAllowed}. UI/UX is not allowed (e.g., blocked by policy), requiring alternate interaction. - * @deprecated Please use {@link InteractionRequiredAuthErrorCodes.uiNotAllowed}. - * @public - */ -export const uxNotAllowed = "ux_not_allowed"; - /** * Server-originated error code indicating interaction is required to complete the request. * @public diff --git a/lib/msal-common/test/error/InteractionRequiredAuthError.spec.ts b/lib/msal-common/test/error/InteractionRequiredAuthError.spec.ts index d0a2237cc1..acc805e346 100644 --- a/lib/msal-common/test/error/InteractionRequiredAuthError.spec.ts +++ b/lib/msal-common/test/error/InteractionRequiredAuthError.spec.ts @@ -106,7 +106,6 @@ describe("InteractionRequiredAuthError.ts Class Unit Tests", () => { InteractionRequiredAuthErrorCodes.refreshTokenExpired, InteractionRequiredAuthErrorCodes.badToken, InteractionRequiredAuthErrorCodes.uiNotAllowed, - InteractionRequiredAuthErrorCodes.uxNotAllowed, InteractionRequiredAuthErrorCodes.interruptedUser, ];