Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions sdk/identity/identity-broker/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
3 changes: 0 additions & 3 deletions sdk/identity/identity-cache-persistence/src/platforms.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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!;
Expand Down Expand Up @@ -63,7 +62,6 @@ export type MsalPersistenceOptions = Omit<TokenCachePersistenceOptions, "enabled

/**
* A function that returns a persistent token cache instance.
* @internal
*/
type MsalPersistenceFactory = (options?: MsalPersistenceOptions) => Promise<Persistence>;

Expand All @@ -72,7 +70,6 @@ type MsalPersistenceFactory = (options?: MsalPersistenceOptions) => Promise<Pers
* - Darwin: '/Users/user/.IdentityService/<name>'
* - Windows 8+: 'C:\Users\user\AppData\Local\.IdentityService\<name>'
* - Linux: '/home/user/.IdentityService/<name>'
* @internal
*/
function getPersistencePath(name: string): string {
return path.join(defaultMsalValues.tokenCache.directory, name);
Expand Down
2 changes: 0 additions & 2 deletions sdk/identity/identity-vscode/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ interface VSCodeCredentialControl {
*
* Plugin authors are responsible for casting their plugin context values
* to this type.
*
* @internal
*/
interface AzurePluginContext {
vsCodeCredentialControl: VSCodeCredentialControl;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
4 changes: 0 additions & 4 deletions sdk/identity/identity/src/msal/nodeFlows/msalClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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. */
Expand Down Expand Up @@ -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[],
Expand Down
4 changes: 0 additions & 4 deletions sdk/identity/identity/src/msal/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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";

Expand Down
1 change: 0 additions & 1 deletion sdk/identity/identity/src/plugins/consumer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down