Skip to content

Commit

Permalink
Expose AzureAuthenticationBase._credentialCacheId. (#4914)
Browse files Browse the repository at this point in the history
  • Loading branch information
iclanton committed Sep 7, 2024
1 parent bff8c3d commit c8a4bb5
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"changes": [
{
"packageName": "@microsoft/rush",
"comment": "Mark `AzureAuthenticationBase._credentialCacheId` as protected in `@rushstack/rush-azure-storage-build-cache-plugin`.",
"type": "none"
}
],
"packageName": "@microsoft/rush"
}
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ export abstract class AzureAuthenticationBase {
// (undocumented)
protected readonly _azureEnvironment: AzureEnvironmentName;
// (undocumented)
protected get _credentialCacheId(): string;
// (undocumented)
protected abstract readonly _credentialKindForLogging: string;
// (undocumented)
protected abstract readonly _credentialNameForCache: string;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ export abstract class AzureAuthenticationBase {
protected readonly _failoverOrder: Record<LoginFlowType, LoginFlowType | undefined>;

private __credentialCacheId: string | undefined;
private get _credentialCacheId(): string {
protected get _credentialCacheId(): string {
if (!this.__credentialCacheId) {
const cacheIdParts: string[] = [
this._credentialNameForCache,
Expand Down

0 comments on commit c8a4bb5

Please sign in to comment.