diff --git a/sdk/identity/identity/CHANGELOG.md b/sdk/identity/identity/CHANGELOG.md index 70d87a9187c..fc2d484736d 100644 --- a/sdk/identity/identity/CHANGELOG.md +++ b/sdk/identity/identity/CHANGELOG.md @@ -6,6 +6,7 @@ - Added support for the field `refreshAfterTimestamp` in `AccessToken` [#30402](https://github.com/Azure/azure-sdk-for-js/pull/30402) - Added support for providing an object ID to `ManagedIdentityCredential`. [#30771](https://github.com/Azure/azure-sdk-for-js/pull/30771) +- Added support for token cache persistence via the `CredentialTokenPersistence` options to the `ClientAssertionCredential`. [#31129](https://github.com/Azure/azure-sdk-for-js/pull/31129) ### Breaking Changes diff --git a/sdk/identity/identity/review/identity.api.md b/sdk/identity/identity/review/identity.api.md index 894fbf1c542..cf226378f80 100644 --- a/sdk/identity/identity/review/identity.api.md +++ b/sdk/identity/identity/review/identity.api.md @@ -177,7 +177,7 @@ export class ClientAssertionCredential implements TokenCredential { } // @public -export interface ClientAssertionCredentialOptions extends MultiTenantTokenCredentialOptions, AuthorityValidationOptions { +export interface ClientAssertionCredentialOptions extends MultiTenantTokenCredentialOptions, CredentialPersistenceOptions, AuthorityValidationOptions { } // @public diff --git a/sdk/identity/identity/src/credentials/clientAssertionCredentialOptions.ts b/sdk/identity/identity/src/credentials/clientAssertionCredentialOptions.ts index 3d10fbd02cb..949a10f2daf 100644 --- a/sdk/identity/identity/src/credentials/clientAssertionCredentialOptions.ts +++ b/sdk/identity/identity/src/credentials/clientAssertionCredentialOptions.ts @@ -2,6 +2,7 @@ // Licensed under the MIT License. import { AuthorityValidationOptions } from "./authorityValidationOptions"; +import { CredentialPersistenceOptions } from "./credentialPersistenceOptions"; import { MultiTenantTokenCredentialOptions } from "./multiTenantTokenCredentialOptions"; /** @@ -9,4 +10,5 @@ import { MultiTenantTokenCredentialOptions } from "./multiTenantTokenCredentialO */ export interface ClientAssertionCredentialOptions extends MultiTenantTokenCredentialOptions, + CredentialPersistenceOptions, AuthorityValidationOptions {}