diff --git a/sdk/identity/identity-broker/src/index.ts b/sdk/identity/identity-broker/src/index.ts index 1c4d68411458..c8c2b4c99cf9 100644 --- a/sdk/identity/identity-broker/src/index.ts +++ b/sdk/identity/identity-broker/src/index.ts @@ -6,8 +6,6 @@ import { NativeBrokerPlugin } from "@azure/msal-node-extensions"; /** * A subset of the AzurePluginContext provided by \@azure/identity - * - * @internal */ interface AzurePluginContext { nativeBrokerPluginControl: NativeBrokerPluginControl; diff --git a/sdk/identity/identity-cache-persistence/src/platforms.ts b/sdk/identity/identity-cache-persistence/src/platforms.ts index 2e831e0ee253..afe22be5e4a6 100644 --- a/sdk/identity/identity-cache-persistence/src/platforms.ts +++ b/sdk/identity/identity-cache-persistence/src/platforms.ts @@ -20,7 +20,6 @@ import type { TokenCachePersistenceOptions } from "@azure/identity"; * - Darwin: '/Users/user/' * - Windows 8+: 'C:\Users\user\AppData\Local' * - Linux: '/home/user/.local/share' - * @internal */ const localApplicationDataFolder = process.env.APPDATA?.replace?.(/(.Roaming)*$/, "\\Local") ?? process.env.HOME!; @@ -63,7 +62,6 @@ export type MsalPersistenceOptions = Omit Promise; @@ -72,7 +70,6 @@ type MsalPersistenceFactory = (options?: MsalPersistenceOptions) => Promise' * - Windows 8+: 'C:\Users\user\AppData\Local\.IdentityService\' * - Linux: '/home/user/.IdentityService/' - * @internal */ function getPersistencePath(name: string): string { return path.join(defaultMsalValues.tokenCache.directory, name); diff --git a/sdk/identity/identity-vscode/src/index.ts b/sdk/identity/identity-vscode/src/index.ts index 44b5362db0a3..f6c58df7d667 100644 --- a/sdk/identity/identity-vscode/src/index.ts +++ b/sdk/identity/identity-vscode/src/index.ts @@ -20,8 +20,6 @@ interface VSCodeCredentialControl { * * Plugin authors are responsible for casting their plugin context values * to this type. - * - * @internal */ interface AzurePluginContext { vsCodeCredentialControl: VSCodeCredentialControl; diff --git a/sdk/identity/identity/src/credentials/defaultAzureCredential.ts b/sdk/identity/identity/src/credentials/defaultAzureCredential.ts index bd1c4574d957..2a5b4018b517 100644 --- a/sdk/identity/identity/src/credentials/defaultAzureCredential.ts +++ b/sdk/identity/identity/src/credentials/defaultAzureCredential.ts @@ -195,7 +195,7 @@ export class DefaultAzureCredential extends ChainedTokenCredential { } /** - * @internal This function checks that all environment variables in `options.requiredEnvVars` are set and non-empty. + * This function checks that all environment variables in `options.requiredEnvVars` are set and non-empty. * If any are missing or empty, it throws an error. */ function validateRequiredEnvVars(options?: DefaultAzureCredentialOptions) { diff --git a/sdk/identity/identity/src/msal/browserFlows/msalBrowserCommon.ts b/sdk/identity/identity/src/msal/browserFlows/msalBrowserCommon.ts index 58ed5e292d35..a4c19ff35d54 100644 --- a/sdk/identity/identity/src/msal/browserFlows/msalBrowserCommon.ts +++ b/sdk/identity/identity/src/msal/browserFlows/msalBrowserCommon.ts @@ -34,7 +34,6 @@ const isLocationDefined = typeof self !== "undefined" && self.location !== undef /** * Generates a MSAL configuration that generally works for browsers - * @internal */ function generateMsalBrowserConfiguration( options: MsalBrowserFlowOptions, diff --git a/sdk/identity/identity/src/msal/nodeFlows/msalClient.ts b/sdk/identity/identity/src/msal/nodeFlows/msalClient.ts index c836a235fccb..b277e8bdd0b8 100644 --- a/sdk/identity/identity/src/msal/nodeFlows/msalClient.ts +++ b/sdk/identity/identity/src/msal/nodeFlows/msalClient.ts @@ -315,8 +315,6 @@ export function generateMsalConfiguration( /** * Represents the state necessary for the MSAL (Microsoft Authentication Library) client to operate. * This includes the MSAL configuration, cached account information, Azure region, and a flag to disable automatic authentication. - * - * @internal */ interface MsalClientState { /** The configuration for the MSAL client. */ @@ -769,8 +767,6 @@ export function createMsalClient( /** * Creates a base interactive request configuration for MSAL interactive authentication. * This is shared between interactive and brokered authentication flows. - * - * @internal */ function createBaseInteractiveRequest( scopes: string[], diff --git a/sdk/identity/identity/src/msal/utils.ts b/sdk/identity/identity/src/msal/utils.ts index b3e12b05cce1..8afc96ff7b44 100644 --- a/sdk/identity/identity/src/msal/utils.ts +++ b/sdk/identity/identity/src/msal/utils.ts @@ -17,14 +17,10 @@ export interface ILoggerCallback { (level: msalCommon.LogLevel, message: string, containsPii: boolean): void; } -/** - * @internal - */ const logger = credentialLogger("IdentityUtils"); /** * Latest AuthenticationRecord version - * @internal */ const LatestAuthenticationRecordVersion = "1.0"; diff --git a/sdk/identity/identity/src/plugins/consumer.ts b/sdk/identity/identity/src/plugins/consumer.ts index eb599f9ad893..d29999b0d043 100644 --- a/sdk/identity/identity/src/plugins/consumer.ts +++ b/sdk/identity/identity/src/plugins/consumer.ts @@ -11,7 +11,6 @@ import { /** * The context passed to an Identity plugin. This contains objects that * plugins can use to set backend implementations. - * @internal */ const pluginContext: AzurePluginContext = { cachePluginControl: msalNodeFlowCacheControl,